|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] pincpu in 3.0
pincpu for multiple vcpu domains is present.
root@bebop:~ # xm help pincpu
pincpu DOM VCPU CPUS
Set which cpus VCPU in domain DOM can use.
You can only specify one VCPU at a time, but the CPUS value can either
be a single CPU, or it can be a range:
xm pincpu 4 2 0-2,7,9-12
The CPU range is converted into a bitmap which indicates which physical
cpus a VCPU can run upon. The current implementation only picks the
first CPU in the list and pins the VCPU there. Some more examples below:
root@bebop:~ # xm list -v 4
Name Id VCPU CPU CPUMAP
debian_sarge_3 4 0 1 0xf
debian_sarge_3 4 1 0 0xf
debian_sarge_3 4 2 1 0xf
debian_sarge_3 4 3 0 0xf
root@bebop:~ # xm pincpu 4 2 0
root@bebop:~ # xm list 4
Name Id Mem(MB) CPU VCPU(s) State Time(s) Console
debian_sarge_3 4 128 1 4 -b--- 9.8 9604
root@bebop:~ # xm list -v 4
Name Id VCPU CPU CPUMAP
debian_sarge_3 4 0 1 0xf
debian_sarge_3 4 1 0 0xf
debian_sarge_3 4 2 0 0x1
debian_sarge_3 4 3 0 0xf
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@xxxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|