https://kotlinlang.org logo
#coroutines
Title
# coroutines
l

Luis Munoz

01/16/2020, 4:20 PM
If I have a fixed thread pool of 8 threads (my CPU has 4 cores, 8 hyper threads) and I look at the queue size and is between 0 and 1k, and the processing is CPU bound. My CPU usage is never maxed out (20% ish). Does that mean that adding more threads should necessarily keep my queue size from spiking to 1k? Don't understanding how my cpu isn't maxed out and I can be getting queuing
j

jimn

01/16/2020, 4:51 PM
did you profile execution for the percentage of stacktraces?
d

Dico

01/16/2020, 6:21 PM
Your workload may be using blocking IO
3 Views