[CentOS] vmstat and loadavg disagree about system load

Thu Oct 9 05:01:08 UTC 2014
Mingfei Hua <mfhua at aerohive.com>

The man interpretation of vmstat running and blocked process:
   Procs
       r: The number of processes waiting for run time.
       b: The number of processes in uninterruptible sleep.
The blocked here is not process waiting user input, it should include process waiting IO and network. It should has same meaning with system load in loadavg which include running(runnable) process and process in status of uninterruptible sleep.

Regards,
Mingfei
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of John R Pierce
Sent: 2014年10月9日 12:24
To: centos at centos.org
Subject: Re: [CentOS] vmstat and loadavg disagree about system load

On 10/8/2014 9:00 PM, Mingfei Hua wrote:
> The first two number of vmstat is running process and blocked process, the sum of the two number should equal to system load. But it's inconsistent in this case.

linux load average counts processes that are doing disk IO or network IO as being 'ready'.  they aren't actually running, but neither are they waiting on user input ('blocked' per vmstat's version of reality).



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos