S
S
Sergey Pugovkin2020-08-09 16:32:07
linux
Sergey Pugovkin, 2020-08-09 16:32:07

How is QEMU different from a "real" processor and which is faster?

On VPS hosting, the new tariffs show QEMU instead of the "real" processor:

# cat /proc/cpuinfo
Tariff 1: Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz
Tariff 2: QEMU Virtual CPU version 2.5+

In both cases - KVM.
Why is the processor shown as QEMU in the second case? I found a mention in various sources that this is processor emulation and that it works much slower. This is true?
In other sources, QEMU and KVM are essentially the same thing. But then it's strange why in the first case I see the name of the real processor, and not "Virtual CPU"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Cheremisin, 2020-08-09
@Driver86

In kvm/libvirt, you can forward the processor in different ways, limiting its functionality or not. On performance, if it affects, it is usually not very strong. But it would always be good to clarify what exactly was thrown, using the processor flags in the same output for diagnostics. Well, no one canceled their own performance tests!

K
Karpion, 2020-08-09
@Karpion

QEMU can both programmatically emulate a processor (including a different architecture where this is done) and run programs on a real processor. Other virtual machine managers such as WMWare and VirtualBox are only the second option.
What the hoster understands by his own words - only he knows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question