git: kernel - Improve pageout daemon for tmpfs write load

Matthew Dillon dillon at
Wed Jun 26 18:11:51 PDT 2013

commit 79ce07d03a630ba239ae2ed5d7c96f2f86b465de
Author: Matthew Dillon <dillon at>
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
    * 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(-)

DragonFly BSD source repository

More information about the Commits mailing list