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

[OSPP 2024] optimize image by blob compact #1590

Open
imeoer opened this issue Jun 18, 2024 · 0 comments
Open

[OSPP 2024] optimize image by blob compact #1590

imeoer opened this issue Jun 18, 2024 · 0 comments

Comments

@imeoer
Copy link
Collaborator

imeoer commented Jun 18, 2024

Nydus can optimize the image size by using chunk dict deduplication, but this can result in small blobs, and poorly written Dockerfile can also result in a lot of small blobs, this affects the I/O read amplification, I/O merge, and data prefetch performance during the image runtime.

Possible implementation steps:

  • implement nydusify optimize --policy compact-blob --config opt1=val1,opt2=val2 --target $existed-nydus-image --output $new-nydus-image to generate a new image, and compact the blobs referenced by the nydus image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant