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

RE: [Xen-devel] Re: [PATCH] SMP dom0 boot fix

To: "Ky Srinivasan" <ksrinivasan@xxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [PATCH] SMP dom0 boot fix
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 29 Oct 2005 00:52:18 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ryan Harper <ryanh@xxxxxxxxxx>
Delivery-date: Fri, 28 Oct 2005 23:49:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXb5OR7SWNn8AfXQMe55GdAYL6Q5gANKOdQ
Thread-topic: [Xen-devel] Re: [PATCH] SMP dom0 boot fix
> Thanks Kier. With this fix applied, I am able to boot SMP 
> dom0. The box I am testing on is x86_64 machine with two 
> hardware threads. However, if I turn on SMT in the Linux 
> configuration, the kernel takes a fault in early startup (a 
> NULL pointer reference at find_busiest_group +144). It 
> appears that the sched domain hierarchy is not correctly set up  here.
> Looking at the new smpboot.c, is turning on SMT support no 
> longer valid?

I don't think we want particularly want to expose CPU sibling
relationships to guests, at least not ones that don't have all their
vcpu's pinned. I think a better approach would probably just to have the
guest scheduler favour low numbered VCPUs and leave Xen to do the maping
to logical CPUs. This would get us most of the benefit of SMT
scheduling, the only trick we'd be missing is the reduced migration
penalty for moving a process between logical CPUs sharing an L2 cache.
If we felt this was a big deal, we'd need some way of reflecting the
current relationship via shared info or such like.  Eitherway, no good
can come of enabling SMT in the guest right now, though we should fix
the crash.

Ian 

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

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