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

Thanks Ian. I agree with your analysis.

K. Y
 
>>> "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx> 10/28/05 7:52 pm >>> 
> 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>