vm vcpu uses isolated cores

Jiatong Shen yshxxsjt715 at gmail.com
Thu Sep 2 02:44:06 UTC 2021


Hello,

   I am trying to understand why qemu vm CPU threads uses isolated cpus.

  I have a host which isolates some cpus using isolcpu
like isolcpus=1,2,3,4,5,7,8,9,10,11. unfortunately, vcpupin does not mask
out these cpus (vcpupin is still something like ffffffff).
When I log in to the system, seems qemu cpu thread only runs on these
isolcpus. I do not quite understand this behavior, because I think by using
isolcpu, kernel schedule will exclude these cpus and thus vcpu thread
shouldn't use these cores unless taskset explicitly got called.. So my
question is how does cpu thread got scheduled on isolated cpus?

Thank you.

-- 

Best Regards,

Jiatong Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20210902/fe0c88c1/attachment.htm>


More information about the libvirt-users mailing list