ornias
Wizard
- Joined
- Mar 6, 2020
- Messages
- 1,458
Which module did you reload actually, the ZFS or QAT one? I expect ZFS?Yes that's correct. The only issue is I could not get QAT acceleration to work on the root ZFS device since the ZFS modules load before the QAT module is loaded. But I re-load the module after booting and everything works as expected.
There is an easier option, thats less risky:
Create a cron with this:
Code:
echo 0 > /sys/module/zfs/parameters/zfs_qat_compress_disable echo 0 > /sys/module/zfs/parameters/zfs_qat_encrypt_disable echo 0 > /sys/module/zfs/parameters/zfs_qat_checksum_disable
I looked into the UX side of things:
- We do not need any UI changes for QAT support
Technically if at least the ZFS module is build with QAT support, we can quite easily just maintain a community script to add QAT drivers/libs and add above code into a cronjob.
*edit*
That being said, it looks like QAT compression can be considered unstable or legacy, as the new drivers doesn't even support it at release:
GitHub - intel/qatlib
Contribute to intel/qatlib development by creating an account on GitHub.
It gets worse, it seems Intel (in all their wisdom(tm) ) has decided the new QAT lib is not going to be backwardscompatible. Which basically would mean it isn't very mergeable to be honest.
Last edited: