Archive for August, 2009

Javascript to convert Simplified and Traditional Chinese

Monday, August 31st, 2009

http://blog.markplace.net/marks_place/10/2006/10/27/150

download tw_cn.js

Mounting filesystem with noatime to improve performance

Sunday, August 30th, 2009

atime is to record the last access time of a file in a Linux Filesystem. In a busy system, this could be a heavy tax in a busy system. People reported 5% to 20% performance gain bbut your milage may varies.

To disable the record of the atime.

vi /etc/fstab
/dev/VolGroup00/LogVol04 /usr/local/mysql/var ext3 rw,noatime 1 2

Remount the filesystem to take effect of the update
mount -o remount /usr/local/mysql/var

Check the mount options
[root@mail01a ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
/dev/mapper/VolGroup00-LogVol05 on /home type ext3 (rw)
/dev/mapper/VolGroup00-LogVol03 on /usr type ext3 (rw)
/dev/mapper/VolGroup00-LogVol04 on /usr/local/mysql/var type ext3 (rw,noatime)
/dev/mapper/VolGroup00-LogVol02 on /var type ext3 (rw)