uschindler commented on pull request #177:
URL: https://github.com/apache/lucene/pull/177#issuecomment-866112156


   > > This was negotiated today 👍
   > > To read the whole story check here: [openjdk/panama-foreign#555 
(comment)](https://github.com/openjdk/panama-foreign/pull/555#issuecomment-865672909)
   > 
   > Wow, awesome! I love that your efforts to get Lucene working well on top 
of these new Java-friendly `mmap` APIs is uncovering things to fix / iterations 
to iterate, thanks to unexpectedly slower Lucene faceting!
   > 
   > `luceneutil` throws away first few iterations of each task to allow for 
"warmup", but I guess it was not enough here.
   > 
   > Maybe we could fix `luceneutil` to do this more dynamically, e.g. 
introspect on when hotspot has "mostly" finished compiling the hotspots, and 
things have reached steady state, instead of the fixed "discard first N results 
per task"?
   
   I think this is what JMH should help us to do. The problem with luceneutil 
is also that it respawns a JVM multiple times. Maybe it should just execute 
more queries (the same ones in a loop) in the same JVM (like running 20 times 
as long instead of 20 separate JVMs) and then drop like half of the 
measurements. The problem is that Hotspot is optimizing all the time and it's 
hard to figure out when it is done.


-- 
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.

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

Reply via email to