You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change split_by_cost to not split by prime factors anymore — instead, like split_by_effort, always divide into two pieces along some axis, except that the "halves" are unequal (weighed by the number of processes that will go into each half) for an odd number of processes. (Recursively.) (Hence it will always give the requested number of chunks, regardless of the prime factorization.)
Give split_by_cost an option to use a simpler cost metric of just the number of pixels in a subvolume, similar to split_by_effort.
At this point, split_by_effort should be redundant (and slower) and can be eliminated.
The text was updated successfully, but these errors were encountered:
Just as a comparison, the chunk layouts for split_by_effort versus split_by_cost for a square 2d cell with just vacuum shows that currently they often produce different results:
The results for split_by_effort for the case of 5 and 10 chunks are clearly better than split_by_cost since those chunks have less surface area.
Also note that even when the results are similar (for the case of 8 chunks), the ordering of the chunks is different as demonstrated by their colors.
Steps:
Change
split_by_cost
to not split by prime factors anymore — instead, likesplit_by_effort
, always divide into two pieces along some axis, except that the "halves" are unequal (weighed by the number of processes that will go into each half) for an odd number of processes. (Recursively.) (Hence it will always give the requested number of chunks, regardless of the prime factorization.)Give
split_by_cost
an option to use a simpler cost metric of just the number of pixels in a subvolume, similar tosplit_by_effort
.At this point,
split_by_effort
should be redundant (and slower) and can be eliminated.The text was updated successfully, but these errors were encountered: