Re: HT scheduler: is it really correct? or is it feature of HT?

From: Tetsuji \"Maverick\" Rai
Date: Thu May 19 2005 - 02:00:56 EST


On 5/19/05, Con Kolivas <kernel@xxxxxxxxxxx> wrote:
> ------------snip---------------
> Hyperthread sibling cpus share cpu power. If you let a nice 19 task run full
> power on the sibling cpu of a nice 0 task it will drain performance from the
> nice 0 task and make it run approximately 40% slower. The only way around
> this is to temporarily make the sibling run idle so that a nice 0 task gets
> the appropriate proportion of cpu resources compared to a nice 19 task. It is
> intentional and quite unique to the linux cpu scheduler as far as I can tell.
> On any other scheduler or OS a nice 19 "background" task will make your
> machine run much slower.
>
> Cheers,
> Con
>

Thanks. I understood it's a feature of linux kernel and am satisfied
with it. Actually on Windows xp my application sometimes slows down
maybe due to inpropoer scheduler.

--
Luckiest in the world / Weapon of Mass Distraction
http://maverick6664.bravehost.com/
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Background: http://maverick.ns1.name/
-
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/