DARMA-tasking / LB-analysis-framework

Analysis framework for exploring, testing, and comparing load balancing strategies
Other
3 stars 1 forks source link

#464: optimize transfer swapping logic and improve instrumentation … #465

Closed ppebay closed 10 months ago

ppebay commented 10 months ago

Resolves #464

Supersedes PR #451

ppebay commented 10 months ago

@nlslatt following block reintegrated:

           # Check if the current imbalance is within the target_imbalance range
           if stats.statistics["imbalance"] <= self.__target_imbalance:
               self._logger.info(f"Reached target imbalance of {self.__target_imbalance} after {i + 1} iterations.")
               break

Cherry-picking process should be complete now, sorry for multiple iterations

cwschilly commented 10 months ago

@ppebay @nlslatt The PR now passes all tests; I also noticed some more missing cherry-picks, so I reverted them

cwschilly commented 10 months ago

@nlslatt Should be good to go now