lkml.org 
[lkml]   [2002]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio
From
Date
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:1.166 / U:0.296 seconds]
©2003-2011 Jasper Spaans. Advertise on this site