Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884811 - sys-fs/btrfs-progs: Consider installing hash-speedtest
Summary: sys-fs/btrfs-progs: Consider installing hash-speedtest
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-08 05:22 UTC by kfm
Modified: 2022-12-08 06:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-sys-fs-btrfs-progs-Also-install-hash-speedtest.patch (0001-sys-fs-btrfs-progs-Also-install-hash-speedtest.patch,1.26 KB, patch)
2022-12-08 05:28 UTC, kfm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kfm 2022-12-08 05:22:29 UTC
Since Linux 5.5, three additional checksum algorithms have been supported by btrfs. These are XXHASH, SHA256 and BLAKE2b. The "all" make target does not cover the hash-speedtest utility. I think that it would be useful if the ebuild were to install it. In particular, XXHASH is an interesting alternative to CRC32C and I was mildly surprised to find that it outperforms CRC32C on my hardware.
Comment 1 kfm 2022-12-08 05:28:56 UTC
Created attachment 840903 [details, diff]
0001-sys-fs-btrfs-progs-Also-install-hash-speedtest.patch

I'm not sure that this is the best way of going about it but it worked for me.
Comment 2 kfm 2022-12-08 06:32:37 UTC
On second thoughts, I'm retracting this request. The hash-speedtest utility doesn't make use of the kernel crypto API, so one cannot necessarily assume that the benchmark results are indicative of the performance that can be expected.