From: Robert Love <rml@tech9.net>
To: Con Kolivas <conman@kolivas.net>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio
Date: 19 Dec 2002 17:46:22 -0500 [thread overview]
Message-ID: <1040337982.2519.45.camel@phantasy> (raw)
In-Reply-To: <200212200850.32886.conman@kolivas.net>
On Thu, 2002-12-19 at 16:50, Con Kolivas wrote:
> Changing this tunable seems to shift the balance in either direction depending
> on the load. Most of the disk writing loads have shorter times as pb goes up,
> but under heavy mem_load the time goes up (without an increase in the amount
> of work done by the mem_load itself). The effect is quite large.
This is one of the most interesting tests. Thanks, Con.
prio_bonus_ratio determines how big a bonus we give to interactive
tasks, as a percentage of the full -20 to +19 nice range. Setting it to
zero means we scale the bonuses/penalties be zero percent, i.e. we do
not give a bonus or penalty. 25% implies 25% of the range is used (i.e.
-/+5 points). Etc.
I suspect tests where you see an improvement as the value increases are
ones in which the test is more interactive than the background load. In
that case, the larger bonuses helps more so to the test and it completes
quicker.
When you see a decrease associated with a larger value, the test is less
interactive than the load. Thus the load is scheduled to the detriment
of the test, and the test takes longer to complete.
Not too sure what to make of it. It shows the interactivity estimator
does indeed help... but only if what you consider "important" is what is
considered "interactive" by the estimator. Andrew will say that is too
often not the case.
Robert Love
P.S. This setting is also useful for endusers to test. Setting
prio_bonus_ratio to zero effectively disables the interactivity
estimator, so users can test without that feature enabled. It should
fix e.g. Andrew's X wiggle issue.
next prev parent reply other threads:[~2002-12-19 22:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-19 21:50 [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio Con Kolivas
2002-12-19 22:46 ` Robert Love [this message]
2002-12-19 23:18 ` Andrew Morton
2002-12-19 23:41 ` Robert Love
2002-12-20 0:02 ` Andrew Morton
2002-12-20 0:15 ` Robert Love
2002-12-20 0:22 ` Con Kolivas
2002-12-20 0:29 ` Robert Love
2002-12-20 0:27 ` Andrew Morton
2002-12-20 2:42 ` Robert Love
2002-12-20 2:48 ` Andrew Morton
2002-12-24 22:26 ` scott thomason
2002-12-25 7:29 ` Con Kolivas
2002-12-25 16:17 ` scott thomason
2002-12-26 15:01 ` scott thomason
2003-01-01 0:31 ` Impact of scheduler tunables on interactive response (was Re: [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio) scott thomason
2003-01-01 16:05 ` Bill Davidsen
2003-01-01 17:15 ` scott thomason
2002-12-19 23:42 ` [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio Con Kolivas
2002-12-19 23:53 ` Robert Love
2002-12-20 0:04 ` Con Kolivas
2002-12-20 0:16 ` Robert Love
2002-12-20 11:17 ` Marc-Christian Petersen
2002-12-20 17:54 ` Robert Love
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=1040337982.2519.45.camel@phantasy \
--to=rml@tech9.net \
--cc=conman@kolivas.net \
--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