risdenk commented on PR #895:
URL: https://github.com/apache/lucene/pull/895#issuecomment-1128011527

   So just to clarify - today (and ever since spins = false either detected or 
default) - the minimum has been 4 threads. 
   
   I'm not sure I understand "I'd just change the upper limit. But there should 
be a cap." @uschindler.
   
   are you saying something like:
   
   `Math.max(1, coreCount / 2)` - so the minimum is 1 but still variable based 
on coreCount.
   
   or 
   
   `Math.max(4, Math.min(10, coreCount / 2)` - so there is a maximum of 10, but 
minimum of 4 based on `coreCount / 2`.
   
   or
   
   `Math.max(1, Math.min(10, coreCount / 2)` - so there is a maximum of 10, but 
there is a minimum of 1 based on `coreCount / 2`
   
   or something completely different.
   
   Note: the 10 above is just some arbitrary max just to illustrate. 


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