Hello guys, what is the `max_vcpu` is recommended ...
# ask-metaflow
f
Hello guys, what is the
max_vcpu
is recommended for batch? Currently it is set at 32 for my usecase. Just curious what others are setting it to.
1
a
Its effectively the max size the cluster can scale to, 100% depends on your workloads. Technically there is no downside in setting it very high, the only reason not to is if you accidentally run a giant foreach flow, and forget about it over a weekend, it'll run up a huge bill. Having a lower max_vcpu acts as a sort of safety backstop to limit the maximum amount of money spend on batch per hour