Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32288

Improve the scheduling performance of AdaptiveBatchScheduler

    XMLWordPrintableJSON

Details

    Description

      After adding the benchmark of AdaptiveBatchScheduler in FLINK-30480, we noticed a regression in the performance of SchedulingDownstreamTasksInBatchJobBenchmark#SchedulingDownstreamTasks. When scheduling a batch job with a parallelism of 4000*4000, the time spent increased from 32ms to 1336ms on my local PC.

      To improve the performance, we can optimize the traversal by checking if the consumedPartitionGroups have finished all its partitions.

      Attachments

        Issue Links

          Activity

            People

              xiasun xingbe
              xiasun xingbe
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: