March 4, 20242 yr Started experimenting with ZFS on a raid0 cache pool. Couple of questions: Is it worth turning on compression? Pool is used for appdata / system + downloads (that eventually get moved). If so, do I need to move appdata / system out, turn on compression, then back in? Datasets and snapshots. I'm using docker folder instead of image as I read that's recommended nowadays compared to img due to risks of corruption etc. I've noticed a shiteton of snapshots, 117 to be exact and 99% are from cache/system. Meaning it's definitely the docker folder. Is this something to worry about or just expected behavior? Auto-Trim is set to enabled. Do I still need to schedule it in scheduler? thanks!
March 4, 20242 yr Community Expert 42 minutes ago, Sptz87 said: Is it worth turning on compression? Depends on if the data is mostly compressible, but the default compression level doesn't usually affect performance, so it should never hurt, though compression will only work for new writes. 43 minutes ago, Sptz87 said: Is this something to worry about or just expected behavior? It's expected with zfs, you can use a docker image instead if you prefer to avoid that. 44 minutes ago, Sptz87 said: Do I still need to schedule it in scheduler? I would still schedule one to run daily or weekly, auto trim sometimes does not trim everything that it could.
March 4, 20242 yr Author 6 minutes ago, JorgeB said: Depends on if the data is mostly compressible, but the default compression level doesn't usually affect performance, so it should never hurt, though compression will only work for new writes. It's expected with zfs, you can use a docker image instead if you prefer to avoid that. I would still schedule one to run daily or weekly, auto trim sometimes does not trim everything that it could. Thanks for the prompt reply. So moving the data out, turn it on, the move it back in should be enough for compression to take that into account correct? Also, since it's mainly appdata / docker folder does that fall within the threshold of being "compressible"? I'm going to enable it regardless since, as you've said, shouldn't hurt.
March 4, 20242 yr Community Expert 15 minutes ago, Sptz87 said: So moving the data out, turn it on, the move it back in should be enough for compression to take that into account correct? Correct. 15 minutes ago, Sptz87 said: Also, since it's mainly appdata / docker folder does that fall within the threshold of being "compressible"? It should.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.