# Recommended performance settings

**URL:** <https://discuss.elastic.co/t/recommended-performance-settings/88151>\
**Category:** Elasticsearch\
**Created:** [June 3, 2017, 11:28am UTC](https://discuss.elastic.co/t/recommended-performance-settings/88151 "2017-06-03T11:28:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitabrev](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@mitabrev](https://discuss.elastic.co/u/mitabrev)\
**Post date:** [June 3, 2017, 11:28am UTC](https://discuss.elastic.co/t/recommended-performance-settings/88151/1 "2017-06-03T11:28:50Z")

</div>

Hi guys,

We're setting up a Elastic stack at our company. First to see it's usefulness (I'm sure it will be VERY useful for different departments), I got my hands on a 4 CPU, 16 GB RAM and 500 GB machine, running CentOS. For now only one node, I plan later to add more into a cluster.

Got some basic questions about recommended config setting to improve performace. I read through manuals, but still not quite sure if I'm getting the max out of the elasticsearch.

So what I'd like to now is recommended:

- ES JVM heap size (current -Xms2g, -Xmx2g)  
-any other expert settings in ES JVM configuration
- Logstash initial and max siteof heap space (current -Xms256m, -Xmx1g)  
-any other expert settings in Logstash JVM configuration  
-LS Pipeline settings (current default)

I hope I'm ok to post this here. The stack is running, but I'm seeing some indexed data is missing although I don't see any problems with the input file or during the parsing process.

Thank you all!

BR,

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 3, 2017, 12:17pm UTC](https://discuss.elastic.co/t/recommended-performance-settings/88151/2 "2017-06-03T12:17:52Z")

</div>

Elasticsearch and Logstash comes very good default settings, so I do not think it is necessary to make any changes at this point. Get familiar with the stack first and then start tuning if/when you need to.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 1, 2017, 12:18pm UTC](https://discuss.elastic.co/t/recommended-performance-settings/88151/3 "2017-07-01T12:18:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
