DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Add vm.swapcache.maxscan

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Dec 2011 12:03:22 -0800 (PST)

commit 0bf8126181b006215fc295c8ba2700bb6c03b809
Author: Matthew Dillon <dillon@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

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


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]