e2fsprogs icon indicating copy to clipboard operation
e2fsprogs copied to clipboard

lib/ext2fs: port fast crc32c routines for Intel CPUs from kernel.

Open pdlan opened this issue 1 year ago • 1 comments

This PR ports kernel's fast implementation of crc32c to libext2fs. A simple benchmark by using fio to measure the write throughput of the fuse2fs FUSE driver on an ext4 partition (with 1M block size) shows that the throughput increases from 186 MiB/s to 278 MiB/s with my Micron SSD.

pdlan avatar Oct 02 '23 06:10 pdlan

This patch has significant portability problems. It appears to assume that certain header files like /usr/include/cpuid.h are always present. If you enable github actions, you'll see that your commit breaks quite a number of builds: https://github.com/tytso/e2fsprogs/actions/runs/8745541253

tytso avatar Apr 18 '24 22:04 tytso