git: kernel - Improve pageout daemon for tmpfs write load
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jun 26 18:11:51 PDT 2013
commit 79ce07d03a630ba239ae2ed5d7c96f2f86b465de
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list