DragonFly commits List (threaded) for 2006-05
cvs commit: src/sys/vm vm_pageout.c
dillon 2006/05/22 18:21:48 PDT
DragonFly src repository
The pageout daemon does not usually page out pages it considers active.
However, under certain types of heavy memory use it is possible to keep
nearly all of a machine's pages marked active. This can result in a
degenerate situation where the pageout demon pages out so few pages that
it might as well not be operating at all, resulting in a machine lockup.
Adjust the pageout daemon to dig into active pages based on its loop
counter. This counter will start to go up when the pageout daemon is not
able to keep up. The higher counter gets, the more active pages
become candidates for paging. We depend on fault-in rate limiting to
avoid thrashing to the point of inaccessibility.
Also-thanks-to: Peter Holms filesystem and load testing suite (stress2).
Revision Changes Path
1.22 +1 -1 src/sys/vm/vm_pageout.c