You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/06/28 04:01:20 UTC
[iotdb] branch AddConfiguration created (now c223139790)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch AddConfiguration
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at c223139790 Add default pool size for data block exchange pool
This branch includes the following new commits:
new c223139790 Add default pool size for data block exchange pool
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: Add default pool size for data block exchange pool
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch AddConfiguration
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit c22313979056c0d26c8e83640b64a218c18ab461
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Jun 28 12:01:09 2022 +0800
Add default pool size for data block exchange pool
---
server/src/assembly/resources/conf/iotdb-datanode.properties | 4 ++--
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/server/src/assembly/resources/conf/iotdb-datanode.properties b/server/src/assembly/resources/conf/iotdb-datanode.properties
index af925f2c95..c917204313 100644
--- a/server/src/assembly/resources/conf/iotdb-datanode.properties
+++ b/server/src/assembly/resources/conf/iotdb-datanode.properties
@@ -34,10 +34,10 @@ rpc_port=6667
mpp_data_exchange_port=8777
# Datatype: int
-# mpp_data_exchange_core_pool_size=1
+# mpp_data_exchange_core_pool_size=10
# Datatype: int
-# mpp_data_exchange_max_pool_size=5
+# mpp_data_exchange_max_pool_size=10
# Datatype: int
# mpp_data_exchange_keep_alive_time_in_ms=1000
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index d27da1e114..0ceae86ee6 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -872,10 +872,10 @@ public class IoTDBConfig {
private int mppDataExchangePort = 8777;
/** Core pool size of mpp data exchange. */
- private int mppDataExchangeCorePoolSize = 1;
+ private int mppDataExchangeCorePoolSize = 10;
/** Max pool size of mpp data exchange. */
- private int mppDataExchangeMaxPoolSize = 5;
+ private int mppDataExchangeMaxPoolSize = 10;
/** Thread keep alive time in ms of mpp data exchange. */
private int mppDataExchangeKeepAliveTimeInMs = 1000;