Will the pincpu xm command be extended in 3.0 to support SMP domains? Currently, it pins a domain to a single CPU, but that doesn''t seem to be all that useful for SMP domains. Alan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Will the pincpu xm command be extended in 3.0 to support SMP > domains? Currently, it pins a domain to a single CPU, but > that doesn''t seem to be all that useful for SMP domains.I seem to recall it enables you to pin a domain''s individual VCPUs. No? Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Will the pincpu xm command be extended in 3.0 to support SMP > > domains? Currently, it pins a domain to a single CPU, but > > that doesn''t seem to be all that useful for SMP domains. > > I seem to recall it enables you to pin a domain''s individual VCPUs. No?IIRC we took a patch enabling a list of real CPUs to pin the VCPUs to. I think that specifying this list in the config file should work, although I don''t recall if the pincpu command was also converted (I think it might have been). Alan: can you try specifying a comma separated list, instead of one CPU? Does that work? Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@us.ibm.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users