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] present domU with 1 CPU with multiple cores

To: "Jonathan Salomon" <jonathan@xxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] present domU with 1 CPU with multiple cores
From: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Date: Tue, 23 Jun 2009 08:12:33 -0400
Cc:
Delivery-date: Tue, 23 Jun 2009 05:14:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <121AE2C107417149B1F75561B04D1B9D6CE5F1541D@xxxxxxxxxxxxxxxx>
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: <121AE2C107417149B1F75561B04D1B9D6CE5F1541D@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnz3MbiKr+s+D4iQ1GJnhrdYib6NwAHZWcg
Thread-topic: [Xen-users] present domU with 1 CPU with multiple cores
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jonathan
Salomon
> Sent: Tuesday, June 23, 2009 4:30 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] present domU with 1 CPU with multiple cores

> However to make sure that Dom0 will always respond even when
> the DomU instances have a high load, I want to keep CPU 0 available
> only for Dom0. Therefore in the DomU config files I'm using the
following
> CPU definition: cpus="1-3". Does it makes sense to do this?
> Or would Xen handle this better on its own?

I think it's a good idea.  If your domU load is CPU-intensive, dom0 may
not need to run often.  However that is often not the case, and each
domU may frequently need to perform either disk or network I/O.  Dom0
needs to be scheduled on an available CPU to complete that I/O, since it
hosts the driver backend.

> Also how do I see on which physical CPU a DomU instance is running?

Take a look at "xm vcpu-list".

-Jeff



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

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