Repository navigation
perf: default local-copy --checksum to XXH3/128 matching upstream rsync 3.4.1 (CSM-8) - #5128
Merged
Merged
Conversation
Upstream rsync 3.4.1 uses XXH128 for --checksum mode, which is 10-30x faster than MD5. Our local-copy path was defaulting to MD5, causing a 2-3x performance gap in checksum mode benchmarks. Change the default SignatureAlgorithm from Md5 to Xxh3_128 in both the builder and the type defaults to match upstream behavior.
This was referenced May 31, 2026
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
#5128) Upstream rsync 3.4.1 uses XXH128 for --checksum mode, which is 10-30x faster than MD5. Our local-copy path was defaulting to MD5, causing a 2-3x performance gap in checksum mode benchmarks. Change the default SignatureAlgorithm from Md5 to Xxh3_128 in both the builder and the type defaults to match upstream behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
--checksummode from MD5 to XXH3/128, matching upstream rsync 3.4.1 behaviorTest plan
checksum_algorithm_round_triptest verifies new default isXxh3_128 { seed: 0 }checksum_algorithm_behaviortests continue to pass (they explicitly set algorithms)files_checksum_match_respects_algorithm_selectioncovers all algorithms including MD5