# Which ES setup is better for performance

**URL:** https://discuss.elastic.co/t/which-es-setup-is-better-for-performance/35647
**Category:** Elasticsearch
**Created:** [November 26, 2015, 9:19am UTC](https://discuss.elastic.co/t/which-es-setup-is-better-for-performance/35647 "2015-11-26T09:19:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SKumarMN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skumarmn/32/27537_2.png) [@SKumarMN](https://discuss.elastic.co/u/SKumarMN)
#### Post date: [November 26, 2015, 9:19am UTC](https://discuss.elastic.co/t/which-es-setup-is-better-for-performance/35647/1 "2015-11-26T09:19:54Z")

</div>

Hey Experts,

I have a server with 20 GB RAM. As per the recommendation by ES community we can allocate 50% of the memory for ES JVM, which setup would result in faster performance

One node with 10 GB RAM  
or  
Two node with 5 GB RAM each

Our index would have 5 shards and one replica

Regards,  
SK

---

<div class="post-metadata">

### Author: ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)
#### Post date: [November 26, 2015, 9:49am UTC](https://discuss.elastic.co/t/which-es-setup-is-better-for-performance/35647/2 "2015-11-26T09:49:18Z")

</div>

Please define "faster performance"

- lowest latency for single document indexing
- indexing throughput per second
- response time for a single term query
- query response throughput per second
- indexing and query throughput per second
- per node
- per cluster
- etc.

General note: if you have only a single server, you can not get much performance, no matter if 1 or 2 JVM. Use a cluster for maximum throughput performance.

---

<div class="post-metadata">

### Author: ![SKumarMN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skumarmn/32/27537_2.png) [@SKumarMN](https://discuss.elastic.co/u/SKumarMN)
#### Post date: [November 26, 2015, 10:12am UTC](https://discuss.elastic.co/t/which-es-setup-is-better-for-performance/35647/3 "2015-11-26T10:12:10Z")

</div>

Sorry that I didnt define what is faster performance for us. It would be indexing and query throughput per second.

would the two different setups make any difference even if it is to an certain extent?

---

<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 5, 2017, 11:35pm UTC](https://discuss.elastic.co/t/which-es-setup-is-better-for-performance/35647/4 "2017-07-05T23:35:41Z")

</div>


