# The more CPU cores/threads, the better performance?

**URL:** <https://discuss.elastic.co/t/the-more-cpu-cores-threads-the-better-performance/225789>\
**Category:** Elasticsearch\
**Created:** [March 31, 2020, 5:34am UTC](https://discuss.elastic.co/t/the-more-cpu-cores-threads-the-better-performance/225789 "2020-03-31T05:34:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kohsmos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kohsmos/32/65352_2.png) [@kohsmos](https://discuss.elastic.co/u/kohsmos)\
**Post date:** [March 31, 2020, 5:34am UTC](https://discuss.elastic.co/t/the-more-cpu-cores-threads-the-better-performance/225789/1 "2020-03-31T05:34:03Z")

</div>

Hello, I am ES beginer.  
While studying ES configurations, I got a question.  
Is there any problem when I have too much RAM memory and too many CPU cores/threads??  
The more CPU cores/threads, RAM memory, the better performance is?  
Thank you.

---

<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:** [March 31, 2020, 5:50am UTC](https://discuss.elastic.co/t/the-more-cpu-cores-threads-the-better-performance/225789/2 "2020-03-31T05:50:03Z")

</div>

More RAM is always good as it allows a larger file system page cache. You need to have enough CPU available to serve your load, but Elasticsearch is not always CPU limited. Depending on your use case and data volume, performance may well be limited by disk I/O and then throwing CPU at it will not help.

---

<div class="post-metadata">

**Author:** ![kohsmos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kohsmos/32/65352_2.png) [@kohsmos](https://discuss.elastic.co/u/kohsmos)\
**Post date:** [March 31, 2020, 5:52am UTC](https://discuss.elastic.co/t/the-more-cpu-cores-threads-the-better-performance/225789/3 "2020-03-31T05:52:31Z")

</div>

Thank you!!!!!!

---

<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:** [April 28, 2020, 5:52am UTC](https://discuss.elastic.co/t/the-more-cpu-cores-threads-the-better-performance/225789/4 "2020-04-28T05:52:33Z")

</div>

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