You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2023/03/03 14:51:00 UTC

[jira] [Closed] (FLINK-31288) Disable overdraft buffer for batch shuffle

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

Weijie Guo closed FLINK-31288.
------------------------------
    Fix Version/s: 1.17.0
       Resolution: Fixed

> Disable overdraft buffer for batch shuffle
> ------------------------------------------
>
>                 Key: FLINK-31288
>                 URL: https://issues.apache.org/jira/browse/FLINK-31288
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.17.0, 1.16.1
>            Reporter: Weijie Guo
>            Assignee: Weijie Guo
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.17.0
>
>
> Only pipelined / pipelined-bounded partition needs overdraft buffer. More specifically, there is no reason to request more buffers for non-pipelined (i.e. batch) shuffle. The reasons are as follows:
>  # For BoundedBlockingShuffle, each full buffer will be directly released.
>  # For SortMergeShuffle, the maximum capacity of buffer pool is 4 * numSubpartitions. It is efficient enough to spill this part of memory to disk.
>  # For Hybrid Shuffle, the buffer pool is unbounded. If it can't get a normal buffer, it also can't get an overdraft buffer.



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