You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change fixed heap size recommendation to a percentage.
Note that large configs may require more stack space
Fixes: elastic#11605elastic#11842Fixeselastic#11867
Copy file name to clipboardExpand all lines: docs/static/performance-checklist.asciidoc
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,18 @@ performance:
8
8
* <<tuning-logstash>>
9
9
10
10
[[performance-troubleshooting]]
11
-
=== Performance Troubleshooting Guide
11
+
=== Performance Troubleshooting
12
12
13
-
You can use this troubleshooting guide to quickly diagnose and resolve Logstash performance problems. Advanced knowledge of pipeline internals is not required to understand this guide. However, the <<pipeline,pipeline documentation>> is recommended reading if you want to go beyond this guide.
13
+
You can use these troubleshooting tips to quickly diagnose and resolve Logstash performance problems.
14
+
Advanced knowledge of pipeline internals is not required to understand this guide.
15
+
However, the <<pipeline,pipeline documentation>> is recommended reading if you want to go beyond these tips.
14
16
15
-
You may be tempted to jump ahead and change settings like `pipeline.workers` (`-w`) as a first attempt to improve performance. In our experience, changing this setting makes it more difficult to troubleshoot performance problems because you increase the number of variables in play. Instead, make one change at a time and measure the results. Starting at the end of this list is a sure-fire way to create a confusing situation.
17
+
You may be tempted to jump ahead and change settings like `pipeline.workers`
18
+
(`-w`) as a first attempt to improve performance. In our experience, changing
19
+
this setting makes it more difficult to troubleshoot performance problems
20
+
because you increase the number of variables in play. Instead, make one change
21
+
at a time and measure the results. Starting at the end of this list is a
22
+
sure-fire way to create a confusing situation.
16
23
17
24
[float]
18
25
==== Performance Checklist
@@ -40,10 +47,7 @@ You may be tempted to jump ahead and change settings like `pipeline.workers` (`-
40
47
41
48
. *Check the JVM heap:*
42
49
+
43
-
* Often times CPU utilization can go through the roof if the heap size is too low, resulting in the JVM constantly garbage collecting.
44
-
* A quick way to check for this issue is to double the heap size and see if performance improves. Do not increase the heap size past the amount of physical memory. Leave at least 1GB free for the OS and other processes.
45
-
* You can make more accurate measurements of the JVM heap by using either the `jmap` command line utility distributed with Java or by using VisualVM. For more info, see <<profiling-the-heap>>.
46
-
* Always make sure to set the minimum (Xms) and maximum (Xmx) heap allocation size to the same value to prevent the heap from resizing at runtime, which is a very costly process.
0 commit comments