Skip to content

Zstd flat always delta encode#2478

Merged
cary-ilm merged 1 commit into
AcademySoftwareFoundation:zstd-betafrom
vlazar-ilm:zstd-flat-always-delta
Jun 18, 2026
Merged

Zstd flat always delta encode#2478
cary-ilm merged 1 commit into
AcademySoftwareFoundation:zstd-betafrom
vlazar-ilm:zstd-flat-always-delta

Conversation

@vlazar-ilm

@vlazar-ilm vlazar-ilm commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Enable delta encoding for flat images.

Without delta encode:
Zstd vs Zips:
Size : 1.069
Write: 0.518
Read : 1.002

With delta encode:
New Zstd vs Zips:
Size : 0.962
Write: 0.631
Read : 1.002

Seems ZIPS always delta encodes flat images. This helps more flat than deep. I still did encounter images where delta did not help, but over the 7000 test images, it helps by about 9% ( goes from being 6% worse than ZIPS to 3% better than zips).

Compression speed suffers slightly.

Signed-off-by: Vlad Lazar <vlazar@ilm.com>
(cherry picked from commit 3223e18)
@vlazar-ilm vlazar-ilm force-pushed the zstd-flat-always-delta branch from f7e4635 to 37847a7 Compare June 16, 2026 19:13

@cary-ilm cary-ilm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cary-ilm cary-ilm merged commit 0576f68 into AcademySoftwareFoundation:zstd-beta Jun 18, 2026
82 of 83 checks passed
@cary-ilm cary-ilm added the v3.5 label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants