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 04:01:45 +0000 (21:01 -0700)
commit1499c493dc0eb28f7cea4bc2a24e5a1e3a4b9e37
tree3180b57ccbd5334ae5cc9e237364fd5ab046764c
parent0ef48a499354b665e947b420e8637420ea28220f
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