Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20][FLINK-37100][tests] Fix test_netty_shuffle_memory_control.sh with Netty4 RPC #25955

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@ TEST=flink-netty-shuffle-memory-control-test
TEST_PROGRAM_NAME=NettyShuffleMemoryControlTestProgram
TEST_PROGRAM_JAR=${END_TO_END_DIR}/$TEST/target/$TEST_PROGRAM_NAME.jar

set_config_key "taskmanager.memory.flink.size" "600m"
set_config_key "taskmanager.memory.flink.size" "512m"
set_config_key "taskmanager.memory.network.min" "128m"
set_config_key "taskmanager.memory.network.max" "128m"

# 20 slots per task manager.
set_config_key "taskmanager.numberOfTaskSlots" "20"

# Limits the direct memory to be one chunk (4M * 20) plus some margins.
set_config_key "taskmanager.memory.framework.off-heap.size" "90m"
# Sets only one arena per TM for boosting the netty internal memory overhead.
set_config_key "taskmanager.network.netty.num-arenas" "1"

# Limits the direct memory to be one chunk (4M) plus some margins.
set_config_key "taskmanager.memory.framework.off-heap.size" "12m"

# Starts the cluster which includes one TaskManager.
start_cluster
Expand Down