Jun 07, 2009
Load Average の判断基準
Load Average の判断基準について調べてみた。 結論から言うと、
- Load average は CPU 数(CPU コア数) で割って 1 を超えないことを目安とする。
- Load average の最大値は CPU 数(CPU コア数) + 1 を超えないことを目安とする。
- 但し、上記 1 & 2 はケース・バイ・ケースで柔軟な判断が必要。
- System Administration Toolkit: Monitoring a slow system
- http://www.ibm.com/developerworks/aix/library/au-satslowsys.html
In a multi-CPU (or multi-core) system, divide the load average by the number of CPUs. To determine if the machine is over stressed, use the same principles as above. An alternative way of looking at the figures is to treat them as a percentage; in other words, if the figures above were from a single-CPU system, then the machine would be able to cope with the load if it was 224 percent faster. Within a multi-CPU system, you should use the number of CPUs plus one to determine the maximum load. For example, a four-CPU system would have a maximum load average of 5.
- Examining Load Average
- http://www.linuxjournal.com/article/9001
The point of perfect utilization, meaning that the CPUs are always busy and, yet, no process ever waits for one, is the average matching the number of CPUs.If there are four CPUs on a machine and the reported one-minute load average is 4.00, the machine has been utilizing its processors perfectly for the last 60 seconds.
- naoya のはてなダイアリー - マルチコア時代のロードアベレージの見方
- http://d.hatena.ne.jp/naoya/20070518/1179492085
4CPU ならロードアベレージ 4.00 まで OK、は鵜呑みにしないほうがよさそう。状況によって異なるのでその他の指標も使って細かく統計を分析したほうがよい。 * nr_running > 1 のときはロードバランスが適切に働く。そのため 4CPU なら 4.00 で割れ、というのは負荷があるときはそれなりに正しい。
livedoor Knowledge の 「複数CPUで稼動するlinuxのload averageの目安に関する信頼できるソース」 が参考になった。多謝。
TrackBack ping me at
http://www.in-vitro.jp/blog/index.cgi/Misc/20090607_01.trackback
writeback message: Ready to post a comment.
