git: kernel - Add vm.swapcache.maxscan

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 26 12:03:22 PST 2011


commit 0bf8126181b006215fc295c8ba2700bb6c03b809
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 26 12:01:49 2011 -0800

    kernel - Add vm.swapcache.maxscan
    
    * Add vm.swapcache.maxscan as a separate counter from vm.swapcache.maxlaunder.
    
    * Defaults to 4x maxlaunder.
    
    * Should hopefully fix another cpu hogging issue that was noticed on
      avalon when most VM pages wind up being cached in the swapcache
      but still get cycled in the PQ_INACTIVE VM page queue due to apache
      activity.

Summary of changes:
 sys/vm/vm_swapcache.c |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0bf8126181b006215fc295c8ba2700bb6c03b809


-- 
DragonFly BSD source repository





More information about the Commits mailing list