[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] [Xen-devel] Query regarding Xen - Assigning more than 1 VCPUs to Dom0
Xen 4.0, Yes, it worked using xl commands. thanks a lot. Mohit
On 16 March 2012 21:17, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
On Thu, Mar 08, 2012 at 07:16:25PM +0530, Mohit Dhingra wrote:
> *Hi Xen-users,*
>
> I have a doubt regarding assigning VCPUs to Dom0 and DomUs, Please give me
> some pointers to sort them out.
>
> 1. I have assigned one VCPU to Dom0 ( by (dom0-cpus 1) in xend-config.sxp
> ), it works fine.
> cadlab:/srv/cloud/one # xm list
> Name ID Mem VCPUs State
> Time(s)
> Domain-0 0 3964 1 r-----
> 203993.1
> one-5 2 1024 1 -b----
> 10241.9
> one-6 4 1024 1 -b----
> 3970.8
> one-7 1 1024 1 -b----
> 4052.7
> one-8 3 1024 1 --p---
> 2246.7
>
> cadlab:/srv/cloud/one # xm vcpu-list
> Name ID VCPU CPU State Time(s) CPU
> Affinity
> Domain-0 0 0 6 r-- 203985.6 6
> Domain-0 0 1 - --p 1.7 7
> Domain-0 0 2 - --p 1.6 any cpu
> Domain-0 0 3 - --p 2.3 any cpu
> Domain-0 0 4 - --p 1.3 any cpu
> Domain-0 0 5 - --p 1.2 any cpu
> Domain-0 0 6 - --p 1.5 any cpu
> Domain-0 0 7 - --p 1.7 any cpu
> one-5 2 0 2 -b- 10241.9 2
> one-6 4 0 4 -b- 3970.8 4
> one-7 1 0 5 -b- 4052.7 5
> one-8 3 0 3 --- 2246.7 3
>
>
> But when I assign 2 VCPUs to Dom0, it gives me following error: ( by
> (dom0-cpus 2) in xend-config.sxp )
> cadlab:/srv/cloud/one # xm list
> Error: Unable to connect to xend: Connection refused. Is xend running?
What version of Xen? What version of Linux? Have you tried 'xl' instead?
>
> I want to pin Dom0 to 2 VCPUs. When I do that by providing (dom0-cpus 0 )
> and pinning 2 of the cores to 2 VCPUs ( by xm vcpu-pin), it doesn't seem to
> use the other core.
>
> Also, My system is Intel i7 950, which is quad core, but it shows 8 CPUs
> probably because of hyperthreading. How should I disable it?
>
> *
> ----------------------------
> Thanks & Regards
> Mohit Dhingra
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|