benwtrent commented on issue #15286: URL: https://github.com/apache/lucene/issues/15286#issuecomment-3474810404
> I read that virtual threads get pinned to the carrier platform thread when used for Foreign Function and Memory API. Yeah, I don't think we should use virtual threads for MMAP things. Though I do think this pinning issue has been fixed (I recollect seeing a jep about fixing this recently....) > Is the thinking here that we continue to use mmap access for the ANN graph search (fetching neighbor vector values for similarity checks), and independently leverage DirectIO with virtual threads for tasks like rescoring on vector similarity? My thinking is that whomever creates the scorer (e.g. the format) has the appropriate context available to know what to do. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
