kernel - Fix longstanding VM long-duration stall issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 30 Oct 2010 03:58:00 +0000 (20:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 30 Oct 2010 03:58:00 +0000 (20:58 -0700)
commit1bfac2629fc773dc7093d8aa319fe5a3c75cd7a1
tree1ef27895316aabd63413ca5fb65aa1ef2b01ddb4
parent0174149e77e61becc144cf8d5693f60656ac380e
kernel - Fix longstanding VM long-duration stall issues

* The pageout daemon was using the wrong wakeup metrics and essentially
  would not start cleaning out pages until after processes began to
  enter vmwait/vmrate or otherwise begin to stall due to low free memory.

* Fix the metric and also double-check every 5 seconds when the pagedaemon
  statistics wakeup occurs.

* vm.v_free_min + vm.v_cache_min may now be used to tune when the
  pagedaemon is woken up.
sys/vm/vm_pageout.c