NetBSD-Bugs archive

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

Re: kern/56516: pgdaemon spins despite lots of memory available



I got a tip to reduce kern.maxvnodes to about 1/10 of the current
value, and YES, this makes pgdaemon no longer hog the core:

jonsvatnet# sysctl -w kern.maxvnodes=12000
kern.maxvnodes: 110592 -> 12000
jonsvatnet# 

load averages:  0.05,  0.13,  0.50;               up 4+12:48:33      12:34:09
162 threads: 10 idle, 151 sleeping, 1 on CPU
CPU states:  0.2% user,  0.0% nice,  0.4% system,  0.1% interrupt, 99.3% idle
Memory: 151M Act, 76M Inact, 2084K Wired, 21M Exec, 115M File, 2468M Free
Swap: 2048M Total, 451M Used, 1598M Free

  PID   LID USERNAME PRI STATE       TIME   WCPU    CPU NAME      COMMAND
 3019  3019 he        85 poll/1     23:13  0.05%  0.05% -         X
    0   209 root     126 pgdaem/1  517:23  0.00%  0.00% pgdaemon  [system]
 1515  1515 haldaemo  85 poll/0      9:10  0.00%  0.00% -         hald

So ... this probably gives a lead to what's really causing this?

Regards,

- Havard


Home | Main Index | Thread Index | Old Index