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/
Home Products Support Community News


RE: [Xen-ia64-devel] [PATCH]Enable xen0 smp when machine only has2 LPs

To: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH]Enable xen0 smp when machine only has2 LPs
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Tue, 20 Jun 2006 21:10:55 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Jun 2006 20:11:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <CA502B3E9EE27B4490C87C12E3C7C8510B250D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: OSLO R&D
References: <CA502B3E9EE27B4490C87C12E3C7C8510B250D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2006-06-21 at 10:04 +0800, Zhang, Xiantao wrote:
> Hi Alex,
>       I couldn't reproduce your troubles here with this change. Could you
> check with "xm vcpu-list" to see the time of vcpus?  I also found xenU
> state "-----", but I think it should be normal, because LPs were
> occupied by xen0 at that time. Only if time of vcpus is increasing,
> domU should be alive.

Hi Xiantao,

   The vcpu time on my domU was not increasing.  The watchdog oops in
the domU when kicking it with xenctx also indicates that domU was
getting no time.  FWIW, I saw this on a zx6000, madison system (2-way
box).  I was booting a UP dom0 w/ 2GB of memory, and a UP domU w/ 1GB of
memory.  DomU is configured with 1 vnif, and only booted to single user
mode.  I usually saw the domU hang within about 5 reboots.

> I am also confused that CONFIG_NR_CPUS was set to 16 in xenU's
> configuration file(linux-defconfig_xenU_ia64), Why not come across
> those troubles before?

   Nobody tests the -xenU kernel on a regular basis anymore.  I
typically only test the -xen kernel.

> Maybe we should come out a better solution for this issue. Anyway it
> is a must to set CONFIG_NR_CPUS to >4 for xen0 and XenU when LPs >4. 

   I agree, and I can't explain why such a seemingly simple change
triggered this problem.  Thanks,


Alex Williamson                             HP Open Source & Linux Org.

Xen-ia64-devel mailing list

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