分类: LINUX
2012-03-31 16:55:55
Elements of Monitoring and Tuning
1. disable the log file in /etc/syslog.conf . such as message.
2. disable reverse name lookups
3. set loglevel to warn for most deamons.
4. disable /etc/cron.daily/makewhatis.cron
5. disable /etc/cron.daily/mlocate.cron
6. neverdisable /etc/cron.daily/prelink
7. chkconfig below deamons off:
PC Smart Card Deamon Bluetooth hidd avahi
8. Skill: #sysctl –a >> /etc/sysctl.conf (Then you can find all of the parameter,when repeated , the last can be valid.
9. Using system documentation ( install the package kernel-doc path:/usr/share/doc/kernel-doc*/Documentation
#cd /usr/share/doc/kernel-doc*/Documentation
#grep –ir cfq * (find about the cfq tuning on Doc)