NetBSD-Bugs archive

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

Re: port-hppa/56849: Wacko kernel memory accounting in current/hppa



Nick Hudson <nick.hudson%gmx.co.uk@localhost> writes:
>  Candidate fix...

I can confirm that with this patch installed, top and ps report a
reasonably stable kernel size, ranging from ~80M just after boot
to ~95M at peak load.  This is a bit more than I was expecting, but
it's probably fine given that I kicked some things up after hitting
ENFILE errors:

$ cat /etc/sysctl.conf
...
# tgl additions
kern.ipc.semmni=100
kern.ipc.semmns=1000
kern.maxvnodes=50000
kern.maxproc=1000
kern.maxfiles=5000


I poked around with some of the other monitoring tools mentioned in
the NetBSD Guide, and I noticed that "sysstat bufcache" is a tad
confused about metadata buffers:

                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   |||||||||||||||||||||||||||||||||||||||||||||||

     2144 metadata buffers using             98681168592896 kBytes of memory (19777529200%).
    55451 pages for cached file data using   221804 kBytes of memory (44%)


Home | Main Index | Thread Index | Old Index