I have a dataset for my ebooks. They don't change and they're mostly text so I currently have compression set to zstd-7. I've looked at using zstd-19 but I'm concerned about the cpu usage when compressing.
I've noticed that when I move a bunch of ebooks from a different pool(or even a different dataset on the same pool) to my ebook dataset that the mv command will complete and yet the cpu on the Truenas will continue to be pegged for some time afterward.
Do I need to turn on sync in order for the compression to be taken into account when moving data into the dataset? Is there an easy way to do it just for the one command or session?
Additionally, is there a way to limit the cpu impact of the compression? I'm okay with the moves taking longer if I can use my cpu for other things in the meantime.
Thanks.
I've noticed that when I move a bunch of ebooks from a different pool(or even a different dataset on the same pool) to my ebook dataset that the mv command will complete and yet the cpu on the Truenas will continue to be pegged for some time afterward.
Do I need to turn on sync in order for the compression to be taken into account when moving data into the dataset? Is there an easy way to do it just for the one command or session?
Additionally, is there a way to limit the cpu impact of the compression? I'm okay with the moves taking longer if I can use my cpu for other things in the meantime.
Thanks.