# ES performance tunning

**URL:** <https://discuss.elastic.co/t/es-performance-tunning/22703>\
**Category:** Elasticsearch\
**Created:** [March 17, 2015, 7:48am UTC](https://discuss.elastic.co/t/es-performance-tunning/22703 "2015-03-17T07:48:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hoon\_Cho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hoon_cho/32/52426_2.png) [@Hoon\_Cho](https://discuss.elastic.co/u/Hoon_Cho)\
**Post date:** [March 17, 2015, 7:48am UTC](https://discuss.elastic.co/t/es-performance-tunning/22703/1 "2015-03-17T07:48:01Z")

</div>

I was searching for ES performance by google and I find some documents.  
They says modify ES config is good for ES performance.  
So, I edit my ES config like below.

_/etc/elasticsearch/elasticsearch.yml_  
index.number\_of\_replica: 0  
index.number\_of\_shards: 3  
index.translog.flush\_threshold\_ops: 50000  
index.refresh\_interval: -1  
indices.memory.index\_buffer\_size: 50%  
index.store.type: mmapfs  
bootstrap.mlockall: true

_/etc/default/elasticsearch_  
ES\_HEAP\_SIZE: 4g (my machine has 8g RAM)  
MAX\_LOCKED\_MEMORY=unlimited

After configure above restart ES and LS.

_# /etc/init.d/elasticsearch restart && sudo restart logstash_

And make sure ES setting is correctly using curl command.

_# curl 'localhost:9200/logstash-iis-test04/\_settings?pretty'_  
{  
"logstash-iis-test04" : {  
"settings" : {  
"index" : {  
"creation\_date" : "1426555104697",  
"uuid" : "0PuOIGj-RnKS9cMKXbsryQ",  
"number\_of\_replicas" : "0",  
"number\_of\_shards" : "3",  
"refresh\_interval" : "5s",  
"version" : {  
"created" : "1010199"  
}  
}  
}  
}  
}

​As you see, index.number\_of\_replicas and index.number\_of\_shards values is  
correct  
but , index.refresh\_interval is not correct (I set this value is -1)  
and another setting is not shown, where can I find another settings?

I want to see settings like index.translog.flush\_threshold\_ops,  
index.refresh\_interval, indices.memory.index\_buffer\_size, index.store.type,  
bootstrap.mlockall..  
and want to know this settings is correctly applied.

Maybe you know why this result is shown, please advice to me.

Regards

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b7f46e6b-d212-4d0d-b577-86e0056438ee%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7f46e6b-d212-4d0d-b577-86e0056438ee%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 17, 2015, 5:16pm UTC](https://discuss.elastic.co/t/es-performance-tunning/22703/2 "2015-03-17T17:16:01Z")

</div>

​Take a look at

> **[Cluster APIs | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html)**

for other settings.

On 17 March 2015 at 00:48, Hoon Cho [demantos@gmail.com](mailto:demantos@gmail.com) wrote:

> I was searching for ES performance by google and I find some documents.  
> They says modify ES config is good for ES performance.  
> So, I edit my ES config like below.
> 
> _/etc/elasticsearch/elasticsearch.yml_  
> index.number\_of\_replica: 0  
> index.number\_of\_shards: 3  
> index.translog.flush\_threshold\_ops: 50000  
> index.refresh\_interval: -1  
> indices.memory.index\_buffer\_size: 50%  
> index.store.type: mmapfs  
> bootstrap.mlockall: true
> 
> _/etc/default/elasticsearch_  
> ES\_HEAP\_SIZE: 4g (my machine has 8g RAM)  
> MAX\_LOCKED\_MEMORY=unlimited
> 
> After configure above restart ES and LS.
> 
> _# /etc/init.d/elasticsearch restart && sudo restart logstash_
> 
> And make sure ES setting is correctly using curl command.
> 
> _# curl 'localhost:9200/logstash-iis-test04/\_settings?pretty'_  
> {  
> "logstash-iis-test04" : {  
> "settings" : {  
> "index" : {  
> "creation\_date" : "1426555104697",  
> "uuid" : "0PuOIGj-RnKS9cMKXbsryQ",  
> "number\_of\_replicas" : "0",  
> "number\_of\_shards" : "3",  
> "refresh\_interval" : "5s",  
> "version" : {  
> "created" : "1010199"  
> }  
> }  
> }  
> }  
> }
> 
> ​As you see, index.number\_of\_replicas and index.number\_of\_shards values is  
> correct  
> but , index.refresh\_interval is not correct (I set this value is -1)  
> and another setting is not shown, where can I find another settings?
> 
> I want to see settings like index.translog.flush\_threshold\_ops,  
> index.refresh\_interval, indices.memory.index\_buffer\_size,  
> index.store.type, bootstrap.mlockall..  
> and want to know this settings is correctly applied.
> 
> Maybe you know why this result is shown, please advice to me.
> 
> Regards
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b7f46e6b-d212-4d0d-b577-86e0056438ee%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b7f46e6b-d212-4d0d-b577-86e0056438ee%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b7f46e6b-d212-4d0d-b577-86e0056438ee%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b7f46e6b-d212-4d0d-b577-86e0056438ee%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X89p%3DELJC%3D1PLCjVwdx2XKboWHPKQvC2mdJ\_N%2BNSPXBVA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X89p%3DELJC%3D1PLCjVwdx2XKboWHPKQvC2mdJ_N%2BNSPXBVA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:26am UTC](https://discuss.elastic.co/t/es-performance-tunning/22703/3 "2017-07-06T00:26:09Z")

</div>


