Skip to content

Commit 6e6ec81

Browse files
committed
Add information about most important performance releated properties
1 parent dfce201 commit 6e6ec81

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

presto-docs/src/main/sphinx/admin/tuning.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ Tuning Presto
55
The default Presto settings should work well for most workloads. The following
66
information may help you if your cluster is facing a specific performance problem.
77

8+
When setting up a cluster for a specific workload it may be necessary to adjust the
9+
following properties to ensure optimal performance:
10+
11+
* :ref:`distributed-joins-enabled <tuning-pref-general>`
12+
* :ref:`query.max-memory <tuning-pref-query>`
13+
* :ref:`query.max-memory-per-node <tuning-pref-query>`
14+
* :ref:`query.initial-hash-partitions <tuning-pref-query>`
15+
* :ref:`task.concurrency <tuning-pref-task>`
16+
17+
Those and other Presto properties are described in :doc:`properties article<properties>`.
18+
19+
As an example, on a 11-node cluster dedicated to Presto (1 Coordinator + 10 Workers) with 8-core CPU and 128GB of RAM per node, you might want to start tuning with following values:
20+
21+
* `query.max-memory = 200GB`
22+
* `query.max-memory-per-node = 32GB`
23+
* `query.initial-hash-partitions = 10`
24+
* `task.concurrency = 8`
25+
826
If this guide does not suit your needs, You may look for more tuning options on
927
:doc:`/admin/properties` page.
1028

0 commit comments

Comments
 (0)