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

[Xen-users] Re: how to congure dom0 to 1G, and domU to 1G

To: lei yang <yanglei.fage@xxxxxxxxx>
Subject: [Xen-users] Re: how to congure dom0 to 1G, and domU to 1G
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Thu, 20 May 2010 09:04:20 +0300
Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 May 2010 23:05:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikBLt0eA66OgcHxdZDtQvKM_PI_VdG4ks3rvzIW@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: <AANLkTikBLt0eA66OgcHxdZDtQvKM_PI_VdG4ks3rvzIW@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, May 20, 2010 at 01:59:16PM +0800, lei yang wrote:
>    Hi Experts,
> 

I removed xen-devel from CC since this is a very basic question,
and not related to Xen development.

>    I want to configure dom0 to 1g and dom0 to 1g ?
> 
>    I know dom0_mem=1024M can do it for dom0, how about domU?
> 

Uhm.. for domU you specify:

memory = 1024

in the domU configuration file (/etc/xen/<guest>).

>    My machine has 8 cores
>    how to  specify xen to 4 cpus?
>

Xen is the *hypervisor*, so it has to use ALL the physical CPUs/cores,
to be able to schedule vcpus!!

>    how to specify dom0 4 cpus
>

dom0_max_vcpus=4 for xen.gz in grub.conf.

>    how to specify domU 5 cpus ?
> 

vcpus = 5

>    can we specify dom0 to 1 cpu, at same time domU to 6 cpu
> 

dom0_max_vcpus=1 dom0_vcpus_pin

in grub.conf for xen.gz.

>    can we specify nosmp to xen, and then specify dom0 cpu > 1?
> 

No.

See: http://wiki.xensource.com/xenwiki/XenBestPractices
and: http://wiki.xensource.com/xenwiki/XenCommonProblems

-- Pasi

> 
> 
>    Thanks
>    Lei
> 
>    --
>    "We learn from failure, not from success!"

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