Measure pack.compression=0 on a game with large uncompressed assets #65

Closed
opened 2026-10-24 03:47:24 -05:00 by ethan-hann · 0 comments
Owner

D50 turned zlib off for packs after measuring one game (Cyberpunk 2077: 2.4% more disk, 3.8x faster first snapshot), whose large files are already-compressed archives. A game that ships large uncompressed files over 128 MiB (raw .wav banks, .dds textures, uncompressed .pak) would store them at full size. Measure first-snapshot time and store size with and without pack.compression=0 on one such game, and record the result in D50; if the disk cost is large, consider compressing per file type (for example through info/attributes) instead of everywhere.

D50 turned zlib off for packs after measuring one game (Cyberpunk 2077: 2.4% more disk, 3.8x faster first snapshot), whose large files are already-compressed archives. A game that ships large uncompressed files over 128 MiB (raw `.wav` banks, `.dds` textures, uncompressed `.pak`) would store them at full size. Measure first-snapshot time and store size with and without `pack.compression=0` on one such game, and record the result in D50; if the disk cost is large, consider compressing per file type (for example through `info/attributes`) instead of everywhere.
ethan-hann added this to the Later milestone 2026-10-24 03:47:24 -05:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#65
No description provided.