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

git: kernel - Improve pageout daemon for tmpfs write load


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Jun 2013 18:11:51 -0700 (PDT)

commit 79ce07d03a630ba239ae2ed5d7c96f2f86b465de
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Jun 26 18:07:50 2013 -0700

    kernel - Improve pageout daemon for tmpfs write load
    
    * Rewrite vm_object_page_collect() and vm_pageout_clean() to align the
      set of pages being flushed to a swap cache stripe (~16-32 pages).
    
    * Do a better job tracking how many pages have been cleaned by the pageout
      daemon.
    
    * Setup an iterator and allow the inactive scan and the active scan to
      break out of their respective loops if they meet their quota early.
    
    * Disable the swap iterator for now, it has not been shown to improve
      matters (yet).

Summary of changes:
 sys/vm/swap_pager.c |   9 +++-
 sys/vm/vm_object.c  |  67 +++++++++++------------------
 sys/vm/vm_pageout.c | 122 ++++++++++++++++++++++++----------------------------
 3 files changed, 89 insertions(+), 109 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79ce07d03a630ba239ae2ed5d7c96f2f86b465de


-- 
DragonFly BSD source repository



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