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



The following reply was made to PR kern/56516; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56516: pgdaemon spins despite lots of memory available
Date: Sun, 21 Nov 2021 19:45:51 +0000

 Not sent to gnats.
 
 From: Havard Eidnes <he%NetBSD.org@localhost>
 To: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
 Subject: Re: kern/56516: pgdaemon spins despite lots of memory available
 Date: Sun, 21 Nov 2021 12:39:30 +0100 (CET)
 
 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