Re: [SCHED] wrong priority calc - SIMPLE test case

From: Paolo Ornati
Date: Sat Dec 31 2005 - 05:33:35 EST


On Sat, 31 Dec 2005 13:06:04 +1100
Peter Williams <pwil3058@xxxxxxxxxxxxxx> wrote:

> Attached is a testing version of a patch for modifying scheduler bonus
> calculations that I'm working on. Although these changes aren't
> targetted at the problem you are experiencing I believe that they may
> help. My testing shows that sched_fooler instances don't get any
> bonuses but I would appreciate it if you could try it out.
>
> It is a patch against the 2.6.15-rc7 kernel and includes some other
> scheduling patches from the -mm kernels.

Yes, this fixes both my test-case (transcode & little program), they
get priority 25 instead of ~16.

But the priority of DD is now ~23 and so it still suffers a bit:

paolo@tux /mnt $ mount space/; time dd if=space/bigfile of=/dev/null bs=1M count=128; umount space/
128+0 records in
128+0 records out

real 0m8.549s (instead of 4s)
user 0m0.000s
sys 0m0.209s

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