Kaie"s Blog 2.0 beta!
Back to "Top"

My Secret Notebook
 Show "Table of Contents"
Contact Me
Subscribe to my Posts feed
Subscribe to my Comments feed
My Flickr
Back to "Top"
My Secret Notebook
 Show "Table of Contents"
Contact Me
Subscribe to my Posts feed
Subscribe to my Comments feed
My Flickr

Monday, April 24, 2006

[Linux] Performance tuning UNIX systems

在[ Jserv's blog] 中,看到了這篇文章[ Performance tuning UNIX systems ],發覺我的小賤兔[Gentoo]已經許久沒有Tune一下Perfomance,趕快做個筆記。

大概看了一下,重點就是利用底下這個command,查看目前所有Tasks的Priority Value。

$ ps -eo pid,state,nice,args | less -S
然後根據User的使用傾向,把常用的command提升它的Priority,還有把沒在用的daemons關掉。例如:對Programmer來說,最常用的莫非是make, gcc …等指令,很有可能一run就是幾個小時,因此善用[nice、renice]指令來提升它的Priority值,效能應該會有實質上提升,像是apache2、ftpd等沒用的service理應停用之。