@nprofile1q... Try using the last few characters as the names of directories. When using the first few characters, all files in a dir have the same prefix, but when using the last few characters, then the distribution of the files in the dir is essentially random. The later has been some 30% faster for our use case. LMDB has been pretty good and reliable too, for our rare-writes but lots-of-reads work-load.