Re: Stolen and degraded time and schedulers

Lennart Sorensen
2007-03-14T15:12:19Z

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