git: kernel - Fix longstanding VM long-duration stall issues (2)
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Oct 29 22:51:39 PDT 2010
commit cd3c66bd0938d6a60e0e83819db8e0f498943572
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Oct 29 22:46:29 2010 -0700
kernel - Fix longstanding VM long-duration stall issues (2)
* Refactor the pageout daemon's hysteresis, in particular the
free page queue had no real hysteressis and could cause excessive
pagedaemon wakeups.
Use a calculation that maintains a free page queue about half the
size of the minimum cache queue, giving us pretty good pipelining
when a system is under constant memory pressure.
* Add a sysctl for monitoring ppwakeups (wakeups of processes waiting
for memory).
Summary of changes:
sys/sys/vmmeter.h | 2 +-
sys/vm/vm_meter.c | 2 +
sys/vm/vm_page.c | 95 +++++++++++++++++++++++++++++++++++++-------------
sys/vm/vm_page2.h | 42 ++++++++++++-----------
sys/vm/vm_pageout.c | 42 ++++++++++++++--------
5 files changed, 122 insertions(+), 61 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cd3c66bd0938d6a60e0e83819db8e0f498943572
--
DragonFly BSD source repository
More information about the Commits
mailing list