-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Listing images takes much time #11997
Comments
@vrothberg ptal |
Can you try measuring the time of |
With commit 86afb94 the dangling checks have been changed to be compatible with Docker. Since then, the dangling also need to compute children. Speed up the dangling and intermediate checks by computing the layer tree *once* instead of for each filter invocation. **Before:** real 0m10.837s user 0m11.308s sys 0m4.231s **After:** real 0m0.476s user 0m0.478s sys 0m0.151s Context: github.com/containers/podman/issues/11997 Signed-off-by: Valentin Rothberg <[email protected]>
Here is a fix: containers/common#811 |
With commit 86afb94 the dangling checks have been changed to be compatible with Docker. Since then, the dangling also need to compute children. Speed up the dangling and intermediate checks by computing the layer tree *once* instead of for each filter invocation. **Before:** real 0m10.837s user 0m11.308s sys 0m4.231s **After:** real 0m0.476s user 0m0.478s sys 0m0.151s Context: github.com/containers/podman/issues/11997 Signed-off-by: Valentin Rothberg <[email protected]>
Closing, will be implicitly fixed with the next vendor of c/common. |
With commit 86afb94 the dangling checks have been changed to be compatible with Docker. Since then, the dangling also need to compute children. Speed up the dangling and intermediate checks by computing the layer tree *once* instead of for each filter invocation. **Before:** real 0m10.837s user 0m11.308s sys 0m4.231s **After:** real 0m0.476s user 0m0.478s sys 0m0.151s Context: github.com/containers/podman/issues/11997 Signed-off-by: Valentin Rothberg <[email protected]>
@mheon are you cool if I create a backport for this fix to v3.4? Users hit in F35 and since we don't ship 4.0 there, I'd like to give them something. |
Hm. Do we want to do a 3.4.5 for F35? I’m not opposed but it would have to
be hand selected backports.
…On Mon, Mar 7, 2022 at 11:27 Valentin Rothberg ***@***.***> wrote:
@mheon <https://github.com/mheon> are you cool if I create a backport for
this fix to v3.4? Users hit in F35 and since we don't ship 4.0 there, I'd
like to give them something.
—
Reply to this email directly, view it on GitHub
<#11997 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCG3H2RVIFDULE2G4ADU6YVAXANCNFSM5GDJXTEQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
yeah @mheon thats the general idea ... |
With commit 86afb94 the dangling checks have been changed to be compatible with Docker. Since then, the dangling also need to compute children. Speed up the dangling and intermediate checks by computing the layer tree *once* instead of for each filter invocation. **Before:** real 0m10.837s user 0m11.308s sys 0m4.231s **After:** real 0m0.476s user 0m0.478s sys 0m0.151s Context: github.com/containers/podman/issues/11997 Signed-off-by: Valentin Rothberg <[email protected]>
Backports for github.com/containers/issues/11997 to fix a performance regression when listing images. Signed-off-by: Valentin Rothberg <[email protected]>
/kind bug
Ubuntu 20.04.3 LTS
Since I upgraded podman upto 3.3.1-1 the comand 'sudo podman images' became taking too much time
Steps to reproduce the issue:
Install podman 3.3.1-1
RUn - time sudo podman images
Describe the results you expected:
be instant as 'docker images'
Output of
podman version
:Version: 3.3.1
API Version: 3.3.1
Go Version: go1.16.6
Built: Thu Jan 1 03:00:00 1970
OS/Arch: linux/amd64
Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
No. the guide does not have description for the problem
The text was updated successfully, but these errors were encountered: