adaptdl icon indicating copy to clipboard operation
adaptdl copied to clipboard

what does _get_cluster_sizes function mean

Open tingshua-yts opened this issue 2 years ago • 1 comments

when I read adaptdl_sched source code, I meat the _get_cluster_sizes function , I guess this function help for optimize the cluster resource utilization ratio. But I can not understand how it work,can anyone explain for me.

thank you very much indeed

tingshua-yts avatar Jul 26 '22 13:07 tingshua-yts

Thanks for the inquiry! It simply calculates the size of the cluster each individual solution in the genetic algorithm uses. If cluster auto-scaling is enabled, the policy will check for the best individual solution that's in the range of acceptable cluster sizes.

aurickq avatar Aug 03 '22 22:08 aurickq