You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uniffle.apache.org by xi...@apache.org on 2025/07/25 09:35:12 UTC
(uniffle) branch master updated: [#2492][FOLLOWUP] improvement: change the default value of chunkPoolCapacityRatio (#2554)
This is an automated email from the ASF dual-hosted git repository.
xianjingfeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 4b256e9c5 [#2492][FOLLOWUP] improvement: change the default value of chunkPoolCapacityRatio (#2554)
4b256e9c5 is described below
commit 4b256e9c5d211e5577c0902c3de551d2a9844665
Author: xianjingfeng <xi...@gmail.com>
AuthorDate: Fri Jul 25 17:35:08 2025 +0800
[#2492][FOLLOWUP] improvement: change the default value of chunkPoolCapacityRatio (#2554)
### What changes were proposed in this pull request?
Change the default value of chunkPoolCapacityRatio
### Why are the changes needed?
The proportion and the frequency of small blocks is not high. If this value is set too high, it may cause off-heap memory overflow.
Fix: #2492
### Does this PR introduce any user-facing change?
No.
### How was this patch tested?
Verify in production environment.
---
server/src/main/java/org/apache/uniffle/server/ShuffleServerConf.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/uniffle/server/ShuffleServerConf.java b/server/src/main/java/org/apache/uniffle/server/ShuffleServerConf.java
index 7490f97a7..ea7bed551 100644
--- a/server/src/main/java/org/apache/uniffle/server/ShuffleServerConf.java
+++ b/server/src/main/java/org/apache/uniffle/server/ShuffleServerConf.java
@@ -538,7 +538,7 @@ public class ShuffleServerConf extends RssBaseConf {
public static final ConfigOption<Double> SERVER_SHUFFLE_BUFFER_LAB_CHUNK_POOL_CAPACITY_RATIO =
ConfigOptions.key("rss.server.buffer.lab.chunkPoolCapacityRatio")
.doubleType()
- .defaultValue(1.0)
+ .defaultValue(0.1)
.withDescription(
"Controls the maximum memory capacity ratio between LAB's chunk pool and the configured buffer capacity. "
+ "The ratio represents (total memory of chunk pool) / "