lkml.org 
[lkml]   [2004]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] V-3.0 Single Priority Array O(1) CPU Scheduler Evaluation
Andi Kleen wrote:
> Peter Williams <pwil3058@bigpond.net.au> writes:
>
>
>>Version 3 of the various single priority array scheduler patches for
>>2.6.7, 2.6.8-rc2 and 2.6.8-rc2-mm1 kernels are now available for
>>download and evaluation:
>
>
> [...] So many schedulers. It is hard to chose one for testing.
>
> Do you have one you prefer and would like to be tested especially?

I think that ZAPHOD in "pb" mode is probably the best but I'm hoping for
input from a wider audience. That's why I built HYDRA. So that various
options can be tried without having to rebuild and reboot.

The questions I'm trying to answer are:

1. Are "priority" based ("pb") semantics for "nice" better than
"entitlement" based ("eb") semantics? Does it depend on what the
system's being used for?

2. What are the appropriate values for controlling interactive bonuses
for "pb" and "eb"?

3. Are interactive bonuses even necessary for "eb"?

4. What's the best time slice size for interactive use?

5. What's the best time slice size for a server?

6. Does the throughput bonus help? In particular, does it reduce the
amount of queuing when the system is not fully loaded.

7. Should any (or all) of the scheduling knobs in
/proc/sys/kernel/cpusched/ be retained for a production scheduler.

>
> Perhaps a few standard benchmark numbers for the different ones
> (e.g. volanomark or hackbench or the OSDL SDL tests) would make it
> easier to preselect.

OK, I'll do that. But some of the questions for which I am seeking
answers are more subjective. In particular, interactive responsiveness
is hard to test automatically.

Also, these tests are no good for evaluating the throughput bonus
because when the system is heavily loaded there's going to be queuing
anyway. Where this bonus is expected to be most helpful is at
intermediate system loads where there is still significant queuing (due
to lack of serendipity i.e. they're all sleeping at the same time and
trying to run at the same time instead of slotting in nicely between
each other) even though there are (theoretically) enough CPU resources
to handle the load without any queuing. Tests with an earlier scheduler
showed that (where such queuing was occurring) the techniques used in
the throughput bonus could significantly reduce it. These tests were
conducted with artificial loads and confirmation from the real world
would be helpful. (Of import here is whether there are significant
queuing problems at intermediate loads in the real world because if
there isn't then there is nothing for the throughput bonus to fix. This
is possible because the higher the randomness of a system's load then
the better the serendipity will be.)

The scheduling statistics that are included in my patches measure time
spent on the run queue so that measurements of improvements due to the
throughput bonus are possible. Another way that such improvements would
be increased responsiveness from servers.

>
> Have you considered submitting one to -mm* for wider testing?

I've made patches available for 2.6.8-rc2-mm1 and I'll provide them for
mm2 as soon as possible. Is there something else I should be doing?

Peter
--
Peter Williams pwil3058@bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce

-
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 14:04    [W:0.030 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site