#lmdb

4 posts · Last used Oct 19

@teajaygrey@rap.social back when we were still using #BerkeleyDB, on a 5M user DB, #OpenLDAP authentication rates were over 2 orders of magnitude faster than ActiveDirectory on the same hardware and OS. (Even faster than that with OpenLDAP on Linux vs Windows too.) https://web.archive.org/web/20071214114023/http://connexitor.com/blog/pivot/entry.php?id=185#body They've only gotten slower, while our transition to #LMDB got even faster...
3
0
0
1
Thunderbird 3 adopts #LMDB "Thunderbird’s legacy “Offline Storage” (OST) mode writes duplicate copies of every message to local SQLite DBs—increasing SSD write amplification by 3.1× and accelerating NAND wear. Alpha 1 replaces OST with a unified, journal-optimized LMDB store that shares indexes across accounts—reducing on-disk footprint by 62% and eliminating write stalls during large attachments."
8
1
1
0
Replying to
Nice to see someone actually using time/motion studies to optimize the Thunderbird UI and UX. Actual adults in the room... "Cache search indexes in #LMDB (lightning-fast, memory-mapped B+ trees) and update incrementally on message arrival. Benchmark: 92% of common actions completed in ≤0.9 s (vs. 3.2 s baseline) on Thunderbird 115 with 120k messages."
1
0
2
1
Tune LMDB, Entry Cache and DN Cache in 389 Directory Server Tune 389 Directory Server LMDB map size, entry cache, DN cache, and normalized DN cache using dsconf backend config, monitor dbmon, and memory budgeting on MDB backends. https://www.golinuxcloud.com/389-directory-server-lmdb-tuning/ SMH. I wrote #LMDB so that we could eliminate the entry and DN caches in OpenLDAP. Once again, the 389DS guys are Doing It Wrong. They've perpetuated the cache tuning headaches of BDB instead of properly leveraging LMDB.
1
6
0
0