-
Notifications
You must be signed in to change notification settings - Fork 61
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
Using driver in "docker" compatibility mode causes podman service to consume excessive CPU #144
Comments
@optiz0r thank you for your report. Nice that our driver performes well for you. To your question: i do not see any relationship between driver="docker" and this issue tracker. The docker driver is for docker and the podman driver is for podman. Of course you can try to "bridge" between docker driver and podman backend to use some docker-driver-only feature but this is something that we will not cover or test in this project. Are you missing some feature in podman driver? |
D'oh, yes of course this was the wrong place to report, sorry to have bothered you with it!
Yes I was using the compat shim because the podman driver does not yet handle volume mounts in the job spec (#142). |
I'm not sure if this is a problem with this driver or podman itself, but running a job which uses
task { driver = "docker" }
on a host withnomad-driver-podman
,podman
andpodman-docker
(compatibility shim which points/var/run/docker.sock
at podman), nomad jobs cause thepodman system service
process to consume excessive amounts of CPU. Taking the same job and switching the task driver fromdocker
topodman
makes the podman system service consume negligible cpu once more.In this example, nomad is running a single job with two tasks, and the system service is consuming a consistent 1.6 cores.
Taking the exact same job spec, and switching out the task driver (and replacing
mount
blocks withvolumes
) reduces the cpu load significantlyThis was the effect when I switched all nomad jobs running on a 6 core E5-1650 vmware server, hosting 4 Nomad VMs running docker jobs to the native podman driver!
This is running on:
The text was updated successfully, but these errors were encountered: