lkml.org 
[lkml]   [2012]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/8] Announcement: Enhanced NUMA scheduling with adaptive affinity

* Christoph Lameter <cl@linux.com> wrote:

> On Tue, 13 Nov 2012, Ingo Molnar wrote:
>
> > > the pages over both nodes in use.
> >
> > I'd not go as far as to claim that to be a general rule: the
> > correct placement depends on the system and workload
> > specifics: how much memory is on each node, how many tasks
> > run on each node, and whether the access patterns and
> > working set of the tasks is symmetric amongst each other -
> > which is not a given at all.
> >
> > Say consider a database server that executes small and large
> > queries over a large, memory-shared database, and has worker
> > tasks to clients, to serve each query. Depending on the
> > nature of the queries, interleaving can easily be the wrong
> > thing to do.
>
> The interleaving of memory areas that have an equal amount of
> shared accesses from multiple nodes is essential to limit the
> traffic on the interconnect and get top performance.

That is true only if the load is symmetric.

> I guess through that in a non HPC environment where you are
> not interested in one specific load running at top speed
> varying contention on the interconnect and memory busses are
> acceptable. But this means that HPC loads cannot be auto
> tuned.

I'm not against improving these workloads (at all) - I just
pointed out that interleaving isn't necessarily the best
placement strategy for 'large' workloads.

Thanks,

Ingo


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