lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Nov 2008 22:35:07 +0100
From:	"Alexander van Heukelum" <heukelum@...tmail.fm>
To:	"Ingo Molnar" <mingo@...e.hu>
Cc:	"Andi Kleen" <andi@...stfloor.org>,
	"Cyrill Gorcunov" <gorcunov@...il.com>,
	"Alexander van Heukelum" <heukelum@...lshack.com>,
	"LKML" <linux-kernel@...r.kernel.org>,
	"Thomas Gleixner" <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>, lguest@...abs.org,
	jeremy@...source.com, "Steven Rostedt" <srostedt@...hat.com>,
	"Mike Travis" <travis@....com>
Subject: Re: [PATCH RFC/RFB] x86_64, i386: interrupt dispatch changes

On Mon, 10 Nov 2008 14:07:09 +0100, "Ingo Molnar" <mingo@...e.hu> said:
> * Alexander van Heukelum <heukelum@...tmail.fm> wrote:
> > On Mon, 10 Nov 2008 09:58:46 +0100, "Ingo Molnar" <mingo@...e.hu> said:
> > > * Alexander van Heukelum <heukelum@...tmail.fm> 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 thought so ;).

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

The total number of measured intervals (between two almost-adjacent
rdtsc's) is exactly the same for all histograms (10^10). Almost all
measurements are of the "nothing happened" type, i.e., around 11
clock cycles on this machine. The user time spent inside the
rdtsctest program is almost independent of the load, but it
measures time spent outside of the program... But what should be
attributed to what effect is unclear to me at the moment.

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

Basically the difference between the "idle" and "hack10" versions
should indicate the effect of extra interrupts (timer) and additional
exceptions and cache effects due to context switching.

Thanks,
    Alexander

> 	Ingo
-- 
  Alexander van Heukelum
  heukelum@...tmail.fm

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ