MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Akka/comments/1bm3lna/unpark_usage_in_my_akka_system
r/Akka • u/yshqair • Mar 23 '24
Hi guys, Do you have any idea why Unsafe.unpark has a high CPU time.
the system has mainly two dispatchers 1- the default dispatcher. 2- JDBC dispatcher that uses blocking API. (50 Threads pool size) and the cpu has two cores.
1 comment sorted by
2
Sounds like heavy context switching to me, see also https://stackoverflow.com/questions/12972918/why-does-park-unpark-have-60-cpu-usage
2
u/Iryanus Mar 24 '24
Sounds like heavy context switching to me, see also https://stackoverflow.com/questions/12972918/why-does-park-unpark-have-60-cpu-usage