-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
erofs-utils: mkfs: fix inefficient fragment deduplication
Currently, long fragment comparisons could cause suboptimal results, leading to final image sizes still larger than expected: _________________________________________________________________________ |______ Testset _____|_______ Vanilla _________|_________ After __________| Command Line | CoreOS [1] | 802107392 (765 MiB) | 687501312 (656 MiB) | -zlzma,6 -Eall-fragments,fragdedupe=inode -C131072 |____________________|__ 771715072 (736 MiB) __|__ 658485248 (628 MiB) __| -zlzma,6 -Eall-fragments,fragdedupe=inode -C1048576 | Fedora KIWI [2] |_ 2584076288 (2465 MiB) _|_ 2550837248 (2433 MiB) __| -zlzma,6 -Eall-fragments,fragdedupe=inode -C1048576 |____________________|_ 2843598848 (2712 MiB) _|_ 2810359808 (2681 MiB) __| (Fedora-KDE-Desktop-Live-Rawhide.0.x86_64.iso) Almost all images that use `-Eall-fragments` could benefit from this. [1] https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/41.20241215.3.0/x86_64/fedora-coreos-41.20241215.3.0-live.x86_64.iso [2] https://pagure.io/fedora-kiwi-descriptions.git Signed-off-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information
Showing
2 changed files
with
58 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters