diff --git a/docker/docker-compose-with-azblob.yml b/docker/docker-compose-with-azblob.yml index 99889d846dcb1..d479f9464b5fe 100644 --- a/docker/docker-compose-with-azblob.yml +++ b/docker/docker-compose-with-azblob.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose-with-gcs.yml b/docker/docker-compose-with-gcs.yml index 80466c7cccaba..6380b91a01a95 100644 --- a/docker/docker-compose-with-gcs.yml +++ b/docker/docker-compose-with-gcs.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose-with-local-fs.yml b/docker/docker-compose-with-local-fs.yml index 68483796ac800..abfea87b5a68e 100644 --- a/docker/docker-compose-with-local-fs.yml +++ b/docker/docker-compose-with-local-fs.yml @@ -21,21 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - # --parallelism 4 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose-with-obs.yml b/docker/docker-compose-with-obs.yml index f4bf8dc0e74c0..690da92d8b966 100644 --- a/docker/docker-compose-with-obs.yml +++ b/docker/docker-compose-with-obs.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose-with-oss.yml b/docker/docker-compose-with-oss.yml index 7d9563473182a..dab8af1592993 100644 --- a/docker/docker-compose-with-oss.yml +++ b/docker/docker-compose-with-oss.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose-with-s3.yml b/docker/docker-compose-with-s3.yml index d7dc75aa556a6..c9d839220c943 100644 --- a/docker/docker-compose-with-s3.yml +++ b/docker/docker-compose-with-s3.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose-with-sqlite.yml b/docker/docker-compose-with-sqlite.yml index d4081b592c2ab..98d88a415d496 100644 --- a/docker/docker-compose-with-sqlite.yml +++ b/docker/docker-compose-with-sqlite.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566" diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index e315878c98b77..b7b29313547b7 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -21,22 +21,25 @@ services: --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:5688 \ --async-stack-trace verbose \ - #--parallelism 4 \ - #--total-memory-bytes 8589934592 \ + --parallelism 8 \ + --total-memory-bytes 21474836480 \ --role both \ - --meta-address http://0.0.0.0:5690\" \ + --meta-address http://0.0.0.0:5690 \ + --memory-manager-target-bytes 22333829939 \" \ --frontend-opts=\" \ --config-path /risingwave.toml \ --listen-addr 0.0.0.0:4566 \ --advertise-addr 0.0.0.0:4566 \ --prometheus-listener-addr 0.0.0.0:1250 \ --health-check-listener-addr 0.0.0.0:6786 \ - --meta-addr http://0.0.0.0:5690\" \ + --meta-addr http://0.0.0.0:5690 \ + --frontend-total-memory-bytes=4294967296\" \ --compactor-opts=\" \ --listen-addr 0.0.0.0:6660 \ --prometheus-listener-addr 0.0.0.0:1250 \ --advertise-addr 0.0.0.0:6660 \ - --meta-address http://0.0.0.0:5690\"" + --meta-address http://0.0.0.0:5690 \ + --compactor-total-memory-bytes=4294967296\"" expose: - "6660" - "4566"