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

Re: [Xen-ia64-devel] problems with smp

To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] problems with smp
From: "David Brown" <dmlb2000@xxxxxxxxx>
Date: Thu, 8 Feb 2007 09:10:45 -0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Feb 2007 09:10:00 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LyiVsJhIu74NXw982/IPt4GCfPJ1bJC2r0MJbD2Mf/jj7vzk69ScZ+4wXXOPof4p8clKKE2OL9yNkDYb3L8SOxvpfsRMqw/4/47JY0Sajo95uwdFndX7gIWQgq6s25stU7rpqJTRfNiQgVFLoK0PKmeRAah+VddFsnNfEGvzfqk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <67C74B5C0666C9takebe_akio@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9c21eeae0702071310g6a8bc60nf69721e445f91604@xxxxxxxxxxxxxx> <1170883890.11374.1.camel@xxxxxxxxxxxxx> <9c21eeae0702071737j5cdc0508t6dd741acbc291e7a@xxxxxxxxxxxxxx> <9c21eeae0702072040g222e2e42qa1bcdf8e8531e197@xxxxxxxxxxxxxx> <67C74B5C0666C9takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Yes.
If you alloc two vcpus to dom0, you must add dom0_max_vcpus=2 to
command line of xen. If you don't add dom0_max_vcpus, xen alloc one
vcpu to dom0. This is default as you said the above.

e.g. my elilo.conf

image=vmlinuz-2.6.18-xen
        vmm=xen.gz
        label=xen
        initrd=initrd-2.6.18-xen.img
        read-only
        append="com2=115200,8n1 console=com2,vga dom0_mem=1G dom0_max_vcpus=2
sync_console -- rhgb root=LABEL=/ 3 console=tty0 console=ttyS1,115200,8n1"

Okay thanks, so this may seem like a dumb question but, if I have 8
other domUs running all with one vcpu is the xen kernel still going to
use the other cpus? and does `xm top` show the current cpu usage for
the system then (all xen cpus) regardless of how many cpus are on
dom0?

Thanks,
- David Brown

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