Load
In UNIX computing, the system load is a measure of the amount of computational work that a computer system performs. 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.
요약
Load란 처리를 위해 기다리는 프로세스의 상태를 나타낸다. 즉 Load Average는 CPU가 작업(Task; Process) 처리를 대기하는 평균을 나타낸다.
- Load Average는 Active Task(TASK_RUNNING, TASK_UNINTERRUPTIBLE) 개수의 평균 값이다.
- R (Running) - CPU에서 수행이되고 있거나 실행가능한 상태를 말합니다.
- D (Uninterruptible Waiting) - I/O에 대해 대기하는 상태로 다른 어떤일도 할 수 없음을 의미 합니다.
- CPU 코어당 1을 기준으로, 1 이상이면 프로세스를 처리하는데 대기시간이 있다는 것이고 1 미만이면 여유롭게 처리하고 있다는 뜻.
확인 방법
- uptime
- e.g.
10:09:52 up 1:19, 3 users, load average: 0.82, 0.64, 0.57
- e.g.
cat /proc/loadavg
참고로 cpu core 전체 개수 확인은