cons_tres: refactor node weight management
Invoke select_g_job_test() one time with all valid node rather than multiple times when adding higher weight nodes. This results in the job allocation always accumulating nodes from lower to higher weights rather than possibly using mostly higher weight nodes. It also streamlines the resource allocation process for most configurations by eliminating some repeated logic as groups of nodes are added for consideration by the select plugin.
Please register or sign in to comment