git: tmpfs - Handle low memory situations a little better (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 26 22:56:17 PDT 2013


commit 6ff1f1620fde5b0fb7649f604e05eb90f0f59ff8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 26 18:41:19 2013 -0700

    tmpfs - Handle low memory situations a little better (2)
    
    * When handling pageout daemon requests we want to try to free pages
      directly to the VM page cache or the freeq and not necessarily cycle
      them through active or inactive.
    
      Shortcutting to the cache/free queues will allow the machine to
      unstick much more quickly which is particularly important on boxes
      with a lot of memory because the pageout hysteresis runs in such a
      large range.
    
    * Greatly improves monster's performance under extreme tmpfs write loads.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vnops.c | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ff1f1620fde5b0fb7649f604e05eb90f0f59ff8


-- 
DragonFly BSD source repository


More information about the Commits mailing list