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

podman extremely slow on raspberry pi 4 #1805

Closed
endlisnis opened this issue Jan 17, 2024 · 6 comments
Closed

podman extremely slow on raspberry pi 4 #1805

endlisnis opened this issue Jan 17, 2024 · 6 comments

Comments

@endlisnis
Copy link

When running podman on a raspberry pi 4 (running the most recent OS -- based on Debian 12). By default, it is EXTREMELY slow. Almost 10x slower than docker doing a similar task:

Details here: containers/podman#21111

The short version of that story was: The storage driver was not set, and thus it was defaulting to vfs; which is (apparently) 10x slower than overlay on a raspberry pi.

After I changed the storage driver to overlay, things got reasonably fast again. But, the question is, why is vfs the default? Even as a reasonably technical person, I initially concluded that podman just had terrible performance and I moved on with docker.

If the storage driver is not set, why not check to see if overlay is available, and if it's not, then fall back to vfs?

That would create a MUCH better user experience.

@rhatdan
Copy link
Member

rhatdan commented Jan 17, 2024

@nalind @giuseppe Why do we still default to vfs, can't we check if overlay is supported and then use it, if driver is not set, then fail over to VFS.

@giuseppe
Copy link
Member

I thought this was changed with #1618

If you were already using vfs, that continues to be used. You need to reset your storage with podman system reset

@endlisnis
Copy link
Author

Even on a fresh install of the OS (entire drive media re-written from ISO), I still saw vfs being used.

@giuseppe
Copy link
Member

what podman version?

@endlisnis
Copy link
Author

endlisnis commented Jan 19, 2024

$ podman --version
podman version 4.3.1

Even after a careful podman system reset (with no configuration), I see graphDriverName: vfs in podman info.

@giuseppe
Copy link
Member

4.3.1 doesn't have the fix, you need a newer version

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

3 participants