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] xen and smp

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen and smp
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 4 Aug 2005 00:48:33 +0100
Cc: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Delivery-date: Wed, 03 Aug 2005 23:48:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <36967cc9050803073241e6d28c@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <36967cc9050803073241e6d28c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
> I noticed that the xen has support for smp in the xen0 kernel. However
> once I boot up with it I can only see 1 cpu. I understand this to be
> that xen0 is a guest within xen, but what does this actully mean,
> where is xen in realtion to the xen0 kernel?

Xen lives under *everything* in the system.  It is responsible for sharing CPU 
and memory between *all* domains, including dom0.  Although dom0 controls IO 
devices and Xen's control interface, it's still Xen itself that sits at the 
lowest layer and manages sharing.

Xen 2.0.x:
* Domains (including dom0) can only run on one CPU.
* Xen can handle multiple CPUs, so by running multiple domains you can still 
use all your CPUs.

Xen 3.0:
* Domains can run on multiple CPUs.  This can be more or less than the number 
of real CPUs.
* Dom0 must boot initially on the number of CPUs in the machine, although I 
believe it can subsequentially relinquish them.
* Xen is SMP and responsible for the low-level time sharing of the real CPUs 
between virtual CPUs running on them.

Cheers,
Mark

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

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