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

git: hammer - Add simple I/O optimization, collect stats on new deduplications


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2011 19:45:36 -0700 (PDT)

commit 178820278fb09e3fd57312a9d6eda54040fda374
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Aug 3 19:41:22 2011 -0700

    hammer - Add simple I/O optimization, collect stats on new deduplications
    
    * Add a simple I/O optimization.  When dealing with CRC collisions scan
      the SHA sub-tree looking for the data_offset/data_len match, allowing
      us to avoid unnecessary I/O reads.
    
      This effects data which has already been de-duplicated, so it will improve
      dedup rescan times on the portion that has already been dedupped.
    
    * Collect statistics on NEW deduplications during the pass and print them
      out in the final stats as well as in the ^T stats.

Summary of changes:
 sbin/hammer/cmd_dedup.c |   81 ++++++++++++++++++++++++++++++++++-------------
 1 files changed, 59 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/178820278fb09e3fd57312a9d6eda54040fda374


-- 
DragonFly BSD source repository



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