From: Ingo Molnar <mingo@elte.hu>
To: Chris Friesen <cfriesen@nortel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
linux-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: unpredictability in scheduler test results -- still present
Date: Sat, 27 Sep 2008 22:04:33 +0200 [thread overview]
Message-ID: <20080927200433.GC28937@elte.hu> (raw)
In-Reply-To: <48DACF55.3070209@nortel.com>
* Chris Friesen <cfriesen@nortel.com> wrote:
> Chris Friesen wrote:
>
>> This behaviour (that load balancing is messed up) is now almost
>> continuous with both current tip/master and current Linus git. On the
>> first test after booting, it seems to work okay (although there are
>> still issues with fairness). On every subsequent test, fairness is
>> good but it only uses one of the two cpus.
>>
>> Also, building a kernel with "-j10" results in one cpu being mostly
>> idle while the other one is 100% busy. It used to be both 100% busy--if
>> I get time today I may try bisecting it.
>
> It turns out that disabling CONFIG_DYNAMIC_FTRACE makes the load
> balancing problem go away and causes all cpus to be used.
>
> With this option enabled, the problem seems to be present as far back
> as 2.6.27-rc2. (2.6.27-rc1 doesn't compile on my machine, and 2.6.26
> doesn't have ftrace).
>
> I have no idea why turning on dynamic ftrace would affect load
> balancing behaviour, but it's very repeatable. The very first test
> run after booting works fine, and all successive runs fail to balance
> properly.
very weird. Would be very nice to figure it out.
and in tip/master we dont have the 'ftraced' kernel-patching kernel
thread anymore, so ftrace should be passive by all means.
OTOH, what does 'truning on dftrace' exactly mean? Just enabling it in
the .config, or also activating it via /debug/tracing/current_tracer?
Ingo
next prev parent reply other threads:[~2008-09-27 20:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 22:45 unpredictability in scheduler test results Chris Friesen
2008-09-24 15:19 ` unpredictability in scheduler test results -- still present Chris Friesen
2008-09-24 23:37 ` Chris Friesen
2008-09-27 20:04 ` Ingo Molnar [this message]
2008-09-29 15:43 ` Chris Friesen
2008-09-30 11:12 ` Ingo Molnar
2008-09-30 21:14 ` Chris Friesen
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=20080927200433.GC28937@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=cfriesen@nortel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/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