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] SMP enabled Dom0 or not?

To: "'Fajar A. Nugraha'" <fajar@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] SMP enabled Dom0 or not?
From: "Venefax" <venefax@xxxxxxxxx>
Date: Fri, 20 Jun 2008 13:21:43 -0400
Delivery-date: Fri, 20 Jun 2008 10:22:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=QbQy3XRZopfiFd46yVootQB9klVS6G4ZNvWw5DvR1jE=; b=nn0isccZ8EWJxBzUUEd6E0uX8UuhK786/2wgAFBP1HmCdd/2zm4o0xpbUqujwUlyVU 9oXKu3nlA8LGjBvMCc/9JfCaj5gZnzFOYMtRDS/XsiiV5maVuvxdKYh9sX6EEj9Nhbuh 2rtY8ATVWHVZ5DyKT6yYkjaWHI9yeX5/2cHjI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=Sf2oKjO+IfaTQG1vFYTB5q+SoB90GUsVq3/vPgxsvTKzXhD6aoJzBCt7GtX9YrapCx XMRQxHcNCleRASqC75EKR8VFhxxKBNkGKYlD5hm5RBwltGx/E3GlRcT45NbVy6xKmLph KiJ3WdMEb65N2QDeV+A4i6qqfmWuGmEEUDgLE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <485B0108.7010909@xxxxxxxxx>
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: <485453E7.5030605@xxxxxxxxx> <200806182306.45145.mark.williamson@xxxxxxxxxxxx> <00a701c8d192$51274e60$f375eb20$@com> <200806191457.10515.mark.williamson@xxxxxxxxxxxx> <01da01c8d223$482bd6a0$d88383e0$@com> <485B0108.7010909@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjScQb2IHY8ttt+SjqsGIQFompkDAAiK0hg
The instructions have a small problem: I use SUSE and there is no
/etc/rc.local. ¿any idea?
Also, I changed the configuration files for the DomUs, but is there any way
to force them to reread the configuration without restarting them? How about
changing the dom0?
It is very hard for me to reboot the box.


-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fajar A. Nugraha
Sent: Thursday, June 19, 2008 9:00 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] SMP enabled Dom0 or not?

Venefax wrote:
> Dear Mark
> The million dollar question: how? Where is the documentation that can 
> help me do that? I mean, tie-up one core Dom0 and simultaneously 
> remove that core from the other DumUs
>
>
>   

There is no way to do it simultaneously that I know of.
Here's what I did.
- make sure you disabled hyperthreading (if using Intel) from BIOS.
  hyperthread is not an actual independent core
- in /etc/xen/xend-config.sxp : (dom0-cpus 1)
  this will limit domain0 to use only one cpu
- in /etc/rc.local : xm vcpu-pin 0 0 0
  this will make sure dom0's cpu is on physical cpu 0 (feel free to change
it to whatever you want). I think "xm vcpu-pin" is broken on RHEL 5.2's Xen
though, so if you use RHEL 5.2 you might want to upgrade manually to xen
3.2.
- in every domU's config file : cpus = "^0"
  this will prevent domU from using cpu 0.
- reboot the server
  If you can't reboot the server, you have to rearrange dom0 and domU's cpu
manually using "xm vcpu-set" and "xm vcpu-pin"

Regards,

Fajar




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