Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/image: use 256kb blocksize for squashfs images #2992

Merged
merged 1 commit into from
Oct 3, 2018

Commits on Sep 22, 2018

  1. scripts/image: use custom blocksizes for squashfs images

    Squashfs allows configuring a blocksize between 4KB and 1MB. The default is
    128KB. Increasing blocksize, in general, increases compression efficiency
    at a cost of increased access time. Using 256KB for a blocksize appears to be
    a sweet spot balancing the two for gzip and zstd. Blocksize 512KB appears
    right for lzo.
    
    Gzip decreases by ~700KB.
    Lzo decreases by ~1.25MB.
    Zstd decreaes by ~2.5MB.
    
    Signed-off-by: Ian Leonard <antonlacon@gmail.com>
    antonlacon committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    cd6287c View commit details
    Browse the repository at this point in the history