Announcement
Collapse
No announcement yet.
Ubuntu 21.10 Compressing Debian Packages With Zstd
Collapse
X
-
haha, I decompress the zstd archive just to compress it again with btrfs. If only I could skip decompression
-
Originally posted by uid313 View PostThe drawback of this is that while Zstd decompresses faster, it also compresses less so the files do get bigger.
I wonder what compression algorithm Apple and Microsoft use for their OS updates.
- Likes 8
Leave a comment:
-
Originally posted by jacob View PostAre there any benchmarks for this? Intuitively I would have thought that decompression times would be insignificant compared to download times (and the actual disk writes) and a slower but higher ratio compressor would thus lead to better performance overall?
Recompressing all packages to zstd with our options yields a total ~0.8% increase in package size on all of our packages combined, but the decompression time for all packages saw a ~1300% speedup.
- Likes 2
Leave a comment:
-
The drawback of this is that while Zstd decompresses faster, it also compresses less so the files do get bigger.
I wonder what compression algorithm Apple and Microsoft use for their OS updates.
Leave a comment:
-
Originally posted by jacob View PostAre there any benchmarks for this? Intuitively I would have thought that decompression times would be insignificant compared to download times (and the actual disk writes) and a slower but higher ratio compressor would thus lead to better performance overall?
So no, decompression takes up alot of time. At the expense of using more memory you could mitigate that.
Leave a comment:
-
Originally posted by yoshi314 View Postthere are quite a few people who really hate zstd because company behind its implementation. same as people who shun selinux for the very same reason.
What I really like about zstd is that it finally transitions the Linux stack to use a modern/easy API rather than the old convoluted mess that is zlib.
Zstandard API is designed with learning curve in mind. At the top, you'll find simple methods, using trivial arguments and behavior. Then, at each new paragraph, the API introduces new concepts and parameters, giving gradually more control for advanced usages. [1]
[1] https://facebook.github.io/zstd/
- Likes 3
Leave a comment:
-
Originally posted by jacob View PostAre there any benchmarks for this? Intuitively I would have thought that decompression times would be insignificant compared to download times (and the actual disk writes) and a slower but higher ratio compressor would thus lead to better performance overall?
Leave a comment:
-
there are quite a few people who really hate zstd because company behind its implementation. same as people who shun selinux for the very same reason.
Leave a comment:
Leave a comment: