Hello,
pragmatic wrote:
You question is somewhat ambiguous with respect to exactly what you are trying to ask. To me it would seem that 10% CPU is the nominal usage for that OS running in QEMU. In other words, it is taking 10% of our CPU resources just to keep the Ubuntu instance running, perhaps even at idle as you say. Then you cause traffic to route to the VM thereby demanding more CPU resources and the 10% base will increase as necessary.
You are right, let me rephrase. I am interested to know how the Ubuntu guest is able to keep the CPU at 10%.
Korona wrote:
Your benchmark cannot properly distinguish CPU usage caused by the guest (i.e. the guest kernel and daemons running inside the guest) and QEMU (e.g. time keeping IRQs, VMENTER/VMEXIT costs, QEMU own event loop and so on).
In my benchmark, I am interested to consider both: the guest and QEMU.
Thanks for your answers, Matias.