lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] slub: default min_partial to at least highest cpus per node
On Tue, 7 Apr 2009, Christoph Lameter wrote:

> > Right, but right now allocating new slabs is extremely slow compared to
> > using a partial slab.
>
> Work on the page allocator is in progress. So this is band aid until the
> work on the page allocator is complete. Maybe better focus on helping Mel?
>

The page allocator may be getting significantly faster, but that is _not_
the only reason why we use partial slabs. Higher order slabs, such as the
default for kmalloc-2048, kmalloc-4096, etc., increase the liklihood of
having cpu slabs at that order as opposed to order fallback with a
sufficiently long uptime.


\
 
 \ /
  Last update: 2009-04-08 00:07    [W:0.124 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site