-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
LoadImages in parallel #6992
Comments
This was added for the podman loader, since it ran out of memory loading all at once: 98a2a55 Then it got added also to the docker loader by mistake, when we introduced cruntime: 966b245 The docker daemon should take care of handling multiple loads at once, internally... But with podman, we need to keep an eye on the total load (mostly memory and i/o) |
It might be possible to do e.g. two at a time, so perhaps the mutex can be a made into a pool.
The docker load should probably still do all at once, but for podman this might improve things ? |
Thanks for the great investigattive history @afbjorklund We should totally make it parallel again for docker and not parallel for podman |
There were some awful bugs when loading multiple images from the same tarball (like in #6934) EDIT: in libpod, that was I hope those are fixed, or else we will end up having to disable preload as well (load from multiple) UPDATE: seems not |
Most likely this will change to making a flexible worker pool of image loaders, instead of a mutex. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
When preloading is not available we should load the images in parallel:
checking the time stamps it takes considerable amount of seconds.
The text was updated successfully, but these errors were encountered: