Skip to content

Commit 0c7c2dc

Browse files
committed
Update pipe config for edge version (#18568)
(cherry picked from commit d21169f)
1 parent f296874 commit 0c7c2dc

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎iotdb-core/node-commons/src/assembly/resources/conf/edge/iotdb-system.properties‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,17 @@ series_slot_num=1
136136
# ---- metrics off (the internal MetricService is shared by both nodes) ----
137137
cn_metric_level=OFF
138138
dn_metric_level=OFF
139+
140+
# ---- realtime pipe sync out of the box ----
141+
# The pipe memory pool is 10% of the heap (~22MB at the default 224M budget),
142+
# while the stock pipe memory estimates are sized for datacenter nodes: each
143+
# pipe reserves a 15MB insert-node queue and estimates ~18MB more at task
144+
# startup, so CREATE PIPE fails on an untuned edge node. Shrink the per-pipe
145+
# queue budget and skip the startup estimation; actual allocations stay
146+
# elastic within the pool, degrading to batched TsFile transfer on pressure.
147+
# Validated on Raspberry Pi 4B: one realtime pipe ('history.enable'='false')
148+
# forwarding a 100-points/s load adds ~20MB RSS and syncs with sub-second
149+
# latency (single-record p99 < 500ms).
150+
pipe_insert_node_queue_memory=2097152
151+
pipe_enable_memory_checked=false
152+
pipe_logger_cache_max_size_in_bytes=1048576

0 commit comments

Comments
 (0)