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] vcpus and the virtual machine manager

To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] vcpus and the virtual machine manager
From: Mike Sievers <saturngeist@xxxxxxxxxxxxxx>
Date: Fri, 26 Aug 2011 09:45:01 +0200
Cc:
Delivery-date: Fri, 26 Aug 2011 00:46:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fl7M034xiELv1V+iW1gFxzqN7u6ieVSTW5S32enBO4Y=; b=Elp+2gOW/5JHYonZN4EUpCuNwxA3jUuvTpAa1C6VntPaMNui4I6YxSe+28mjU55L2u lwz4d/X/oxwXJuv1SI2rS+Usedb/juBp6CM5PtsaYA+F77KWny72Z4+misaptsnCnwOs nXfoPsrr2JywIbIZABpQKuRJ79th5Tdcng6qo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAPbp-BmsZHweNK=Ky7aVKziZJJV=kCXE4HUW7t=S=Dj+3-3bOg@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CALBpTabaC=dSAwotT=8wkdvmMrpdOSK4NbRjbPVniiVPCMrJUg@xxxxxxxxxxxxxx> <CAPbp-BmsZHweNK=Ky7aVKziZJJV=kCXE4HUW7t=S=Dj+3-3bOg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Diego,

I wrote in my config: vcpus=4
and I thought that the domU has the performance of 4 cpus.

1nd)
xm vcpu-list | grep vm7
vm7                              35     0     5   -b-     235.8 1,3,5,7
vm7                              35     1     5   -b-     167.9 1,3,5,7
vm7                              35     2     7   -b-      88.1 1,3,5,7
vm7                              35     3     5   -b-      92.7 1,3,5,7

2nd)
with cpus="4-7"

xm vcpu-list | grep vm7
vm7                              36     0     4   -b-       8.6 4-7

More performance with the 2nd version?

Best,
Mike

2011/8/25 Diego Dave <diego.dave.s@xxxxxxxxx>
Hi Mike,

"vcpus" option set the virtual cpus, not the physical cpus to use.

If your server have 8 cpus, they are numbered from 0 to 7.

If you want to assign the last 4 physical cpus, you must add to the
DomU cfg file the option "cpus = '4-7'. Then you can see the assigning
using "xm vcpu-list" in command line.

Is very good practice to manage the cpu assigning, it increases the
performance of VMs, and avoid problems when sharing cpus, like
freezing because of I/O events.

Regards,

Diego

2011/8/25 Mike Sievers <saturngeist@xxxxxxxxxxxxxx>:
> Hi List,
>
> with vcpus=4 I can choose the number of cpus.
>
> My virtual machine manager GUI shows:
> Maximum allocation: 2
> Host CPUs: 8
>
> How do I increase the maximum allocations?
>
> Best,
> Mike
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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