[ 
https://issues.apache.org/jira/browse/FLINK-31843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-31843:
-----------------------------------
    Labels: pull-request-available  (was: )

> Select slots from SlotPool#freeSlots in bulk
> --------------------------------------------
>
>                 Key: FLINK-31843
>                 URL: https://issues.apache.org/jira/browse/FLINK-31843
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>            Reporter: Weihua Hu
>            Priority: Major
>              Labels: pull-request-available
>
> we should also reduce the number of calls of "getFreeSlotInformations". In 
> current implementation, the scheduler will batch request slots for tasks in 
> the same pipeline region(ExecutionSlotAllocator#allocateSlotsFor), but the 
> slot allocator will process these requests one by one, and call 
> "getFreeSlotInformations" once for each request.
> We can optimize it to call "getFreeSlotInformations" once for a bulk (of slot 
> requests), instead of once for each slot request. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to