Details
-
Improvement
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
None
-
None
Description
Currently, in PlanFinalizer, we travel all the job vertices to calculate the consumer weights of the memory and then assign the weights for each job vertex. In the case of a large job graph, e.g. with multiple joins, group reduces, the value of consumer weights will be very high and the available memory for each job vertex will be very low.
I think it makes more sense to calculate the consumer weights of the memory at the job vertex level (after chaining), in order to maximize the usage ratio of the memory.