can virsh set the cpuset attribute of <vcpu ..> (CPU Allocation) ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible to use virsh to set the cpuset attribute of the CPU 
Allocation element in a domain ?
<domain>
  ...
  <vcpu placement='static' cpuset="1-4,^3,6" current="1">2</vcpu>
  ...
</domain>


I have seen that virsh vcpupin and virsh emulatorpin can be used to query 
and set 
the cpusets of the <vcpupin> and <emulatorpin> children elements of 
<cputune> 
which override the cpuset of <vcpu>.

If i did not have to pin to different PCPUs,  I would execute just one 
command for the whole domain
rather than one command per VCPU + one per the emulator threads.

Thanks!
--------------------------------------------------
regards,
Edoardo Comar
WebSphere Application Service Platform for Networks (ASPN)
ecomar@xxxxxxxxxx
IBM UK Ltd, Hursley Park, SO21 2JN

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux