Serverのチューニング
http://moinmo.in/HowTo/Tune%20Performance
moinmoinをできるだけ高速に走らせるためのチューニングを試す。
現在のシステムはUbuntu9.10にext4の500GBx2。
/はsda1に、/homeはsdb1にマウントされている。
まず、dir_indexが有効になっているかを確認。
sudo tune2fs -l /dev/sda1
has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
有効になっていることがわかる。sdb1も同じ。
atimeに関してはdefaultでrelatimeが有効になっているらしいが、
http://d.hatena.ne.jp/shiumachi/20080609/1213023569
sudo cat config-2.6.31-20-server
ではATIMEに関する項目を見つけられず、mountコマンドでも
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
となっていて、relatimeが有効なのかどうかわからず。
要確認。