Perf comparision for MMapDirectory Vs NIOFSDirectory
ashwini singh <[email protected]> Wed, 21 May 2025 22:47:01 -0700
| Newsgroups | gmane.comp.jakarta.lucene.user |
|---|---|
| Message-ID | <CAG15JAdHWPA-Ys+EGqwQ25VDbUS=ku3NEQtxD6ckwdLjPs98Tg@mail.gmail.com> |
As per Lucene documentation there is not much difference between these 2 implementations and users should use the Open() method and Lucene choses the best implementation based on the system. https://lucene.apache.org/core/9_7_0/core/org/apache/lucene/store/FSDirectory.html Is there any perf impact on choosing one of the options on a 64 bit linux system ? Do we have any comparison numbers? What is the advantage of using MMapDirectory when we already have a system buffer cache (on linux) for file access ? Thanks Ashwini