Re: [SCHED] wrong priority calc - SIMPLE test case
From: Mike Galbraith
Date: Tue Jan 10 2006 - 07:06:20 EST
At 08:08 AM 1/10/2006 +0100, Mike Galbraith wrote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5626 paolo 16 0 2392 288 228 R 30.1 0.1 0:39.95 a.out
5627 paolo 16 0 2392 288 228 R 24.1 0.1 0:34.93 a.out
5625 paolo 18 0 2392 288 228 R 23.5 0.1 0:37.53 a.out
5624 paolo 18 0 2392 288 228 R 21.9 0.1 0:37.60 a.out
5193 root 15 0 167m 17m 2916 S 0.2 3.5 0:09.67 X
5638 paolo 18 0 4952 1468 372 R 0.2 0.3 0:00.15 dd
DD test (256MB): real 3m37.122s (instead of 8s)
Ok, I'll take another look. Those should be being throttled.
Can you please try this version? It tries harder to correct any
imbalance... hopefully not too hard. In case you didn't notice, you need
to let your exploits run for a bit before the throttling will take
effect. I intentionally start tasks off at 0 cpu usage, so it takes a bit
to come up to it's real usage.
-Mike
-
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/