ZTS: Replace MD5 and SHA256 wit XXH128 #16577
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For data integrity checks as done in ZTS, the verification for unintended data corruption with
xxhash128
should be a lot faster and perfectly usable.I removed the
sysutils/coreutils
dependency from FreeBSD and addedxxhash
everywhere.The binaries
md5
,md5sum
,sha256
andsha256sum
are also not needed anymore.How faster a whole functional testrun will be isn't known. But we can compare this runs of this PR with older ones.
Motivation and Context
Speedup ZTS a bit.
Description
How Has This Been Tested?
Timings for
2x zfs-tests.sh -vK -s 3GB -T rsend
are like this:Links:
It's not much, but it is just the
rsend
test, which uses checksums a lot.Types of changes
Checklist:
Signed-off-by
.