lkml.org 
[lkml]   [2012]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Q] Default SLAB allocator
    From
    Date
    On Tue, 2012-10-16 at 09:35 -0300, Ezequiel Garcia wrote:

    > Now, returning to the fragmentation. The problem with SLAB is that
    > its smaller cache available for kmalloced objects is 32 bytes;
    > while SLUB allows 8, 16, 24 ...
    >
    > Perhaps adding smaller caches to SLAB might make sense?
    > Is there any strong reason for NOT doing this?

    I would remove small kmalloc-XX caches, as sharing a cache line
    is sometime dangerous for performance, because of false sharing.

    They make sense only for very small hosts.





    \
     
     \ /
      Last update: 2012-10-16 15:41    [W:4.065 / U:0.216 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site