3 ms·
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 pre
by jnwatson 5y ago
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.
- jzwinck 5y agoCan you share a couple examples of those parameters?
- jnwatson 5y agoThis describes the relevant kernel variables: https://synapse.docs.vertex.link/en/latest/synapse/devguides/devops_general.html#tips-for-better-performance https://synapse.docs.vertex.link/en/latest/synapse/devguides...
- sprachspiel 5y agoThese 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).