Re: vmstat and loadavg disagree about system load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of John R Pierce
Sent: 2014年10月9日 12:24
To: centos@xxxxxxxxxx
Subject: Re:  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux