Skip to content
Snippets Groups Projects
  • mechanik20051988's avatar
    bc88b325
    memtx: implement system allocator, based on malloc · bc88b325
    mechanik20051988 authored
    Slab allocator, which is used for tuples allocation,
    has a certain disadvantage - it tends to unresolvable
    fragmentation on certain workloads (size migration).
    In this case user should be able to choose other allocator.
    System allocator based on malloc function, but restricted
    by the same qouta as slab allocator. System allocator
    does not alloc all memory at start, istead, it allocate
    memory as needed, checking that quota is not exceeded.
    Part of #5419
    bc88b325
    History
    memtx: implement system allocator, based on malloc
    mechanik20051988 authored
    Slab allocator, which is used for tuples allocation,
    has a certain disadvantage - it tends to unresolvable
    fragmentation on certain workloads (size migration).
    In this case user should be able to choose other allocator.
    System allocator based on malloc function, but restricted
    by the same qouta as slab allocator. System allocator
    does not alloc all memory at start, istead, it allocate
    memory as needed, checking that quota is not exceeded.
    Part of #5419