Earlier quoted context omitted.
zstd has higher level modes. Default is -3. I saw a good tradeoff between compression speed and ratio up to -9 or so. From -20 to -22 it will use much more memory and IIRC can have downstream effects on decompression speed. I'm using -9 for my container registry and plan to recompress at a higher level for commonly accessed base layers, as well as give customers a button that lets them pay a bit more to do it themsel…
To be a little pedantic, the usual zstd levels are positive integers (1-22 default 3). The negative integers denote "fast" modes with worse compression (there are only a few of these).
Hellishly Slow Level 13 Deflate Compression
11–20 of 29 posts
Re: Hellishly Slow Level 13 Deflate Compression
#12Re: Hellishly Slow Level 13 Deflate Compression
#13Re: Hellishly Slow Level 13 Deflate Compression
#14Earlier quoted context omitted.
zstd has higher level modes. Default is -3. I saw a good tradeoff between compression speed and ratio up to -9 or so. From -20 to -22 it will use much more memory and IIRC can have downstream effects on decompression speed. I'm using -9 for my container registry and plan to recompress at a higher level for commonly accessed base layers, as well as give customers a button that lets them pay a bit more to do it themsel…
To be a little pedantic, the usual zstd levels are positive integers (1-22 default 3). The negative integers denote "fast" modes with worse compression (there are only a few of these).
Re: Hellishly Slow Level 13 Deflate Compression
#15I love it. So much in computers is trade offs and this was a fun read exploring it. It would be interesting to see some economics of what 8,000% increase in encoding time takes to make that money back in terms of storage or bandwidth. I also wonder how brotli/lzma would compare here. Are there some obscene modes on those that had similar results?
Re: Hellishly Slow Level 13 Deflate Compression
#16 "OpenZL delivers high compression ratios while preserving high speed, a level of performance that is out of reach for generic compressors. OpenZL takes a description of your data and builds from it a specialized compressor optimized for your specific format."Re: Hellishly Slow Level 13 Deflate Compression
#17OpenZL is the future: https://openzl.org/ "OpenZL delivers high compression ratios while preserving high speed, a level of performance that is out of reach for generic compressors. OpenZL takes a description of your data and builds from it a specialized compressor optimized for your specific format."
Re: Hellishly Slow Level 13 Deflate Compression
#18I love it. So much in computers is trade offs and this was a fun read exploring it. It would be interesting to see some economics of what 8,000% increase in encoding time takes to make that money back in terms of storage or bandwidth. I also wonder how brotli/lzma would compare here. Are there some obscene modes on those that had similar results?
Process-intensive, but higher compression has clear strategic value. Distant satellites such as Voyager, where bandwidth is severely limited, could transmit more data using such capabilities. Equally, for long-term archival storage, improved compression would allow far greater volumes of data to be preserved on durable, life-long media formats.
It's entirely possible the degradation of their RTG power sources would be more expensive doing the compression then just sending the data as is.
Re: Hellishly Slow Level 13 Deflate Compression
#19Earlier quoted context omitted.
Process-intensive, but higher compression has clear strategic value. Distant satellites such as Voyager, where bandwidth is severely limited, could transmit more data using such capabilities. Equally, for long-term archival storage, improved compression would allow far greater volumes of data to be preserved on durable, life-long media formats.
Distant space probes are power constrained though. It's entirely possible the degradation of their RTG power sources would be more expensive doing the compression then just sending the data as is.
Re: Hellishly Slow Level 13 Deflate Compression
#20So, what’s the effect on memory usage? And for decompression, the effect on memory usage and timings?
For decompression, nothing changes because DEFLATE is asymmetric; compressor can spend however much time to optimize the compressed stream independently from decompressor.