Originally posted by cynic
View Post
Announcement
Collapse
No announcement yet.
Updated Zstd Implementation Merged For Linux 6.2
Collapse
X
-
Originally posted by piorunz View PostDoes Btrfs benefit from this also? Meaning filesystem compression uses that updated Zstd, or it has its own zstd built-in into Btrfs code?Last edited by cynic; 20 December 2022, 07:47 AM.
- Likes 2
Leave a comment:
-
Originally posted by ryao View Post
I wonder if in-tree filesystems will have problems because of this, since zstd’s constants was changed in 1.5.0 such that the output from the compressor is not the same as it was in older versions. At least in ZFS, it is assumed that compress(decompress(old_compress(data))) = old_compress(data). This makes updating zstd potentially problematic without treating it as a different version of the compressor internally, which is something that ZFS implemented alongside zstd support so that future updates could be done.
- Likes 3
Leave a comment:
-
Originally posted by Danny3 View Post
LOL!
Somebody has good observation skills!
But when you have only 119 GiB of storage and not a high-end CPU, your only hope is BTRFS + Zstd compression, but that must not slow down everything down, especially when extracting / compressing files or copy / move folders with lots of things inside.
And if you can install and play a few games that would be great!
But to be able to do all that, considering the storage and CPU limitations, at least you better have the latest and the greatest improvements in BTRFS and Zstd.
BTRFS keep getting them, but Zstd did not.
Now with Linux 6.2 I'm very happy that they both have.
Too bad that 6.1 is the LTS one as 6.2 seems to be really wonderful and the one that makes pretty much everyone happy!
That is not 100% accurate since it does not do padding like ZFS and btrfs do to round up to say the nearest 4KB sector, but it should still do a good job of showing the difference between the two in terms of space savings.Last edited by ryao; 20 December 2022, 01:53 AM.
- Likes 4
Leave a comment:
-
Originally posted by Danny3 View PostFinally!
I've been asking for this for almost a year.
But weren't the Zstd developers saying that they plan to release another Zstd version this month and then update the kernel to that?
It's a shame they didn't do that.
Like discussed here:
https://github.com/facebook/zstd/iss...ent-1267381027
- Likes 3
Leave a comment:
-
Does Btrfs benefit from this also? Meaning filesystem compression uses that updated Zstd, or it has its own zstd built-in into Btrfs code?
- Likes 5
Leave a comment:
-
This isnt just hand in hand with BTRFS improvements but also MGLRU. Zram and Zswap will be so much better than ever before in cases where Zstd is the compression algorithm used.
- Likes 12
Leave a comment:
-
Originally posted by milkylainen View Post
We know you have!
Somebody has good observation skills!
But when you have only 119 GiB of storage and not a high-end CPU, your only hope is BTRFS + Zstd compression, but that must not slow down everything down, especially when extracting / compressing files or copy / move folders with lots of things inside.
And if you can install and play a few games that would be great!
But to be able to do all that, considering the storage and CPU limitations, at least you better have the latest and the greatest improvements in BTRFS and Zstd.
BTRFS keep getting them, but Zstd did not.
Now with Linux 6.2 I'm very happy that they both have.
Too bad that 6.1 is the LTS one as 6.2 seems to be really wonderful and the one that makes pretty much everyone happy!
- Likes 2
Leave a comment:
-
Speed and compression improvements will be much appreciated!
It would be nice to get a phoronix test of those.
- Likes 6
Leave a comment:
-
thankfully t2 Linux is shipping that for ages already ;-) https://t2sde.org/packages/linux
- Likes 5
Leave a comment:
Leave a comment: