--On Wednesday, February 18, 2009 12:26 AM +1000 "Brett @Google" <brett.maxfield@gmail.com> wrote:
I note the benchmark files from Symas use memory mapped files, so i'm assuming there is a clear performance benefit, is this true ?
Yes.
So if there is a clear query performance or other benefit, is there any additional risk of corruption over memory mapped files (vs. the 25% load speed improvement) ?
When I did those tests for Symas, shm keys at the time made a substantial difference on Solaris only. That was with BDB 4.2& OpenLDAP 2.3 however. With BDB 4.7.25& OpenLDAP 2.4, they seem to make an impressive difference on Linux as well.