[
https://issues.apache.org/jira/browse/FLINK-30471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-30471:
-----------------------------------
Labels: pull-request-available (was: )
> Optimize the enriching network memory process in
> SsgNetworkMemoryCalculationUtils
> ---------------------------------------------------------------------------------
>
> Key: FLINK-30471
> URL: https://issues.apache.org/jira/browse/FLINK-30471
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Network
> Affects Versions: 1.17.0
> Reporter: Yuxin Tan
> Priority: Major
> Labels: pull-request-available
>
> In SsgNetworkMemoryCalculationUtils#enrichNetworkMemory, getting
> PartitionTypes is run in a separate loop, which is not friendly to
> performance. If we want to get inputPartitionTypes, a new separate loop may
> be introduced too.
> It just looks simpler in code, but it will affect the performance. We can get
> all the results through one loop instead of multiple loops, which will be
> faster.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)