Podman with CPU limit vs. KVM #22038
Unanswered
jb-alvarado
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I did some tests with podman nginx container vs. a KVM VM with 2 threads. For testing I have two root servers and on one I run:
wrk -t12 -c400 -d30s http://...
On the other runs KVM and podman on debian 12 (podman version 4.3.1). Container is build with:
Then I only change the
--cpus
value.My results looks like:
VM 2 Cores
Container without limit
Container CPUS 2
Container CPUS 4
How come it looks like that KVM can better utilize the CPU and has also better latency? Do I miss something, or I understand the
--cpus
parameter wrong?Beta Was this translation helpful? Give feedback.
All reactions