Re: [Bug #11308] tbench regression on each kernel release from 2.6.22 -> 2.6.28

Linus Torvalds
2008-11-17T19:57:55Z

On Mon, 17 Nov 2008, David Miller wrote:
>
> And as a result I found that wake_up() is now 4 times slower than it
> was in 2.6.22, I even analyzed this for every single kernel release
> till now.

..and that's the one where you then pointed to hrtimers, and now you claim
that was fixed?

At least I haven't seen any new analysis since then.

> It could be a sparc specific issue, because the call chain is deeper
> and we eat a lot more register window spills onto the stack.

Oh, easily. In-order machines tend to have serious problems with indirect
function calls in particular. x86, in contrast, tends to not even notice,
especially if the indirect function is fairly static per call-site, and
predicts well.

There is a reason my machine is 15-20 times faster than yours.

Linus