lkml.org 
[lkml]   [2008]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] procfs: provide slub's /proc/slabinfo
    On Fri, 4 Jan 2008, Peter Zijlstra wrote:

    > I remember wli trying to work out a series that had minimal
    > fragmentation. IIRC he was mixing a fibonaci series with the power of
    > two series.
    >
    > Bill, do you remember getting anywhere?

    I tried various approaches to reduce the overhead that power of two slab
    sizes cause in SLUB during the initial comparison of memory use with SLOB.
    This involved creating slabs in 32 byte increments and trying to add a few
    additional extra slabs in between the power of two sizes. None of that led
    to convincing results.

    I found that the SLAB scheme with power of two caches and two extra ones
    (96 and 192 bytes) was optimal.


    \
     
     \ /
      Last update: 2008-01-04 21:39    [W:3.279 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site