gortiz commented on PR #9012:
URL: https://github.com/apache/pinot/pull/9012#issuecomment-1186825898

   > maybe we can reduce this to 1? some older laptops don't have 8 cores.
   
   This is not going to be enforced by k8s. Instead, the OS is the one that is 
going to time slice between them. In most cases this isn't going to be a 
problem because, for example, when a query is being executed either the threads 
from the server or the ones from the broker will be active, but not both at the 
same time. If we decide to use only 1 thread then we would need to change the 
GC (doesn't make sense to use G1 with 1 thread).
   
   > I am not familiar with now minikube/microk8s maps CPUs to host, just to 
clarify are these 8 cores virtual or the ones that are physical (include 
hyperthreading)?
   
   TBH I'm also not sure. But remember that by using `-XX:ActiveProcessorCount` 
we do not depend on k8s now.
   
   
   


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to