Faster time on image loading using systemd service? #25266
Unanswered
VintageDoggo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I've been working with Podman for only a bit, so sorry for anything I may have overlooked.
I currently have a working service that loads an image tarball into the registry and uses
podman compose
to start containers from the loaded images. There is a behaviour I've noticed during the load portion of the service and it's the time it takes to actually start loading the blobs/layers.To put into context, I have a persistent partition at which I have pointed the storage. This way, upon loading an image that already exists, the layers are not copied once again. Right as it starts loading the image, there is a consistent lapse of 6 to 8 seconds (as shown in the logs) in which I have no idea what is going on under the hood.
However, if execute the service a second time, the hang time is no longer there and the loading is completed within 3 seconds.
I have tried testing the performance by:
While this has overall improved the boot time, I cannot seem to decrease that period of time on image loading and I haven't been able to find out the culprit for this. I've tried enabling the debugging logs for
crun
, but I see no output when accesing the logs. Here is an extract of how I do the loading:If anyone has any hints as to what could be happening, I'd love to hear!
Beta Was this translation helpful? Give feedback.
All reactions