[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Patch workqueue: create new slab cache instead of hacking
    On Wed, 2012-03-21 at 10:03 -0500, Christoph Lameter wrote:
    > On Wed, 21 Mar 2012, Eric Dumazet wrote:
    > > Creating a dedicated cache for few objects ? Thats a lot of overhead, at
    > > least for SLAB (no merges of caches)
    > Its some overhead for SLAB (a lot is what? If you tune down the per cpu
    > caches it should be a couple of pages) but its none for SLUB.

    SLAB overhead per cache is O(CPUS * nr_node_ids) (unless alien caches
    are disabled)

    For few in flight objects, its just better to use standard kmalloc-xxxx

     \ /
      Last update: 2012-03-21 17:07    [W:0.019 / U:2.020 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site