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] pin cpu 0 to dom0.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] pin cpu 0 to dom0.
From: "J. Roeleveld" <joost@xxxxxxxxxxxx>
Date: Fri, 4 Jun 2010 13:23:45 +0200
Delivery-date: Fri, 04 Jun 2010 04:25:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C1EAC9C5E752D24C968FF091D446D82360D3FE@ALTERNATEREALIT>
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: <AANLkTimj750o6z118GKV5plVy_S41HsZ2sp8YDrcHA-b@xxxxxxxxxxxxxx> <C1EAC9C5E752D24C968FF091D446D82360D3FE@ALTERNATEREALIT>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.30-gentoo-r5; KDE/4.3.5; x86_64; ; )
On Friday 04 June 2010 13:12:40 Robert Dunkley wrote:
> Hi,
> 
> First try setting the option in xend-config:
> vi /etc/xen/xend-config.sxp  -  set “(dom0-min-mem 0)” and set “(dom0-cpus
>  1)”

NOTE: Please ignore this advice.

The setting in the "xend-config.sxp" is ignored. (Tried it and it doesn't work)
Setting “(dom0-min-mem 0)” is not a good idea, this allows the dom0 to loose 
ALL memory.

> You might also need to fix the Dom0 Ram:
> dom0_mem=2048M (Put this in the kernel boot line)

Again, wrong place to set this.


The following options in "grub.conf" works on my system:
--
title Xen 3.4.2 - Linux 2.6.29-r4
root (hd0,0)
kernel /boot/xen.gz dom0_mem=768M console=vga dom0_max_vcpus=1 dom0_vcpus_pin
module (hd0,0)/linux-2.6.29-xen-r4 root=/dev/md3 netloop.nloopbacks=32
--

Pinning dom0 to a single VCPU needs to be done with the XEN-part, the kernel 
can not do this.

---
Joost Roeleveld

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