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/04/11 05:47:00 UTC
[jira] [Created] (FLINK-31764) Get rid of numberOfRequestedOverdraftMemorySegments in LocalBufferPool
Weijie Guo created FLINK-31764:
----------------------------------
Summary: Get rid of numberOfRequestedOverdraftMemorySegments in LocalBufferPool
Key: FLINK-31764
URL: https://issues.apache.org/jira/browse/FLINK-31764
Project: Flink
Issue Type: Improvement
Components: Runtime / Network
Affects Versions: 1.18.0
Reporter: Weijie Guo
Assignee: Weijie Guo
We can changes the definition of overdraft buffer from static to dynamic:
* When _numberOfRequestedMemorySegments <= poolSize,_ all buffers are ordinary buffer
* When _numberOfRequestedMemorySegments > poolSize,_ the `{_}ordinary buffer size = poolSize`{_}, and `{_}the overdraft buffer size = numberOfRequestedMemorySegments - poolSize`{_}
This allows us to remove {{{}numberOfRequestedOverdraftMemorySegments{}}}, which helps us simplify logic and maintain consistency.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)