kernel - Performance improvements during heavy memory/IO use
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 11 Nov 2011 00:32:10 +0000 (16:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 11 Nov 2011 00:32:10 +0000 (16:32 -0800)
commit3038a8caa1068d2a58b982b5033ccd015d6c8a07
treefd450c9bb10e13bc2df7bd40600c75d61ac194e2
parente22b17d7f557c0e9481bc8962a5ac417e883e11a
kernel - Performance improvements during heavy memory/IO use

* Remove the vm.vm_load logic, it was breaking things worse and fixing
  things not so much.

* Fix a bug in the pageout algorithm that was causing the PQ_ACTIVE queue
  to drain excessively, messing up the LRU/activity algorithm.

* Rip out hammer_limit_running_io and instead just call waitrunningbufspace().

* Change the waitrunningbufspace() logic to add a bit of hyseresis and to
  fairly block everyone doing write I/O, otherwise some threads may be
  blocked while other threads are allowed to proceed while the buf_daemon
  is trying to flush stuff out.
sys/kern/kern_clock.c
sys/kern/vfs_bio.c
sys/sys/thread.h
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_flusher.c
sys/vfs/hammer/hammer_io.c
sys/vfs/hammer/hammer_vfsops.c
sys/vm/vm_extern.h
sys/vm/vm_fault.c
sys/vm/vm_pageout.c
sys/vm/vm_pageout.h