You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Jason Rutherglen <ja...@gmail.com> on 2009/09/18 07:04:34 UTC

Madvise using JNA (Java Native Access)?

Maybe we can bypass writing JNI and use JNA?
https://jna.dev.java.net/

Apparently it doesn't work on the Mac and it's LGPL, however it
would be great to be able to plugin madvise for the merges.
Where the issue is merges do not need to be read into the system
IO cache, however they are anyways. The result is the segments
being queried can be partially unloaded from the IO cache and search
performance may degrade (for example after an optimize).

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org