Poor encrypted ZFS performance (only with repository packages)

HOLY CANOLE!

This entire time I’ve been using Linux kernel 5.15.28 (technically, 5.15.x series, since I prefer to stick with an “LTS” kernel train).

Guess what? I booted into kernel 5.16.14, re-did my tests, and lo’ and behold! I get the same high CPU usage and slow speeds! :scream:

It must be a regression with kernel 5.16.x (and possibly 5.17.x as well.)


Phrased in another way:

  • :white_check_mark: Linux kernel 5.15.28 + linux515-zfs (2.1.2-17) = faster speeds, lower CPU usage

  • :warning: Linux kernel 5.16.14 + linux516-zfs (2.1.2-19) = slower speeds, higher CPU usage


Which makes me wonder if compiling it from scratch (via zfs-dkms for the user’s specific kernel, every time) circumvents this regression?