Subject: Re: unusual high loads in netbsd
To: None <netbsd-help@NetBSD.org>
From: fab <fab@gnux.info>
List: netbsd-help
Date: 01/12/2004 22:04:02
On Sun, Jan 11, 2004 at 10:34:52PM -0500, Timothy Vogelsang wrote:
> Hello,
> 
> Just installed NetBSD as a move (change) from FreeBSD, heard good things
> about hardware support and it appears to be a nice system.  However, I've
> noticed my load is insanely high, sitting around 0.36 Avg after navigating
> myself through the file system.  I've also noticed in TOP that no
> applications are running in the background that would contribute to such a
> thing, is this possibly at the core level of the system?  I havn't found any
> documentation online regarding this issue, I wonder if anyone else has
> bumped into it.
> 
> If you can provide any information, I'd be greatful!

I'm running netbsd on a "a bit weak" computer (266Mhz - 32RAM) and when
I just walk the directories etc... (connected via ssh) I get something
lie :
load averages: 0.09, 0.09, 0.08
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100%
idle

with nothing really running.

When I compile something in the pkgsrc tree I get this :

12:01AM  up  1:53, 2 users, load averages: 2.17, 1.82, 1.11
CPU states:  0.0% user,  0.0% nice,  2.5% system,  0.5% interrupt, 97.0%
idle
 6315 root      62    0  7896K   17M RUN        0:45  8.74%  8.74%
cc1plus

I think it's very low CPU usage, maybe because there is too many disk
accesses due to the lack of RAM. Do someone know a trick to compile
faster with little memory ? (it's an ultra-laptop and can't buy more)

NB: I'm using NetBSD-ZG

++ fab.