lkml.org 
[lkml]   [2012]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/27] Latest numa/core release, v16

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> On Mon, Nov 19, 2012 at 11:06 PM, Ingo Molnar <mingo@kernel.org> wrote:
> >
> > Oh, finally a clue: you seem to have vsyscall emulation
> > overhead!
>
> Ingo, stop it already!
>
> This is *exactly* the kind of "blame everybody else than
> yourself" behavior that I was talking about earlier.
>
> There have been an absolute *shitload* of patches to try to
> make up for the schednuma regressions THAT HAVE ABSOLUTELY
> NOTHING TO DO WITH SCHEDNUMA, and are all about trying to work
> around the fact that it regresses. The whole TLB optimization,
> and now this kind of crap.
>
> Ingo, look your code in the mirror some day, and ask yourself:
> why do you think this fixes a "regression"?

Because scalability slowdowns are often non-linear.

So with CONFIG_NUMA_BALANCING=y we are taking a higher page
fault rate, in exchange for a speedup.

But if some other factor further increases the page fault rate
(such as vsyscall emulation) then the speedup can be
non-linearly slower than the cost of the technique - washing it
out or even turning it into an outright regression.

So, for example:

- 10K page faults/sec from CONFIG_SCHED_BALANCING: 0.5% cost
- 10K page faults/sec from vsyscall emu: 0.5% cost

If the two are mixed together the slowdown is non-linear:

- 10K+10K page faults/sec overhead is not a linear 1%, but
might be 3%

So because I did not have an old-glibc system like David's, I
did not know the actual page fault rate. If it is high enough
then nonlinear effects might cause such effects.

This is an entirely valid line of inquiry IMO.

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-11-21 18:41    [W:0.251 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site