Using directio with nfs makes no sense at all to me, I think that is the problem in a nutshell. Directio tries to bypass the operating systems buffers, but that's not going to play nicely with nfs.
On Wed, Mar 22, 2023, 4:38 PM david-sitsky (via GitHub) <g...@apache.org> wrote: > > david-sitsky commented on issue #12185: > URL: https://github.com/apache/lucene/issues/12185#issuecomment-1480390389 > > As an aside, in some standard benchmark tests I run with our product, I > have found the final optimisation of Lucene indexes after all the data has > been indexed took 36 seconds with NIO, but 148 seconds with NIO+DirectIO > enabled. For mmap, optimisation took 30 seconds but 100 seconds with > DirectIO was enabled. So it is odd the use-case DirectIO was meant to > speed up actually seemed to be slower.. > > > -- > This is an automated message from the Apache Git Service. > To respond to the message, please log on to GitHub and use the > URL above to go to the specific comment. > > To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org > > For queries about this service, please contact Infrastructure at: > us...@infra.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org > For additional commands, e-mail: issues-h...@lucene.apache.org > >