Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2012 09:55:41 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Albert Shih <Albert.Shih@obspm.fr>
Cc:        freebsd-stable@freebsd.org, Oliver Pinter <oliver.pntr@gmail.com>
Subject:   Re: High load event idl.
Message-ID:  <4F9B946D.3030607@FreeBSD.org>
In-Reply-To: <20120427213459.GA61125@pcjas.obspm.fr>
References:  <20120427203013.GB60961@pcjas.obspm.fr> <CAPjTQNFsHZQLp8oMwhjkAWLnYZ5mPv9kr9=X5GhqHqExoHM0yw@mail.gmail.com> <20120427213459.GA61125@pcjas.obspm.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/28/12 00:34, Albert Shih wrote:
>   Le 27/04/2012 ? 22:45:40+0200, Oliver Pinter a écrit
>>> I'm running 9-stable on all my computer. (csup yesterday).
>>>
>>> On my desktop everything is fine. But I've two laptop, (both are Dell). On
>>> both latptop I've problem about the load, event when I do nothing I got a
>>> load between 0.5-1.
>>>
>>> Here the result of a «top» on the laptop :
>>>
>>> last pid:  2434;  load averages:  0.63,  0.67,  0.59 up 0+00:23:59
>>> 22:25:29
>>> 57 processes:  3 running, 54 sleeping
>>> CPU:  2.7% user,  0.0% nice,  3.7% system,  1.4% interrupt, 92.2% idle
>>> Mem: 89M Active, 92M Inact, 198M Wired, 13M Cache, 100M Buf, 3529M Free
>>> Swap: 4096M Total, 4096M Free
>>>
>>> Here on the desktop :
>>>
>>> last pid: 61010;  load averages:  0.00,  0.00,  0.00 up 2+11:02:42
>>> 22:29:08
>>> 126 processes: 1 running, 125 sleeping
>>> CPU:     % user,     % nice,     % system,     % interrupt,     % idle
>>> Mem: 803M Active, 2874M Inact, 1901M Wired, 112M Cache, 620M Buf, 202M Free
>>> Swap: 6144M Total, 36M Used, 6107M Free
>>>
>>
>> http://lists.freebsd.org/pipermail/freebsd-bugs/2012-April/048213.html
>
> What I understand of your message (I'm definitvly not a dev) is that's only
> a little problem of accounting.
>
> I'm not absolute sure of that because my laptop fan never stop...
>
> If you want any more information...

Definitely, because here I don't see much.

Generally, all CPU loads and load averages now calculated via sampling, 
so theoretically with spiky load numbers may vary for many reasons. I 
would start from collecting information about running processes. To find 
fast switching processes that could hide from accounting try `top -SH -m 
io -o vcsw`. To get more information about scheduler work, use 
/usr/src/tools/sched/schedgraph.py (instruction inside it).

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F9B946D.3030607>