Skip to content

Commit

Permalink
Adjust default wal_throttle_threshold_in_byte and region_migration_sp…
Browse files Browse the repository at this point in the history
…eed_limit_bytes_per_second (#14653)

* done

* done
  • Loading branch information
liyuheng55555 committed Jan 23, 2025
1 parent 3c5b2e4 commit 4c4cc43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ public class IoTDBConfig {
private int driverTaskExecutionTimeSliceInMs = 200;

/** Maximum size of wal buffer used in IoTConsensus. Unit: byte */
private long throttleThreshold = 50 * 1024 * 1024 * 1024L;
private long throttleThreshold = 200 * 1024 * 1024 * 1024L;

/** Maximum wait time of write cache in IoTConsensus. Unit: ms */
private long cacheWindowTimeInMs = 10 * 1000L;
Expand Down Expand Up @@ -1128,7 +1128,7 @@ public class IoTDBConfig {
private int maxSizePerBatch = 16 * 1024 * 1024;
private int maxPendingBatchesNum = 5;
private double maxMemoryRatioForQueue = 0.6;
private long regionMigrationSpeedLimitBytesPerSecond = 32 * 1024 * 1024L;
private long regionMigrationSpeedLimitBytesPerSecond = 48 * 1024 * 1024L;

// PipeConsensus Config
private int pipeConsensusPipelineSize = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1442,10 +1442,10 @@ delete_wal_files_period_in_ms=20000

# The minimum size of wal files when throttle down in IoTConsensus
# If this value is not set, it will be carefully chosen according to the available disk space.
# If this value is set smaller than 0, it will default to 50 * 1024 * 1024 * 1024 bytes (50GB).
# If this value is set smaller than 0, it will default to 200 * 1024 * 1024 * 1024 bytes (200GB).
# effectiveMode: hot_reload
# Datatype: long
wal_throttle_threshold_in_byte=53687091200
wal_throttle_threshold_in_byte=214748364800

# Maximum wait time of write cache in IoTConsensus
# If this value is less than or equal to 0, use the default value 10 * 1000 ms (10s)
Expand Down Expand Up @@ -1489,7 +1489,7 @@ data_region_iot_max_memory_ratio_for_queue = 0.6
# values less than or equal to 0 means no limit
# effectiveMode: hot_reload
# Datatype: long
region_migration_speed_limit_bytes_per_second = 33554432
region_migration_speed_limit_bytes_per_second = 50331648

####################
### Blob Allocator Configuration
Expand Down

0 comments on commit 4c4cc43

Please sign in to comment.