The first Free up space after a big first snapshot takes long on Unity games #92
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ethan-hann/SavePoint#92
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A first snapshot of 7 Days to Die (21.5 GB, 18089 files, Windows) took 4 minutes, and the routine Free up space that starts right after it (more than 5000 loose objects, D13.17) took much longer. Captures write loose objects without compression (D50); the routine repack then reads every one back, compresses it with zlib's default level and runs a delta search on it unless D16's
-deltalist names its type. That list covers archives, media and common game containers (pak, bsa, ba2, vpk, pck and so on) but no Unity formats, and 7 Days to Die is mostly Unity data: by size,.bundle13.97 GB (285 files),.wav1.89 GB,.raw0.95 GB,.tts0.72 GB,.mesh0.54 GB, plus.assets/.resSin other Unity games.Measure before changing anything, on a copy of the store (never the player's), with the time and the resulting store size for each: the current setup; Unity's already-compressed types (
bundle,assets,resS,resource,unity3dand the like; check which are really compressed) added to the-deltalist; and a lower compression level or no zlib for large objects in the routine repack. Judge the result on a mid-range PC as well as a fast one (the drive and core count matter), keep update rollback intact, and keep small saves and configs compressed. Record the numbers here and in the decisions (D16/D50), then ship the setting that wins.