Closed ribasushi closed 1 year ago
The zstd compressor used here has unfortunate defaults / might not be the best compressor. It produces significantly larger files:
~$ curl -LI https://snapshots.mainnet.filops.net/minimal/latest.zst content-length: 57102403792 content-disposition: attachment; filename="2382480_2022_11_30T04_00_00Z.car.zst"
vs the original zstd -T0 --long -15
zstd -T0 --long -15
~$ curl -LI https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car.zst Content-Length: 37840040354 x-amz-website-redirect-location: https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_2382481_2022-11-30_04-00-30.car.zst
cc @magik6k
@travisperson ping on this? Snapshots are still way larger than they could be.
We're using the maximum compression currently implemented in the zstd lib
The zstd compressor used here has unfortunate defaults / might not be the best compressor. It produces significantly larger files:
vs the original
zstd -T0 --long -15
cc @magik6k