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

From: Con Kolivas
Date: Thu May 19 2005 - 02:18:07 EST


On Thu, 19 May 2005 04:58 pm, Tetsuji "Maverick" Rai wrote:
> 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.
> >
> 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.

Well I invented it so it's very unlikely that Windows* will have it (?yet) :D

Cheers,
Con
-
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/