Re: [PATCH RFC/RFB] x86_64, i386: interrupt dispatch changes

From: Ingo Molnar
Date: Mon Nov 10 2008 - 08:07:56 EST



* Alexander van Heukelum <heukelum@xxxxxxxxxxx> wrote:

> On Mon, 10 Nov 2008 09:58:46 +0100, "Ingo Molnar" <mingo@xxxxxxx> said:
> > * Alexander van Heukelum <heukelum@xxxxxxxxxxx> wrote:
> > > Hi all,
> > >
> > > I have spent some time trying to find out how expensive the
> > > segment-switching patch was. I have only one computer available at
> > > the time: a "Sempron 2400+", 32-bit-only machine.
> > >
> > > Measured were timings of "hackbench 10" in a loop. The average was
> > > taken of more than 100 runs. Timings were done for two seperate
> > > boots of the system.
>
> Hi Ingo,
>
> I guess you just stopped reading here?

yeah, sorry! You describe and did exactly the kind of histogram that i
wanted to see done ;-)

I'm not sure i can read out the same thing from the result though.
Firstly, it seems the 'after' histograms are better, because there the
histogram shifted towards shorter delays. (i.e. lower effective irq
entry overhead)

OTOH, unless i'm misreading them, it's a bit hard to compare them
visually: the integral of the histograms does not seem to be constant,
they dont seem to be normalized.

It should be made constant for them to be comparable. (i.e. the total
number of irq hits profiled should be equal - or should be normalized
with the sum after the fact)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/