When I run a vm with a single virtual CPU inside KVM, is it possible that the vm can actually get more CPU cycles than one whole CPU can has, if there is no other vm running in the host? In another word, can the vm get more CPUs than it has? I does no CPU bandwidth limit for my vm.
Since the Linux scheduler (CFS) is work conserving, if i understand correctly, the scheduler shall always be busy if there is some work to do. In this case, some threads in my vm.
If indeed the vm can actually has more than one CPUs serving for it, how is its CPU utilization reported by vm? >100%, or simply 100%. How is the number of CPUs in the /proc/cpuinfo of the vm?
I think it is an interesting question, or maybe a stupid question. I plan to do some experiments if no answer arrives.
Thanks in advance. Zhen