benwtrent commented on PR #13124:
URL: https://github.com/apache/lucene/pull/13124#issuecomment-1959551147

   > So I think it is still better to have two separate thread pools for 
inter-segment merge and inner segment merge, but I wonder whether we can have a 
ThreadPoolManager which configures both inter and inner pool. And CMS and HNSW 
merge (and any future merges) will source from this manager?
   
   Maybe? But this doesn't seem to simplify anything for users. They will still 
need two things to configure (number of merges that can happen at a time, 
number of threads available to all those merges to take action). 
   
   There is always the issue of best using resources and the potential of 
over-allocating the CPU cores. I don't think any finagling we do will 
ultimately change that.
   
   Selfishly, I really don't want to mess with the CMS code at all. Even if we 
switch it to use an executor of some sort, the complexities of I/O throttling & 
executable queuing would still all exist. 


-- 
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: issues-unsubscr...@lucene.apache.org

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