Subject: Very slow machine, all meta bufs in use.
To: None <netbsd-help@NetBSD.org>
From: Wouter Schoot <wouter@schoot.org>
List: netbsd-help
Date: 03/12/2004 18:16:24
Hi folks,
I recently installed NetBSD 1.6.2 on my AMD Athlon 700, and gave it a
200GB Western Digital disc. After reboot, it runs for a moment, but when
I compile something (take KDE3 for example - any big package seems to
trigger this behaviour), it quickly fills up all metadata buffers:
There are 4935 metadata buffers using 19740 kBytes of memory.
There are 11984 pages for cached file data using 47936 kBytes of memory.
There are 3653 pages for executables using 14612 kBytes of memory.
File System Bufs used % kB in use % Bufsize kB % Util %
/ 2467 49 19694 99 19712 99 99
/var 3 0 17 0 20 0 85
Total: 2470 50 19711 99 19732 99 99
Top header gives:
load averages: 2.26, 1.54, 0.74
18:14:44
128 processes: 126 sleeping, 1 zombie, 1 on processor
CPU states: 1.5% user, 0.0% nice, 1.5% system, 0.5% interrupt, 96.5%
idle
Memory: 107M Act, 1012K Wired, 15M Exec, 46M File, 229M Free
Swap: 701M Total, 701M Free
So there's almost no activity on the cpu, while the load is high, and
discactivity seems low. I probably hit some buffer-limit, but I don't
know howto raise it. I noticed that the "4935 metadata buffers" always
have the same ammount, and never rises, changes.
Well, what happens may be obvious, compiling takes *ages*.
While KDE3 compiles, make extract in /usr/pkgsrc/mail/mutt takes over 30
minutes, however, the cpu time is only a few seconds.
Dmesg shows nothing unusual, nor does /var/log/messages, I use GENERIC
kernel that came with 1.6.2, it has 384 MB RAM.
I really want a solution for this, because this is getting very annoying.
Thanks in advance,
Wouter