mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Theurer <habanero@us.ibm.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>,
	Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org
Subject: Re: [patch] HT scheduler, sched-2.5.68-B2
Date: Wed, 23 Apr 2003 15:14:44 -0500	[thread overview]
Message-ID: <200304231514.44451.habanero@us.ibm.com> (raw)
In-Reply-To: <1538380000.1051123399@flay>

On Wednesday 23 April 2003 13:43, Martin J. Bligh wrote:
> >> >  - turn off the more agressive idle-steal variant. This could fix the
> >> >    low-load regression reported by Martin J. Bligh.
> >>
> >> Yup, that fixed it (I tested just your first version with just that
> >> bit altered).
> >
> > Can we make this an arch specific option?  I have a feeling the HT
> > performance on low loads will actually drop with this disabled.
>
> Is it really an arch thing? Or is it a load level thing? I get the feeling
> it might be switchable dynamically, dependant on load ...

Well on high load, you shouldn't have an idle cpu anyway, so you would never 
pass the requirements for the agressive -idle- steal even if it was turned 
on.   On low loads on HT, without this agressive balance on cpu bound tasks, 
you will always load up one core before using any of the others.  When you 
fork/exec, the child will start on the same runqueue as the parent, the idle 
sibling will start running it, and it will never get a chance to balance 
properly while it's in a run state.  This is the same behavior I saw with the 
NUMA-HT solution, because I didn't have this agressive balance (although it 
could be added I suppose), and as a result it consistently performed less 
than Ingo's solution (but still better than no patch at all).

-Andrew Theurer

  reply	other threads:[~2003-04-23 20:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-23 16:23 Ingo Molnar
2003-04-23 17:47 ` Martin J. Bligh
2003-04-23 17:53   ` Andrew Theurer
2003-04-23 18:43     ` Martin J. Bligh
2003-04-23 20:14       ` Andrew Theurer [this message]
2003-04-24  8:43         ` Rick Lindsley
2003-04-24 14:23           ` Andrew Theurer
2003-04-23 22:38       ` Martin J. Bligh
2003-04-24 21:29         ` Bill Davidsen
2003-04-24 22:39           ` Martin J. Bligh

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=200304231514.44451.habanero@us.ibm.com \
    --to=habanero@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    --cc=mingo@elte.hu \
    /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

all inboxes | Powered by JetHome®