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

From: Paolo Ornati
Date: Sat Dec 31 2005 - 12:41:53 EST


On Sat, 31 Dec 2005 18:24:40 +0100
Paolo Ornati <ornati@xxxxxxxxxxxxx> wrote:

> You shouldn't use "the same exact numbers", you should try different
> args and see if you can reproduce the problem. Or maybe preemption
> make some difference... I'll try with PREEMPT enabled and see.

Ok, just tried with Complete Preemption: I can easly reproduce the
problem.

For example:

"./a.out 1000 & ./a.out 1239"

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5433 paolo 16 0 2396 324 252 R 50.3 0.1 0:34.67 a.out
5434 paolo 16 0 2392 320 252 R 47.4 0.1 0:30.76 a.out
265 root -48 -5 0 0 0 S 0.6 0.0 0:00.68 IRQ 12
5261 root 15 0 166m 16m 2844 S 0.6 3.3 0:04.81 X
5349 paolo 15 0 86640 22m 15m S 0.6 4.5 0:01.36 konsole
5344 paolo 15 0 98.8m 20m 12m S 0.3 4.1 0:01.64 kicker
5444 paolo 18 0 4948 1520 412 R 0.3 0.3 0:00.05 dd

--
Paolo Ornati
Linux 2.6.15-rc7-rt1 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/