Bug 248401 - net/rsync: Enable xxh3 and xxh128 hashes
Summary: net/rsync: Enable xxh3 and xxh128 hashes
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rodrigo Osorio
Keywords: needs-patch, needs-qa, performance
Depends on:
Reported: 2020-08-01 00:16 UTC by dewayne
Modified: 2021-01-17 09:41 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (rodrigo)


Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2020-08-01 00:16:30 UTC
Now that xxh hashes with their significant speed advantage are available and documented for rsync, I successfully performed (on FreeBSD12.1 amd64 and x86)

# rsync -AXv --cc=xxh64 /tmp/file.txt /tmp/b2/ 

(Aside: for the reader, xxh64 is synonomous with xxhash)

# rsync -AXv --cc=xxh3 /tmp/file.txt /tmp/b2
unknown checksum name: xxh3
rsync error: requested action not supported (code 4) at checksum.c(86) [client=3.2.2]

# rsync -AXv --cc=xxh128 /tmp/file.txt /tmp/b2
performed similarly.

As ~20% of devices are still 32bit (so would benefit from xxh3), based on the performance improvement suggested by 
we look forward to this enhancement.  And as xxh64 functions, this PR should be a low priority.  If it wasn't documented in the man page, I think rsync functions as intended ;)