Skip to content
Snippets Groups Projects
Forked from openldap / OpenLDAP
Source project has a limited visibility.
  • Howard Chu's avatar
    5c7a7998
    Set the id2entry database pagesize to BDB_ID2ENTRY_PAGESIZE to avoid · 5c7a7998
    Howard Chu authored
    overflow/fragmentation. (This is now 16K vs default 4K.) It turns out
    that the entries' on-disk format is quite space-inefficient, storing
    4 bytes per pointer or integer when typically >50% of those bytes are
    zero. Oh well. It's about a 2:1 space increase over ldbm now, vs 4:1
    before when all the entries were overflowing the 4K pages.
    5c7a7998
    History
    Set the id2entry database pagesize to BDB_ID2ENTRY_PAGESIZE to avoid
    Howard Chu authored
    overflow/fragmentation. (This is now 16K vs default 4K.) It turns out
    that the entries' on-disk format is quite space-inefficient, storing
    4 bytes per pointer or integer when typically >50% of those bytes are
    zero. Oh well. It's about a 2:1 space increase over ldbm now, vs 4:1
    before when all the entries were overflowing the 4K pages.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.