linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>,
	Yinghai Lu <yinghai@kernel.org>
Subject: Re: next-20081030: voyager compile busted
Date: Fri, 31 Oct 2008 12:42:14 -0500	[thread overview]
Message-ID: <1225474934.3264.4.camel@localhost.localdomain> (raw)
In-Reply-To: <20081030224057.GB20507@elte.hu>

On Thu, 2008-10-30 at 23:40 +0100, Ingo Molnar wrote: 
> * H. Peter Anvin <hpa@zytor.com> wrote:
> 
> > James Bottomley wrote:
> > > 
> > > Yes ... been having IRC conversations about that.  We'd need to use
> > > runtime patching to fix the performance regressions virtualisation has
> > > been causing us first ... but then we could use it for voyager.
> > 
> > I thought we already were, at least to some degree (the call sites 
> > are way too big and way bigger than they need to be, so we end up 
> > with a lot of NOPs.  I proposed a solution to Jeremy at Kernel 
> > Summit, but he basically said "I don't want to maintain that, I 
> > don't care about hardware performance", which is understandable but 
> > highly unfortunate.)
> 
> in practice the function pointer overhead is almost unmeasurable for 
> things like IPIs which are rather expensive to issue. In fact it's 
> probably more expensive on Voyager as it does not utilize the local 
> APIC for SMP messaging (which is pretty much the only 
> performance-sensitive thing here). It uses its own glue logic it 
> appears, which is almost certainly behind the system bus.

Heh ... don't be so sure:  The VIC uses an array of up to 8 standard
8255 IRQ lines, which is slow.  The QIC uses CPI trigger via cache line
interference, which is far faster than APIC bus based systems (but is
fairly similar to the way SAPIC systems work ... almost a decade after
the original QIC system).

> James, how many cycles do typical SMP ops take on Voyager?

To be honest, I'm not too bothered about that.  What bothers me is that
if a normal system performance goes down because of the function pointer
replacement (remember all x86 SMP systems will see an increase in
function pointer usage because of this approach), then it probably
wasn't worth it.

However, the only way to be sure is to try it and get the benchmarks.

James

  reply	other threads:[~2008-10-31 22:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30  6:30 linux-next: Tree for October 30 Stephen Rothwell
2008-10-30 18:03 ` next-20081030: voyager compile busted Alexey Dobriyan
2008-10-30 20:24   ` James Bottomley
2008-10-30 20:52     ` Ingo Molnar
2008-10-30 20:58       ` James Bottomley
2008-10-30 21:07         ` Ingo Molnar
2008-10-30 21:21           ` James Bottomley
2008-10-30 21:42             ` H. Peter Anvin
2008-10-30 21:47               ` James Bottomley
2008-10-30 21:50                 ` H. Peter Anvin
2008-10-30 22:40                   ` Ingo Molnar
2008-10-31 17:42                     ` James Bottomley [this message]
2008-10-30 21:24       ` Alexey Dobriyan
2008-10-30 23:42   ` Tony Breeds
2008-10-30 23:55 ` linux-next: Tree for October 30 Randy Dunlap
2008-10-31  6:25   ` Greg KH
2008-10-31 16:40     ` Greg KH

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=1225474934.3264.4.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=adobriyan@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sfr@canb.auug.org.au \
    --cc=tglx@linutronix.de \
    --cc=yinghai@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).