git: hammer2 - Use faster iscsi crc algorithm

Matthew Dillon dillon at crater.dragonflybsd.org
Thu May 28 08:54:41 PDT 2015


commit 48b79043836b040ae3ac72246b8194a67ecf2706
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu May 28 08:50:22 2015 -0700

    hammer2 - Use faster iscsi crc algorithm
    
    * libdmsg and hammer2 now use the faster iscsi crc algorithm.  Improvements
      are as follows:
    
        PATH             ncp  data-use inode-use comp kaddr
        /mnt/src01         0    1.15GB     41845 comp=autozero:default check=crc32
        /mnt/src00         0    0.86GB     41845 comp=lz4:default check=crc32
        /mnt/src02         0    0.76GB     41845 comp=zlib:9 check=crc32
        /mnt/src03         0    1.15GB     41845 comp=autozero:default check=none
        /mnt/src04         0    0.86GB     41845 comp=lz4:default check=none
    
      With no CRC at all (autozero and lz4 decompression):
    
        /mnt/src03	0.484u  2.967s 0:37.46 9.1%     25+65k 134868+0io 16pf+0w
        /mnt/src04	0.468u  3.280s 0:28.99 12.9%    25+65k 125494+0io 0pf+0w
    
      OLD CRC (autozero, lz4, zlib decopmression)
    
        /mnt/src01	0.538u 11.114s 0:47.80 24.3%    26+69k 134886+0io 0pf+0w
        /mnt/src00	0.538u 11.153s 0:34.57 33.7%    25+67k 126146+0io 0pf+0w
        /mnt/src02	0.538u 12.785s 0:32.78 40.6%    26+69k 121814+0io 0pf+0w
    
      NEW CRC (autozero, lz4, zlib decompression)
    
        /mnt/src01  0.398u 4.670s 0:42.52 11.9%     25+66k 135020+0io 30pf+0w
        /mnt/src00  0.531u 5.225s 0:29.43 19.5%     26+69k 126122+0io 0pf+0w
        /mnt/src02  0.499u 6.520s 0:27.44 25.5%     27+71k 121326+0io 0pf+0w

Summary of changes:
 lib/libdmsg/icrc.c | 853 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 747 insertions(+), 106 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/48b79043836b040ae3ac72246b8194a67ecf2706


-- 
DragonFly BSD source repository



More information about the Commits mailing list