You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by bh...@apache.org on 2021/10/20 19:02:22 UTC
[ozone] branch master updated: HDDS-5850. Update default value of
'ozone.scm.ha.ratis.segment.size' and 'preallocated.size' to improve SCM
write perf. (#2732)
This is an automated email from the ASF dual-hosted git repository.
bharat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new a1701e5 HDDS-5850. Update default value of 'ozone.scm.ha.ratis.segment.size' and 'preallocated.size' to improve SCM write perf. (#2732)
a1701e5 is described below
commit a1701e5d82130b002a6e9956aeebc276a05d4385
Author: Bharat Viswanadham <bh...@apache.org>
AuthorDate: Wed Oct 20 12:02:06 2021 -0700
HDDS-5850. Update default value of 'ozone.scm.ha.ratis.segment.size' and 'preallocated.size' to improve SCM write perf. (#2732)
---
.../src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java | 4 ++--
hadoop-hdds/common/src/main/resources/ozone-default.xml | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
index 0d904e2..5cdd947 100644
--- a/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
+++ b/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
@@ -477,12 +477,12 @@ public final class ScmConfigKeys {
public static final String OZONE_SCM_HA_RAFT_SEGMENT_SIZE =
"ozone.scm.ha.ratis.segment.size";
- public static final String OZONE_SCM_HA_RAFT_SEGMENT_SIZE_DEFAULT = "16KB";
+ public static final String OZONE_SCM_HA_RAFT_SEGMENT_SIZE_DEFAULT = "4MB";
public static final String OZONE_SCM_HA_RAFT_SEGMENT_PRE_ALLOCATED_SIZE =
"ozone.scm.ha.ratis.segment.preallocated.size";
public static final String
- OZONE_SCM_HA_RAFT_SEGMENT_PRE_ALLOCATED_SIZE_DEFAULT = "16KB";
+ OZONE_SCM_HA_RAFT_SEGMENT_PRE_ALLOCATED_SIZE_DEFAULT = "4MB";
public static final String OZONE_SCM_HA_RAFT_LOG_APPENDER_QUEUE_NUM =
"ozone.scm.ha.ratis.log.appender.queue.num-elements";
diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index 987f94b..bac015a 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -2842,18 +2842,18 @@
</property>
<property>
<name>ozone.scm.ha.ratis.segment.size</name>
- <value>16KB</value>
+ <value>4MB</value>
<tag>SCM, OZONE, HA, RATIS</tag>
<description>The size of the raft segment used by Apache Ratis on
- SCM. (16 KB by default)
+ SCM. (4 MB by default)
</description>
</property>
<property>
<name>ozone.scm.ha.ratis.segment.preallocated.size</name>
- <value>16KB</value>
+ <value>4MB</value>
<tag>SCM, OZONE, HA, RATIS</tag>
<description>The size of the buffer which is preallocated for
- raft segment used by Apache Ratis on SCM.(16 KB by default)
+ raft segment used by Apache Ratis on SCM.(4 MB by default)
</description>
</property>
<property>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org