Try out new MMapDirectory implementation in Lucene using Panama (FFM) #10552
Labels
discuss
Issues intended to help drive brainstorming and decision making
enhancement
Enhancement or improvement to existing feature or request
Libraries
Lucene Upgrades and Libraries, Any 3rd party library that Core depends on, ex: nebula; team is respo
Performance
This is for any performance related enhancements or bugs
Search:Performance
Is your feature request related to a problem? Please describe.
I came across this talk by @uschindler. The latest on the work that Uwe presented is here. I am personally interested in seeing how this would work with the effort in Netty 5 to replace the use of the off-heap direct buffer with Panama. I think Uwe's work can be exploited in OpenSearch in all index read situations. But I think it might have a significant impact in shard or segment re-allocation or replication scenarios and for that, I am wondering if it would be possible to bypass the JVM heap entirely and pass references to mmap directly to the network module (Netty) via a foreign method. And if that is in fact doable, as was mentioned in the talk, how would unmap work when a network thread is still reading from a mmapped region.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: