This is an automated email from the ASF dual-hosted git repository. guoweijie pushed a commit to branch release-1.17 in repository https://gitbox.apache.org/repos/asf/flink.git
commit 7dd61c31714c1b07790982d21a486f5f803708df Author: Weijie Guo <[email protected]> AuthorDate: Thu Mar 2 18:08:37 2023 +0800 [FLINK-31288][doc] Update doc ralated to overdraft buffer. --- docs/content.zh/docs/deployment/memory/network_mem_tuning.md | 4 ++++ docs/content/docs/deployment/memory/network_mem_tuning.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/content.zh/docs/deployment/memory/network_mem_tuning.md b/docs/content.zh/docs/deployment/memory/network_mem_tuning.md index 65ab04b60ee..5f38a245e6c 100644 --- a/docs/content.zh/docs/deployment/memory/network_mem_tuning.md +++ b/docs/content.zh/docs/deployment/memory/network_mem_tuning.md @@ -133,6 +133,10 @@ Flink 有多个本地缓冲区池 —— 每个输出和输入流对应一个。 为了缓解这种情况,增加了透支缓冲区的概念。这些透支缓冲区是可选的,Flink 可以仅仅使用常规的缓冲区逐渐取得进展,也就是 说 `0` 是 `taskmanager.network.memory.max-overdraft-buffers-per-gate` 可以接受的配置值。 +{{< hint warning >}} +该特性只对`Pipelined Shuffle`生效。 +{{< /hint >}} + ## 缓冲区的数量 独占缓冲区和流动缓冲区的默认配置应该足以应对最大吞吐。如果想要最小化缓冲数据量,那么可以将独占缓冲区设置为 `0`,同时减小内存段的大小。 diff --git a/docs/content/docs/deployment/memory/network_mem_tuning.md b/docs/content/docs/deployment/memory/network_mem_tuning.md index c1af259f57d..bd07da88e8e 100644 --- a/docs/content/docs/deployment/memory/network_mem_tuning.md +++ b/docs/content/docs/deployment/memory/network_mem_tuning.md @@ -142,6 +142,10 @@ buffers concept has been added. Those overdraft buffers are strictly optional an gradually make progress using only regular buffers, which means `0` is an acceptable configuration for the `taskmanager.network.memory.max-overdraft-buffers-per-gate`. +{{< hint warning >}} +This feature only takes effect for `Pipelined Shuffle`. +{{< /hint >}} + ## The number of in-flight buffers The default settings for exclusive buffers and floating buffers should be sufficient for the maximum throughput. If the minimum of in-flight data needs to be set, the exclusive buffers can be set to `0` and the memory segment size can be decreased.
