lkml.org 
[lkml]   [2009]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 12 Mar 2009 11:43:57 -0700 (PDT)
FromDavid Rientjes <>
SubjectRe: [patch -mm v2] cpusets: add memory_slab_hardwall flag
On Thu, 12 Mar 2009, Christoph Lameter wrote:

> > Cpusets are hierarchical, so it is quite possible that a parent cpuset
> > will include a group of cpus that has affinity to a specific group of
> > mems. This isolates that cpuset and all of its children for NUMA
> > optimiziations. Within that, there can be several descendant cpusets that
> > include disjoint subsets of mems to isolate the memory that can be used
> > for specific jobs.
>
> Yes cpusets are hierachical for management purposes but it is well known
> that overlaying cpusets for running applications can cause issues with the
> scheduler etc. Jobs run in the leaf not in the higher levels that may
> overlap.
>

Yes, jobs are running in the leaf with my above example. And it's quite
possible that the higher level has segmented the machine for NUMA locality
and then further divided that memory for individual jobs. When a job
completes or is killed, the slab cache that it has allocated can be freed
in its entirety with no partial slab fragmentation (i.e. there are no
objects allocated from its slabs for disjoint, still running jobs). That
cpuset may then serve another job.


\
 
 \ /
  Last update: 2009-03-12 19:47    [from the cache]
©2003-2010