Re: Stolen and degraded time and schedulers

From: Lennart Sorensen
Date: Wed Mar 14 2007 - 11:12:34 EST


On Wed, Mar 14, 2007 at 08:08:17AM -0700, Jeremy Fitzhardinge wrote:
> You're right. That's a very tough case. I don't know if there's any
> way to do a reasonable estimate of the slowdown. You could handwave it
> and say "if both threads are running a process, then apply an X scaling
> factor to their rate of progress". That might be enough.

I would think that's a bad idea. I expect future processors to do HT
much better than the P4 did. There will always be cases where two
processes don't share well, but the majority of cases they probably will
share well. Of course if you don't have enough processes to keep all
the CPU cores busy, you might as well not schedule something on the
siblings on HT processors, but on the other hand maybe you should if you
can power down other cpus completely to save power and still get all the
work done at maximum speed.

--
Len Sorensen
-
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/