Re:LMDB: Intel Optane SSD Microbenchmark
by ghc on Thursday November 08, 2018 @09:40AM
(#18406507)
I can't wait until we see Optane DIMMs come to market. It's no surprise that Optane doesn't perform great as an SSD when every part of the stack is so highly optimized to minimize the impact of SSD limitations.
[ Parent
| on HN ]
Re:LMDB: Intel Optane SSD Microbenchmark
by hyc_symas on Thursday November 08, 2018 @09:52AM
(#18406581)
We'll have test results on Optane DIMMs posted "soon" - as soon as the NDA expires...
Re:LMDB: Intel Optane SSD Microbenchmark
by ryanworl on Thursday November 08, 2018 @10:13AM
(#18406750)
Did you use the cache-line flush instructions directly or use some higher-level package from the PMDK for adding byte-addressable NVM support to LMDB?
Re:LMDB: Intel Optane SSD Microbenchmark
by hyc_symas on Thursday November 08, 2018 @02:10PM
(#18408978)
Nope, nor was any of that necessary. LMDB works reliably with Optane DIMMs already, unmodified, by default. By default, LMDB uses a read-only mmap and write() syscalls, so it's the OS's job to persist the data. If you used the MDB_WRITEMAP option to write through the mmap, then you would indeed need to add explicit cache-line flush instructions. But that's not the recommended way to use LMDB.