# Best config for Performance

**URL:** <https://discuss.elastic.co/t/best-config-for-performance/151109>\
**Category:** Elasticsearch\
**Created:** [October 4, 2018, 7:17pm UTC](https://discuss.elastic.co/t/best-config-for-performance/151109 "2018-10-04T19:17:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![popa](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@popa](https://discuss.elastic.co/u/popa)\
**Post date:** [October 5, 2018, 3:52am UTC](https://discuss.elastic.co/t/best-config-for-performance/151109/3 "2018-10-05T03:52:17Z")

</div>

Is it still recommended to plan ahead and set the shard size to something you know will not change? For example, I've set my shard count to 5 / 1 on a single node Elastic Stack.

> [@Decrease the number of shards](https://discuss.elastic.co/t/decrease-the-number-of-shards/86332/5):
>
> I'm somewhere here: curl -XGET 'localhost:9200/\_template/logstash?pretty' { "logstash" : { "order" : 0, "template" : "logstash-\*", "settings" : { "index" : { "number\_of\_shards" : "2" } }, "mappings" : { }, "aliases" : { } } } But my indices: curl -XGET 'localhost:9200/smsc-\*/\_settings?pretty' "smsc-2017.05.01" : { "settings" : { "index" : { "creation\_date" : "1495180973719", "number\_of\_shards" : "5", "number\_of\_replicas" : "1", "uuid" :…

---

_[View the full topic](https://discuss.elastic.co/t/best-config-for-performance/151109)._
