Possible to limit cores used by zfs compression?

Running U24.04. I’m experiencing audio glitching when my filesystem does syncs. I’m running a 9950X with 128GB RAM. When doing somewhat meager things like building a python venv, suddenly all the CPUs light up and it glitches all sound from Firefox. Compression is set to zstd.

I’ve looked through ZFS doesn't respect Linux kernel CPU isolation mechanisms · Issue #8908 · openzfs/zfs · GitHub and that does not appear to have any working advice. Is there anything else I should consider?

Zstd is a LOT heavier weight than it’s been marketed as, IME, IMO. I’d recommend trying lz4 instead.

2 Likes

I wouldn’t yet call zstd production-ready: