lkml.org 
[lkml]   [2011]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] Lockless SLUB slowpaths for v3.1-rc1
On Mon, 1 Aug 2011, David Rientjes wrote:

> On Mon, 1 Aug 2011, Pekka Enberg wrote:
>
> > Btw, I haven't measured this recently but in my testing, SLAB has
> > pretty much always used more memory than SLUB. So 'throwing more
> > memory at the problem' is definitely a reasonable approach for SLUB.
> >
>
> Yes, slub _did_ use more memory than slab until the alignment of
> struct page. That cost an additional 128MB on each of these 64GB
> machines, while the total slab usage on the client machine systemwide is
> ~75MB while running netperf TCP_RR with 160 threads.

I guess that calculation did not include metadata structures (alien caches
and the NR_CPU arrays in kmem_cache) etc? These are particularly costly on SLAB.



\
 
 \ /
  Last update: 2011-08-02 16:17    [W:0.082 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site