cvs commit: src/sys/vfs/hammer hammer_btree.c hammer_freemap.c hammer_inode.c hammer_ondisk.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 12 22:05:03 PDT 2008


dillon      2008/05/12 22:04:39 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer_btree.c hammer_freemap.c 
                         hammer_inode.c hammer_ondisk.c 
  Log:
  HAMMER 43C/Many: Performance cleanup
  
  * Do not put an inode on the sync list when it becomes inactive, unless
    it no longer has filesystem visibility.  This greatly reduces the amount
    of cycling which occurs on the inode B-Tree element, and greatly reduces
    spurious backend flushes.
  
    This change results in a major performance improvement for both reads
    and writes in a massively parallel I/O test (blogbench).  Write
    performance more then doubles and read performance increases by 20%.
  
  * Lock the freemap free code.
  
  * Remove some of the debug code.
  
  Revision  Changes    Path
  1.47      +4 -3      src/sys/vfs/hammer/hammer_btree.c
  1.11      +4 -0      src/sys/vfs/hammer/hammer_freemap.c
  1.58      +10 -4     src/sys/vfs/hammer/hammer_inode.c
  1.43      +1 -0      src/sys/vfs/hammer/hammer_ondisk.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_btree.c.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_freemap.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.42&r2=1.43&f=u





More information about the Commits mailing list