WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Q: CPU usage in Dom0

> > I think you can vcpu-pin VCPUs to logical processors if you want to do
> > the mapping manually (e.g. you want stricter performance partitioning
> > at the expense of not using as many available cycles on all CPUs as
> > possible).
>
> Do You know if pinning can be accomplished in boot time? I didn't see
> that in xmdomain.cfg(5).

Looking at the code (tools/python/xen/xm/create.py) I think the correct 
argument is a list of logical CPUs (i.e. cores, or hyperthreads if you have 
them) that the domain's vCPUs should run on, e.g.:

cpus = ['0', '1']

To run the vCPUs on logical processors 0 and 1.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>