Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Done
-
1.18.0
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
- is duplicated by
-
FLINK-32306 Multiple batch scheduler performance regressions
- Closed
- is related to
-
FLINK-30480 Add benchmarks for adaptive batch scheduler
- Closed
- links to