Remix.run Logo
a_t48 7 hours ago

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 themselves.

loeg 6 hours ago | parent [-]

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).

edflsafoiewq 4 hours ago | parent | next [-]

I think those are CLI options, not negative signs. Ie. you call zstd -3 for compression level 3.

a_t48 5 hours ago | parent | prev [-]

Whoops! You're right, and it's too late to edit.