What is the Linux CPU Load
The load average represents the average system load over a period of time. It conventionally appears in the form of three numbers which represent the system load during the last one-, five-, and fifteen-minute periods. https://en.wikipedia.org/wiki/Load_(computing)
按照网上看到的一种很形象的说法,假设我们的系统是单 CPU 单内核的,把它比喻成是一条单向马路,把任务比作汽车。
- 当车不多的时候,load <1;
- 当车占满整个马路的时候, load=1;
- 当马路都站满了,而且马路外还堆满了汽车的时候,load>1
搜索了几篇文字说明,已经很清楚了:
- Understanding Linux CPU Load - when should you be worried? http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
- 理解 Linux 的处理器负载均值(翻译) http://www.gracecode.com/posts/2973.html
- 理解 Linux 系统中的 load average(图文版)http://heipark.iteye.com/blog/1340384