![Rank: 9](static/image/common/star_level3.gif) ![Rank: 9](static/image/common/star_level3.gif) ![Rank: 9](static/image/common/star_level1.gif)
TA的每日心情![](source/plugin/dsu_paulsign/img/emot/kx.gif) | 开心 5 天前 |
---|
签到天数: 1556 天 [LV.Master]伴坛终老
|
提升IO的性能,除了硬件上的更换,软件也可以实现,但提升不了多少,而且只针对linux系统才有效果,因为默认的方式下linux会把文件访问的时间atime做记录,这在绝大部分的场合都是没有必要的,如果遇到机器IO负载高或是CPU WAIT高的情况,可以尝试使用noatime.
系统:centos 5.5
1.修改/etc/fstab
LABEL=/ / ext3 defaults 1 1
改成
LABEL=/ / ext3 defaults,noatime 1 1
2.remount分区
mount -o remount /
或者
mount -o noatime -o remount /
3.检查是否修改成功
mount
ok,成功了! |
|