mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
@ 2001-11-17 16:58 Partha Narayanan
  2001-11-17 17:21 ` Mark Hahn
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Partha Narayanan @ 2001-11-17 16:58 UTC (permalink / raw)
  To: linux-kernel

Folks,


The above patch for scheduler cache affinity improvement in 2.4 kernels by
Ingo Molnar was applied to 2.4.14 kernel;
a run of Volano LoopBack BenchMark on a Netfinity 8500 R 1MB 700 MHz PIII
1MB-L2 cache and 1GB memory support produced
the following results:

     The UniProcessor throughput  was reduced by 40%.
     The 4-way throughput showed a very slight degradation of 1%.
     The 8-way throughput showed an improvemnet of 10%.


I do not subscribe to lkml and hence please address any future
correspondence on this topic to partha@us.ibm.,com.

Thanks,
Partha



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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
  2001-11-17 16:58 [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar Partha Narayanan
@ 2001-11-17 17:21 ` Mark Hahn
  2001-11-17 18:00 ` Alan Cox
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Mark Hahn @ 2001-11-17 17:21 UTC (permalink / raw)
  To: Partha Narayanan; +Cc: linux-kernel

>      The UniProcessor throughput  was reduced by 40%.
>      The 4-way throughput showed a very slight degradation of 1%.
>      The 8-way throughput showed an improvemnet of 10%.

what a waste of time: volanomark loopback is deliberately unlike
any real-world workload, so noone can sanely use these numbers.
why not compare to something vaguely intelligible?  even lmbench
would be more interesting...


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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
  2001-11-17 18:00 ` Alan Cox
@ 2001-11-17 17:57   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 8+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-11-17 17:57 UTC (permalink / raw)
  To: Alan Cox; +Cc: Partha Narayanan, linux-kernel

Em Sat, Nov 17, 2001 at 06:00:37PM +0000, Alan Cox escreveu:
> >      The UniProcessor throughput  was reduced by 40%.
> >      The 4-way throughput showed a very slight degradation of 1%.
> >      The 8-way throughput showed an improvemnet of 10%.
> 
> This is the 10 billion thread volcanomark stuff though I assume ? What
> happens in the real world ?

Hey, those who need 10 billion threads can afford a 8-way machine or even
bigger ;)

- Arnaldo

``"90% of everything is crap", Its called Sturgeon's law 8)
One of the problems is indeed finding the good bits''
    - Alan Cox

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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
  2001-11-17 16:58 [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar Partha Narayanan
  2001-11-17 17:21 ` Mark Hahn
@ 2001-11-17 18:00 ` Alan Cox
  2001-11-17 17:57   ` Arnaldo Carvalho de Melo
  2001-11-19  8:39 ` Albert D. Cahalan
  2001-11-23 11:48 ` Ingo Molnar
  3 siblings, 1 reply; 8+ messages in thread
From: Alan Cox @ 2001-11-17 18:00 UTC (permalink / raw)
  To: Partha Narayanan; +Cc: linux-kernel

>      The UniProcessor throughput  was reduced by 40%.
>      The 4-way throughput showed a very slight degradation of 1%.
>      The 8-way throughput showed an improvemnet of 10%.

This is the 10 billion thread volcanomark stuff though I assume ? What
happens in the real world ?

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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
  2001-11-17 16:58 [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar Partha Narayanan
  2001-11-17 17:21 ` Mark Hahn
  2001-11-17 18:00 ` Alan Cox
@ 2001-11-19  8:39 ` Albert D. Cahalan
  2001-11-23 11:48 ` Ingo Molnar
  3 siblings, 0 replies; 8+ messages in thread
From: Albert D. Cahalan @ 2001-11-19  8:39 UTC (permalink / raw)
  To: Partha Narayanan; +Cc: linux-kernel

Partha Narayanan writes:

> The above patch for scheduler cache affinity improvement in 2.4 kernels by
> Ingo Molnar was applied to 2.4.14 kernel;

Just a thought: some processors tell you how many cache lines
have been thrown out. Look in whatever performance monitoring
registers are available.

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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
  2001-11-17 16:58 [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar Partha Narayanan
                   ` (2 preceding siblings ...)
  2001-11-19  8:39 ` Albert D. Cahalan
@ 2001-11-23 11:48 ` Ingo Molnar
  3 siblings, 0 replies; 8+ messages in thread
From: Ingo Molnar @ 2001-11-23 11:48 UTC (permalink / raw)
  To: Partha Narayanan; +Cc: linux-kernel


On Sat, 17 Nov 2001, Partha Narayanan wrote:

>      The UniProcessor throughput  was reduced by 40%.
>      The 4-way throughput showed a very slight degradation of 1%.
>      The 8-way throughput showed an improvemnet of 10%.

thanks Partha for the measurements. I'll soon post an updated patch that
also includes some of the suggestions from this list.

	Ingo


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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
@ 2001-11-23 11:47 Samium Gromoff
  0 siblings, 0 replies; 8+ messages in thread
From: Samium Gromoff @ 2001-11-23 11:47 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

           So as i see the patch in question is being hit in its weakest
    place by that enormous 10 billion thread benchmark. 
    Indeed that weakest place is the added overhead which effects the
    heavy scheduling load.
      I look at it as at absolutely worst case. And even in this worst
    case we still have a win on a 8-way smp... I`d like to see some
    more real-life benchmarks on the issue...

      Maybe the tester lose the point, cause the patch was not pointed
   to improve the scheduling itself, but to reduce the loss of improper
   scheduling - ie cache thrashing.


cheers, Samium Gromoff

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

* Re: [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar
@ 2001-11-19 17:06 Shailabh Nagar
  0 siblings, 0 replies; 8+ messages in thread
From: Shailabh Nagar @ 2001-11-19 17:06 UTC (permalink / raw)
  To: Partha Narayanan; +Cc: linux-kernel


Hi Partha,

Sorry to see the "shoot-the-messenger" replies to your posting. I've yet to
understand why lmbench is relevant
in an SMP setting.....

Shailabh Nagar
Enterprise Linux Group, IBM TJ Watson Research Center
(914) 945 2851, T/L 862 2851


Partha Narayanan/Austin/IBM@IBMUS@vger.kernel.org on 11/17/2001 11:58:05 AM

Sent by:  linux-kernel-owner@vger.kernel.org


To:   linux-kernel@vger.kernel.org
cc:
Subject:  [patch] scheduler cache affinity improvement in 2.4 kernels by
      Ingo Molnar



Folks,


The above patch for scheduler cache affinity improvement in 2.4 kernels by
Ingo Molnar was applied to 2.4.14 kernel;
a run of Volano LoopBack BenchMark on a Netfinity 8500 R 1MB 700 MHz PIII
1MB-L2 cache and 1GB memory support produced
the following results:

     The UniProcessor throughput  was reduced by 40%.
     The 4-way throughput showed a very slight degradation of 1%.
     The 8-way throughput showed an improvemnet of 10%.


I do not subscribe to lkml and hence please address any future
correspondence on this topic to partha@us.ibm.,com.

Thanks,
Partha


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




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

end of thread, other threads:[~2001-11-23 11:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-17 16:58 [patch] scheduler cache affinity improvement in 2.4 kernels by Ingo Molnar Partha Narayanan
2001-11-17 17:21 ` Mark Hahn
2001-11-17 18:00 ` Alan Cox
2001-11-17 17:57   ` Arnaldo Carvalho de Melo
2001-11-19  8:39 ` Albert D. Cahalan
2001-11-23 11:48 ` Ingo Molnar
2001-11-19 17:06 Shailabh Nagar
2001-11-23 11:47 Samium Gromoff

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

all inboxes | Powered by JetHome®