public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* lockmeter results comparing 2.4.17, 2.5.3, and 2.5.5
@ 2002-02-27 18:19 Hanna Linder
  2002-02-27 18:34 ` [Lse-tech] " Martin J. Bligh
  0 siblings, 1 reply; 13+ messages in thread
From: Hanna Linder @ 2002-02-27 18:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: lse-tech, viro


	Congratulations to everyone working to reduce contention of the
Big Kernel Lock. According to this benchmark your work has paid off!
John Hawkes of SGI asked me to Beta test his 2.5.5 version of lockmeter 
last night (that's what I get for asking when it would be out). The results 
were interesting enough to post. 
	All three runs were on an 8-way SMP system running dbench with 
up to 16 clients 10 times each. The results are at http://lse.sf.net/locking . 
Throughput numbers are not included yet, I need to rerun dbench without 
lockmeter to get accurate throughput results.
	
(Read down the Con(tention) column)
TOTAL is for the whole system
kernel_flag is for every function holding BKL combined.


SPINLOCKS         HOLD            WAIT
  UTIL  CON    MEAN(  MAX )   MEAN(  MAX )(% CPU)     TOTAL NOWAIT SPIN RJECT  NAME

2.4.17:

       13.7%  2.2us(  43ms)   31us(  43ms)(20.0%) 232292367 86.3% 13.7% 0.00%  *TOTAL*

 33.9% 40.3%   11us(  43ms)   51us(  43ms)( 8.2%)  19725127 59.7% 40.3%    0%  kernel_flag


2.5.3:
       11.1%  1.0us(  21ms)  8.2us(  18ms)( 3.8%) 738953957 88.9% 11.1% 0.00%  *TOTAL*

 10.4% 22.6%  8.3us(  21ms)   23us(  18ms)(0.81%)  27982565 77.4% 22.6%    0%  kernel_flag


2.5.5: 

       8.6%  1.6us( 100ms)   30us(  86ms)( 9.4%) 783373441 91.4%  8.6% 0.00%  *TOTAL*

 1.2% 0.33%  2.5us(  50ms) 1167us(  43ms)(0.23%)  12793605 99.7% 0.33%    0%  kernel_flag



Hanna Linder
IBM Linux Technology Center
hannal@us.ibm.com


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [Lse-tech] lockmeter results comparing 2.4.17, 2.5.3, and 2.5.5
@ 2002-02-27 21:30 Niels Christiansen
  0 siblings, 0 replies; 13+ messages in thread
From: Niels Christiansen @ 2002-02-27 21:30 UTC (permalink / raw)
  To: lse-tech; +Cc: linux-kernel, viro

Andrew Morton wrote:
> I have a concern about the lockmeter results.  Lockmeter appears
> to be measuring lock frequency and hold times and contention.  But
> is it measuring the cost of the cacheline transfers?

No.

> I expect that with delayed allocation and radix-tree pagecache, one
> of the major remaining bottlenecks will be ownership of the superblock
> semaphore's cacheline.   Is this measurable?
When you ask if this is measurable, exactly what do you mean?  The cost
of cacheline transfers?  Expressed in which unit of measure?  Bottlenecks?

If the data you are after is available, a tool can surely be made
to capture and present it...

-nc-


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-02-28  8:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-27 18:19 lockmeter results comparing 2.4.17, 2.5.3, and 2.5.5 Hanna Linder
2002-02-27 18:34 ` [Lse-tech] " Martin J. Bligh
2002-02-27 19:27   ` Linus Torvalds
2002-02-27 19:45   ` Andrew Morton
2002-02-27 19:57     ` Hanna Linder
2002-02-28  8:31       ` Ravikiran G Thirumalai
2002-02-27 20:01     ` Martin J. Bligh
2002-02-27 20:15       ` Andrew Morton
2002-02-27 21:31         ` Linus Torvalds
2002-02-27 21:48     ` Alexander Viro
2002-02-27 23:14       ` Hanna Linder
2002-02-27 23:32       ` Hanna Linder
  -- strict thread matches above, loose matches on Subject: below --
2002-02-27 21:30 Niels Christiansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox