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

git: HAMMER - Try to improve backend stalls due to heavy write activity.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Sep 2009 19:16:43 -0700 (PDT)

commit ccf6a64d267d3f8776eb51a2d7ae3da363a6d22e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Sep 10 19:05:00 2009 -0700

    HAMMER - Try to improve backend stalls due to heavy write activity.
    
    * Call hammer_inode_waitreclaims() instead of hammer_inode_waithard(),
      and disable hammer_inode_waithard().
    
      hammer_inode_waithard() waits for an entire flush cycle but can get
      called by fairly innocuous VNOPS, causing a large number of processes
      to stall for no good reason.
    
    * Change hammer_inode_waitreclaims() to wait for only one reclaim to occur
      before returning, instead of 2.

Summary of changes:
 sys/vfs/hammer/hammer_inode.c       |   46 ++++++++++++++++++----------------
 sys/vfs/hammer/hammer_transaction.c |    2 +-
 2 files changed, 25 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccf6a64d267d3f8776eb51a2d7ae3da363a6d22e


-- 
DragonFly BSD source repository



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