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/02 07:46:00 UTC
[jira] [Updated] (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 updated FLINK-31288:
-------------------------------
Description:
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:
1. For BoundedBlockingShuffle, each full buffer will be directly released.
2. For SortMergeShuffle, the maximum capacity of buffer pool is 4 * numSubpartitions. It is efficient enough to spill this part of memory to disk.
3. For Hybrid Shuffle, the buffer pool is unbounded. If it can't get a normal buffer, it also can't get an overdraft buffer.
> Disable overdraft buffer for batch shuffle
> ------------------------------------------
>
> Key: FLINK-31288
> URL: https://issues.apache.org/jira/browse/FLINK-31288
> Project: Flink
> Issue Type: Bug
> Reporter: Weijie Guo
> Assignee: Weijie Guo
> Priority: Major
>
> 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:
> 1. For BoundedBlockingShuffle, each full buffer will be directly released.
> 2. For SortMergeShuffle, the maximum capacity of buffer pool is 4 * numSubpartitions. It is efficient enough to spill this part of memory to disk.
> 3. 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)