High load event idl.
mav at FreeBSD.org
Sat Apr 28 06:55:46 UTC 2012
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
>>> 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
>>> 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
> 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).
More information about the freebsd-stable