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

git: kernel - Abort pageout operations when free memory recovers


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Mar 2013 22:10:10 -0800 (PST)

commit 1e1efe396657e3342a290f9a034b71e61ddee9e3
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Mar 1 22:07:51 2013 -0800

    kernel - Abort pageout operations when free memory recovers
    
    * Nominal pageout operations free memory.  On systems with large amounts
      of ram the pageout count can be very large and take a long time to
      clear.  During this period, other unrelated processes might free memory.
      But even when sufficient memory is freed the pageout daemon still tries
      to finish clearing its previously calculated number of pages.
    
    * Add a check in the deactivation scan to break out of the loop if
      a sufficient number of free pages is detected.
    
    * Fixes unnecessary extra paging out of data (which can go on for several
      minutes) on large systems when memory is freed by other means.

Summary of changes:
 sys/vm/vm_pageout.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e1efe396657e3342a290f9a034b71e61ddee9e3


-- 
DragonFly BSD source repository



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