Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a great deal of experience in running very large memory-mapped databases using LMDB.

The default Linux settings dealing with memory mapped files are pretty horrible. The observed poor performance is directly related to not configuring several very important kernel parameters.




Can you share a couple examples of those parameters?


This describes the relevant kernel variables:

https://synapse.docs.vertex.link/en/latest/synapse/devguides...


These settings control writing back modified pages. The experiments in the paper are read-only. With writes the situation is even worse than shown in the paper (though tuning these settings may help a bit).




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: