Madvise using JNA (Java Native Access)?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Madvise using JNA (Java Native Access)?

Jason Rutherglen
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: [hidden email]
For additional commands, e-mail: [hidden email]