From: Ingo Molnar <mingo@elte.hu>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Linux Kernel M/L <linux-kernel@vger.kernel.org>
Subject: Re: glitch1 results - 2.6.21.3-cfs-v15
Date: Tue, 5 Jun 2007 21:20:41 +0200 [thread overview]
Message-ID: <20070605192040.GA21148@elte.hu> (raw)
In-Reply-To: <46648A72.8010401@tmr.com>
* Bill Davidsen <davidsen@tmr.com> wrote:
> I have added cfs15 to the chart at
> www.tmr.com/~davidsen/sched_smooth_05.html and updated the source of
> the test at www.tmr.com/~public/source if anyone wants to run test on
> their hardware.
thanks!
> I feel that on my hardware cfs-13 was the smoothest for this test and
> for watching videos. Even relatively light load:
> nice -10 make -j4 -s
> of a kernel would cause jumps on the video, gears or youtube.
ah, found this bug i think! Does the patch below fix it for you and does
it bring back v13's smoothness for the reniced kernel build?
Ingo
Index: linux/kernel/sched_fair.c
===================================================================
--- linux.orig/kernel/sched_fair.c
+++ linux/kernel/sched_fair.c
@@ -385,6 +374,7 @@ static void enqueue_sleeper(struct rq *r
* during the whole sleep period:
*/
delta_fair = div64_s(delta_fair * load, load + p->load_weight);
+ delta_fair = div64_s(delta_fair * p->load_weight, NICE_0_LOAD);
prev_runtime = p->wait_runtime;
__add_wait_runtime(rq, p, delta_fair);
prev parent reply other threads:[~2007-06-05 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-04 21:56 glitch1 results - 2.6.21.3-cfs-v15 Bill Davidsen
2007-06-05 19:20 ` Ingo Molnar [this message]
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=20070605192040.GA21148@elte.hu \
--to=mingo@elte.hu \
--cc=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.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