diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2018-11-29 19:28:01 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2018-11-29 19:28:01 +0000 |
commit | dead7b5e47d14f6560c5be40e673664ba20c670f (patch) | |
tree | d35261be8adc5986baf73412030722df77b9435a /README | |
parent | 7d2b0bd7d78a05f57adb96cc73a605d05938a037 (diff) | |
download | src-dead7b5e47d14f6560c5be40e673664ba20c670f.tar.gz src-dead7b5e47d14f6560c5be40e673664ba20c670f.zip |
Replace hand-crafted naive byte-by-byte zero block detection routine
with macro based around memcmp(). The latter is expected to be some
8 times faster on a modern 64-bit architectures.
In practice, throughput of doing conv=sparse from /dev/zero to /dev/null
went up some 5-fold here from 1.9GB/sec to 9.7GB/sec with this change
(bs=128k).
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=341257
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions