The difference between CPU utilization and Load Average

Difference between CPU utilization and Load Average?
http://pclfs1983.iteye.com/blog/654927
Key Points:
CPU utilization is the statistics of CPU usage in a period of time. Through this indicator, we can see the situation that the CPU is occupied in a certain period of time. If the CPU is occupied for a high time, it is necessary to consider whether the CPU has been overloaded. Long-term overload operation is a kind of damage to the machine itself. Therefore, the CPU utilization must be controlled at a certain ratio to ensure normal operation of the machine.
Load Average is the load of the CPU. The information it contains is not the utilization rate of the CPU, but the statistics of the sum of the number of processes that the CPU is processing and waiting for the CPU to process in a period of time, that is, the statistics of the length of the CPU usage queue. information.

How are Load and CPU utilization calculated?
http://www.penglixun.com/tech/system/how_to_calc_load_cpu.html
Key Points:
1. %CPU is calculated by the sum of the CPU utilization of each core.
2. Load is related to the number of tasks executed. The
Linux system load refers to the average length of the run queue, that is, the average number of processes waiting for the CPU.
So "Load value = number of CPU cores", which is the most ideal state, without any competition, one task is assigned one core.
Since the data is checked every 5 seconds for the number of active processes, and then calculated based on this value. If this number is divided by the number of CPU cores, a result above 5 indicates that the system is overloaded.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326304533&siteId=291194637