Skip to content

Instantly share code, notes, and snippets.

@adeubank
Last active March 29, 2021 22:21
Show Gist options
  • Save adeubank/449ea4afff188acf6ed052a8d1ea5240 to your computer and use it in GitHub Desktop.
Save adeubank/449ea4afff188acf6ed052a8d1ea5240 to your computer and use it in GitHub Desktop.
Trino worker properties for r5.4xlarge instance cluster. These should be the same on the coordinator and worker. https://trino.io/docs/current/admin/properties.html
-Dexchange.client-threads=50
-Dexchange.concurrent-request-multiplier=16
-Dexchange.max-buffer-size=4GB
-Dexchange.max-response-size=512MB
-Dnode-scheduler.max-splits-per-node=1000
-Dnode-scheduler.max-pending-splits-per-task=50
-Dquery.max-memory=140GB
-Dshutdown.grace-period=45s
-Dsink.max-broadcast-buffer-size=2GB
-Dsink.max-buffer-size=1GB
-Dtask.concurrency=256
-Dtask.http-response-threads=2000
-Dtask.http-timeout-threads=20
-Dtask.info-update-interval=10ms
-Dtask.max-partial-aggregation-memory=512MB
-Dtask.max-worker-threads=16
-Dtask.writer-count=4
-J-Xmx100G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment