lkml.org 
[lkml]   [2009]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/3]: xvmalloc memory allocator
    On Tue, 17 Mar 2009, Nitin Gupta wrote:

    > Slub allocator could not be used due to fragmentation issues:
    > http://code.google.com/p/compcache/wiki/AllocatorsComparison
    > Data here shows kmalloc using ~43% more memory than TLSF and xvMalloc
    > is showed ~2% more space efficiency than TLSF (due to smaller metadata).

    Well this looks like the use of 2^n sizes of the kmalloc arrayse cause a
    lot of wastage here. Creating slab caches that fit your needs may help?
    Have you had a look at the SLOB approach?


    \
     
     \ /
      Last update: 2009-03-17 17:49    [W:0.025 / U:0.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site