From: Nick Piggin <npiggin@suse.de>
To: Christoph Lameter <clameter@sgi.com>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>,
akpm@osdl.org, linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: [PATCH] Fix longstanding load balancing bug in the scheduler.
Date: Mon, 11 Sep 2006 10:37:34 +0200 [thread overview]
Message-ID: <20060911083734.GA25953@wotan.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0609091252070.26746@schroedinger.engr.sgi.com>
On Sat, Sep 09, 2006 at 12:56:16PM -0700, Christoph Lameter wrote:
> On Fri, 8 Sep 2006, Christoph Lameter wrote:
>
> > > one or more, it is unnecessary for the common case.
> >
> > The common case is an arch with much less cpus. The maxinum on i386
> > f.e. is 255 meaning 8 bytes. That fits in the cacheline that is already
> > used for the stack frame of the calling function.
>
> Ughh. Wrong. 255 cpus require 32 bytes. System rarely have that
> much. If you configure a kernel with less than 32 cpus then this will be
> one word on the stack.
>
> Also note that the patch restricts the search to online cpus. The
> scheduler will check offline cpus without this patch. That may actually
> result in speed improvements since the cachelines from offline cpus are
> no longer brought in during the search for the busiest group / cpu.
This should not be the case. The sched-domain structure should always
reflect the online CPUs only (see our hotplug cpu handler), and if you
find otherwise then that would be a bug.
next prev parent reply other threads:[~2006-09-11 8:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 23:38 Christoph Lameter
2006-09-07 10:58 ` Nick Piggin
2006-09-07 15:29 ` Christoph Lameter
2006-09-07 17:24 ` Christoph Lameter
2006-09-07 21:47 ` Nick Piggin
2006-09-07 22:20 ` Christoph Lameter
2006-09-07 22:32 ` Nick Piggin
2006-09-08 2:52 ` Christoph Lameter
2006-09-08 17:35 ` Siddha, Suresh B
2006-09-08 18:40 ` Christoph Lameter
2006-09-08 20:00 ` Siddha, Suresh B
2006-09-08 20:19 ` Christoph Lameter
2006-09-09 0:03 ` Siddha, Suresh B
2006-09-09 5:25 ` Christoph Lameter
2006-09-09 19:56 ` Christoph Lameter
2006-09-11 8:37 ` Nick Piggin [this message]
2006-09-12 18:37 ` [PATCH] Fix longstanding load balancing bug in the scheduler V2 Christoph Lameter
2006-09-15 0:26 ` Andrew Morton
2006-09-15 9:44 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060911083734.GA25953@wotan.suse.de \
--to=npiggin@suse.de \
--cc=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=suresh.b.siddha@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome