public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [Lse-tech] [patch] sched-domain cleanups, sched-2.6.5-rc2-mm2-A3
@ 2004-03-25 15:15 Nakajima, Jun
  2004-03-25 16:19 ` John Hawkes
  2004-03-25 16:53 ` Martin J. Bligh
  0 siblings, 2 replies; 71+ messages in thread
From: Nakajima, Jun @ 2004-03-25 15:15 UTC (permalink / raw)
  To: Andi Kleen, Ingo Molnar
  Cc: piggin, linux-kernel, akpm, kernel, rusty, ricklind, anton,
	lse-tech, mbligh

We have found some performance regressions (e.g. SPECjbb) with the
scheduler on a large IA-64 NUMA machine, and we are debugging it. On SMP
machines, we haven't seen performance regressions.

Jun

>-----Original Message-----
>From: Andi Kleen [mailto:ak@suse.de]
>Sent: Wednesday, March 24, 2004 8:56 PM
>To: Ingo Molnar
>Cc: piggin@cyberone.com.au; linux-kernel@vger.kernel.org;
akpm@osdl.org;
>kernel@kolivas.org; rusty@rustcorp.com.au; Nakajima, Jun;
>ricklind@us.ibm.com; anton@samba.org; lse-tech@lists.sourceforge.net;
>mbligh@aracnet.com
>Subject: Re: [Lse-tech] [patch] sched-domain cleanups,
sched-2.6.5-rc2-mm2-
>A3
>
>On Thu, 25 Mar 2004 09:28:09 +0100
>Ingo Molnar <mingo@elte.hu> wrote:
>
>> i've reviewed the sched-domains balancing patches for upstream
inclusion
>> and they look mostly fine.
>
>The main problem it has is that it performs quite badly on Opteron NUMA
>e.g. in the OpenMP STREAM test (much worse than the normal scheduler)
>
>-Andi

^ permalink raw reply	[flat|nested] 71+ messages in thread
* RE: [Lse-tech] [patch] sched-domain cleanups, sched-2.6.5-rc2-mm2-A3
@ 2004-03-25 15:31 Nakajima, Jun
  2004-03-25 15:40 ` Andi Kleen
  0 siblings, 1 reply; 71+ messages in thread
From: Nakajima, Jun @ 2004-03-25 15:31 UTC (permalink / raw)
  To: Andi Kleen, Rick Lindsley
  Cc: Ingo Molnar, piggin, linux-kernel, akpm, kernel, rusty, anton,
	lse-tech, mbligh

Andi,

Can you be more specific with "it doesn't load balance threads
aggressively enough"? Or what behavior of the base NUMA scheduler is
missing in the sched-domain scheduler especially for NUMA?

Jun

>-----Original Message-----
>From: Andi Kleen [mailto:ak@suse.de]
>Sent: Thursday, March 25, 2004 3:47 AM
>To: Rick Lindsley
>Cc: Andi Kleen; Ingo Molnar; piggin@cyberone.com.au; linux-
>kernel@vger.kernel.org; akpm@osdl.org; kernel@kolivas.org;
>rusty@rustcorp.com.au; Nakajima, Jun; anton@samba.org; lse-
>tech@lists.sourceforge.net; mbligh@aracnet.com
>Subject: Re: [Lse-tech] [patch] sched-domain cleanups,
sched-2.6.5-rc2-mm2-
>A3
>
>On Thu, Mar 25, 2004 at 03:40:22AM -0800, Rick Lindsley wrote:
>>     The main problem it has is that it performs quite badly on
Opteron
>NUMA
>>     e.g. in the OpenMP STREAM test (much worse than the normal
scheduler)
>>
>> Andi, I've got some schedstat code which may help us to understand
why.
>> I'll need to port it to Ingo's changes, but if I drop you a patch in
a
>> day or two can you try your test on sched-domain/non-sched-domain,
>> collecting the stats?
>
>The openmp failure is already pretty well understood - it doesn't load
>balance
>threads aggressively enough over CPUs after startup.
>
>-Andi

^ permalink raw reply	[flat|nested] 71+ messages in thread
[parent not found: <1DF7H-22Y-11@gated-at.bofh.it>]
* RE: [Lse-tech] [patch] sched-domain cleanups, sched-2.6.5-rc2-mm2-A3
@ 2004-03-30 21:40 Nakajima, Jun
  2004-03-30 22:15 ` Andrew Theurer
  0 siblings, 1 reply; 71+ messages in thread
From: Nakajima, Jun @ 2004-03-30 21:40 UTC (permalink / raw)
  To: Ingo Molnar, piggin
  Cc: linux-kernel, akpm, kernel, rusty, ricklind, anton, lse-tech,
	mbligh, Andi Kleen

The problem we observed was that the performance was lower with a large
number of threads (># of CPUs, such as 2x) with SPECjbb. With fewer
threads, the sched-domain scheduler performed slightly better. What we
found was that the sched-domain changes balance_interval (between
min_interaval and max_interval) reflecting success/failure of load
balancing, whereas the base scheduler does not. That value determines
how often we do inter and intra node baloancing, and we see the same
performance if we use the same hard code value as the base scheduler
does. 

Nick,
That algorithm sounds reasonable to me, but how did you pick up
min_interval and max_interval, especially for NUMA? 

Jun

>-----Original Message-----
>From: lse-tech-admin@lists.sourceforge.net [mailto:lse-tech-
>admin@lists.sourceforge.net] On Behalf Of Nakajima, Jun
>Sent: Thursday, March 25, 2004 7:15 AM
>To: Andi Kleen; Ingo Molnar
>Cc: piggin@cyberone.com.au; linux-kernel@vger.kernel.org;
akpm@osdl.org;
>kernel@kolivas.org; rusty@rustcorp.com.au; ricklind@us.ibm.com;
>anton@samba.org; lse-tech@lists.sourceforge.net; mbligh@aracnet.com
>Subject: RE: [Lse-tech] [patch] sched-domain cleanups,
sched-2.6.5-rc2-mm2-
>A3
>
>We have found some performance regressions (e.g. SPECjbb) with the
>scheduler on a large IA-64 NUMA machine, and we are debugging it. On
SMP
>machines, we haven't seen performance regressions.
>
>Jun
>
>>-----Original Message-----
>>From: Andi Kleen [mailto:ak@suse.de]
>>Sent: Wednesday, March 24, 2004 8:56 PM
>>To: Ingo Molnar
>>Cc: piggin@cyberone.com.au; linux-kernel@vger.kernel.org;
>akpm@osdl.org;
>>kernel@kolivas.org; rusty@rustcorp.com.au; Nakajima, Jun;
>>ricklind@us.ibm.com; anton@samba.org; lse-tech@lists.sourceforge.net;
>>mbligh@aracnet.com
>>Subject: Re: [Lse-tech] [patch] sched-domain cleanups,
>sched-2.6.5-rc2-mm2-
>>A3
>>
>>On Thu, 25 Mar 2004 09:28:09 +0100
>>Ingo Molnar <mingo@elte.hu> wrote:
>>
>>> i've reviewed the sched-domains balancing patches for upstream
>inclusion
>>> and they look mostly fine.
>>
>>The main problem it has is that it performs quite badly on Opteron
NUMA
>>e.g. in the OpenMP STREAM test (much worse than the normal scheduler)
>>
>>-Andi
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=ick
>_______________________________________________
>Lse-tech mailing list
>Lse-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/lse-tech

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

end of thread, other threads:[~2004-03-31 22:23 UTC | newest]

Thread overview: 71+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25 15:15 [Lse-tech] [patch] sched-domain cleanups, sched-2.6.5-rc2-mm2-A3 Nakajima, Jun
2004-03-25 16:19 ` John Hawkes
2004-03-25 16:53 ` Martin J. Bligh
  -- strict thread matches above, loose matches on Subject: below --
2004-03-25 15:31 Nakajima, Jun
2004-03-25 15:40 ` Andi Kleen
2004-03-25 19:09   ` Ingo Molnar
2004-03-25 15:21     ` Andi Kleen
2004-03-25 19:39       ` Ingo Molnar
2004-03-25 20:30         ` Ingo Molnar
2004-03-29  8:45           ` Andi Kleen
2004-03-29 10:20             ` Rick Lindsley
2004-03-29  5:07               ` Andi Kleen
2004-03-29 11:28               ` Nick Piggin
2004-03-29 17:30                 ` Rick Lindsley
2004-03-30  0:01                   ` Nick Piggin
2004-03-30  1:26                     ` Rick Lindsley
2004-03-29 11:20             ` Nick Piggin
2004-03-29  6:01               ` Andi Kleen
2004-03-29 11:46                 ` Ingo Molnar
2004-03-29  7:03                   ` Andi Kleen
2004-03-29  7:10                     ` Andi Kleen
2004-03-29 20:14                   ` Andi Kleen
2004-03-29 23:51                     ` Nick Piggin
2004-03-30  6:34                       ` Andi Kleen
2004-03-30  6:40                         ` Ingo Molnar
2004-03-30  7:07                           ` Andi Kleen
2004-03-30  7:14                             ` Nick Piggin
2004-03-30  7:45                               ` Ingo Molnar
2004-03-30  7:58                                 ` Nick Piggin
2004-03-30  7:15                             ` Ingo Molnar
2004-03-30  7:18                               ` Nick Piggin
2004-03-30  7:48                               ` Andi Kleen
2004-03-30  8:18                                 ` Ingo Molnar
2004-03-30  9:36                                   ` Andi Kleen
2004-03-30  7:42                             ` Ingo Molnar
2004-03-30  7:03                         ` Nick Piggin
2004-03-30  7:13                           ` Andi Kleen
2004-03-30  7:24                             ` Nick Piggin
2004-03-30  7:38                             ` Arjan van de Ven
2004-03-30  7:13                           ` Martin J. Bligh
2004-03-30  7:31                             ` Nick Piggin
2004-03-30  7:38                               ` Martin J. Bligh
2004-03-30  8:05                               ` Ingo Molnar
2004-03-30  8:19                                 ` Nick Piggin
2004-03-30  8:45                                   ` Ingo Molnar
2004-03-30  8:53                                     ` Nick Piggin
2004-03-30 15:27                                       ` Martin J. Bligh
2004-03-25 19:24     ` Martin J. Bligh
2004-03-25 21:48       ` Ingo Molnar
2004-03-25 22:28         ` Martin J. Bligh
2004-03-29 22:30           ` Erich Focht
2004-03-30  9:05             ` Nick Piggin
2004-03-30 10:04               ` Erich Focht
2004-03-30 10:58                 ` Andi Kleen
2004-03-30 11:02                 ` Andrew Morton
2004-03-31 18:59                   ` Erich Focht
2004-03-31  2:08                 ` Nick Piggin
2004-03-31 22:23                   ` Erich Focht
2004-03-30 15:01             ` Martin J. Bligh
2004-03-31 21:23               ` Erich Focht
2004-03-31 21:33                 ` Martin J. Bligh
2004-03-25 21:59   ` Ingo Molnar
2004-03-25 22:26     ` Rick Lindsley
2004-03-25 22:30     ` Andrew Theurer
2004-03-25 22:38       ` Martin J. Bligh
2004-03-26  1:29       ` Andi Kleen
2004-03-26  3:23   ` Nick Piggin
     [not found] <1DF7H-22Y-11@gated-at.bofh.it>
     [not found] ` <1DL3x-7iG-7@gated-at.bofh.it>
     [not found]   ` <1DLGd-7TS-17@gated-at.bofh.it>
     [not found]     ` <1FmNz-72J-73@gated-at.bofh.it>
     [not found]       ` <1FnzJ-7IW-15@gated-at.bofh.it>
2004-03-30  9:39         ` Andi Kleen
2004-03-31  1:56           ` Nick Piggin
2004-03-30 21:40 Nakajima, Jun
2004-03-30 22:15 ` Andrew Theurer

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