From: "Ky Srinivasan" <ksrinivasan@novell.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>,
Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Ryan Harper <ryanh@us.ibm.com>
Subject: RE: Re: [PATCH] SMP dom0 boot fix
Date: Mon, 31 Oct 2005 11:32:11 -0700 [thread overview]
Message-ID: <43661CD8.E57C.0030.0@novell.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D32E664@liverpoolst.ad.cl.cam.ac.uk>
Thanks Ian. I agree with your analysis.
K. Y
>>> "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> 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
next prev parent reply other threads:[~2005-10-31 18:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 23:52 Re: [PATCH] SMP dom0 boot fix Ian Pratt
2005-10-31 18:32 ` Ky Srinivasan
2005-10-31 18:32 ` Ky Srinivasan [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-28 17:13 Kamble, Nitin A
2005-10-28 14:34 Puthiyaparambil, Aravindh
2005-10-28 1:05 Kamble, Nitin A
2005-10-28 7:31 ` Keir Fraser
2005-10-28 14:59 ` Ryan Harper
2005-10-28 15:15 ` Keir Fraser
2005-10-28 15:45 ` Keir Fraser
2005-10-28 16:07 ` Ryan Harper
2005-10-28 17:27 ` Ky Srinivasan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43661CD8.E57C.0030.0@novell.com \
--to=ksrinivasan@novell.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=ryanh@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.