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-devel

Re: [Xen-devel] Dedicated CPU/Guest

To: Guillaume Thouvenin <guillaume.thouvenin@xxxxxxxxxx>
Subject: Re: [Xen-devel] Dedicated CPU/Guest
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 27 Nov 2003 22:45:14 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Fri, 28 Nov 2003 09:12:12 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 27 Nov 2003 05:37:37 EST." <1069929457.3fc5d3f11ef03@xxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Is it possible to dedicate a CPU to one Guest OS.
> For exemple, suppose that I have 4 xenolinux and 2 CPUs. Can I set CPU0 to
> xenolinux0 and CPU1 to 3 others?

Currently, domains get statically assigned in a round-robin
fashion to CPUs. It makes sense to add a dom0_op to enable a
domain to be pinned to a specified CPU -- I'll knock up a patch
for this.

In the future, we intend to load balance (non pinned) domains
between CPUs, but this isn't very high on our todo list.

[BTW: If you can't wait for my patch, then you can 'hack' it by
creating tiny domains 2 and 4 that you never start. You'll end up
with 0 on CPU 0 and 1,3,5 on CPU 1. ]

Best,
Ian



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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