What is the slot vs cpu ratio?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the slot vs cpu ratio?

srikanth flink
Hi there,

I've 3 node cluster with 16cores each. How many slots could I utilize at max and how to I do the calculation?


Thanks
Srikanth
Reply | Threaded
Open this post in threaded view
|

Re: What is the slot vs cpu ratio?

vino yang
Hi srikanth,

Referred from the official document:

"Each Flink TaskManager provides processing slots in the cluster. The number of slots is typically proportional to the number of available CPU cores of each TaskManager. As a general recommendation, the number of available CPU cores is a good default for taskmanager.numberOfTaskSlots."

So based on the recommendation, you can have a 3 * 16 = 48(max) slots.  And the calculation information is here[1].

Additionally, here is some resource about the task slot[2].


Best,
Vino

srikanth flink <[hidden email]> 于2019年11月6日周三 下午9:45写道:
Hi there,

I've 3 node cluster with 16cores each. How many slots could I utilize at max and how to I do the calculation?


Thanks
Srikanth