[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH 00/26] sched/numa

* Linus Torvalds <> wrote:

> On Mon, Mar 19, 2012 at 1:28 PM, Ingo Molnar <> wrote:
> >
> > That having said PeterZ's numbers showed some pretty good
> > improvement for the streams workload:
> >
> >  before: 512.8M
> >  after: 615.7M
> >
> > i.e. a +20% improvement on a not very heavily NUMA box.
> Well, streams really isn't a very interesting benchmark. It's
> the traditional single-threaded cpu-only thing that just
> accesses things linearly, and I'm not convinced the numbers
> should be taken to mean anything at all.

Yeah, I considered it the 'ideal improvement' for memory-bound,
private-working-set workloads on commodity hardware - i.e. the
upper envelope of anything that might matter. We don't know the
worst-case regression percentage, nor the median improvement -
which might very well be a negative number.

More fundamentally we don't even know whether such access
patterns matter at all.

> The HPC people want to multi-thread things these days, and
> "cpu/memory affinity" is a lot less clear then.
> So I can easily imagine that the performance improvement is
> real, but I really don't think "streams improves by X %" is
> all that interesting. Are there any more relevant loads that
> actually matter to people that we could show improvement on?

That would be interesting to see.

I could queue this up in a topical branch in a pure opt-in
fashion, to make it easier to test.

Assuming there will be real improvements on real workloads, do
you have any fundamental objections against the 'home node'
concept itself and its placement into mm_struct? I think it
makes sense and mm_struct is the most logical place to host it.

The rest looks rather non-controversial to me, apps that want
more memory affinity should get it and both the VM and the
scheduler should help achieve that goal, within memory and CPU
allocation constraints.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-03-20 08:35    [W:0.198 / U:41.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site