# CPU Usage of elasticsearch process is almost 400% while doing performance Testing

**URL:** <https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804>\
**Category:** Elasticsearch\
**Created:** [December 11, 2013, 3:21am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804 "2013-12-11T03:21:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)\
**Post date:** [December 11, 2013, 3:21am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/1 "2013-12-11T03:21:50Z")

</div>

Hi Team,

I have following Setup of elastic search:  
ES Version: elasticsearch-0.90.7  
I have one Index having 20k crawled web links.

Machine Details:  
OS Version: Linux 2.6.32-300.4.1.el5uek  
Hardware: 6 x Intel(R) Xeon(R) CPU X5660 @ 2.80GHz/23GB

I am using Jmeter script to execute the simple search query on ES. I am  
using 500 threads that will ramp up in 50 second and it will run in loop of  
100..  
So around 50,000 queries are being fired on ES in 120 second. i.e. Around  
400 queries per second.  
Problem is in this Testing the CPU usage of ES is around 400% and the  
response time that we are getting from ES is 400+ms and it is also coming  
as 1k ms and 2k ms..

Questions:

1. Could you please tell me what might be going wrong here?
2. What configuration I need to do at ES to achieve such kind of Testing?
3. What type of system configuration I need to achieve this kind of testing?

Any other information you need then please let us know.

Regards,  
Jayesh Bhoyar

--  
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/989674c4-6e0a-433e-9b4f-752c0d7da13b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/989674c4-6e0a-433e-9b4f-752c0d7da13b%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [December 11, 2013, 3:23am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/2 "2013-12-11T03:23:59Z")

</div>

What about your system memory and heap size stats?

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 11 December 2013 14:21, Jayesh Bhoyar [jsbonline2006@gmail.com](mailto:jsbonline2006@gmail.com) wrote:

> Hi Team,
> 
> I have following Setup of Elasticsearch:  
> ES Version: elasticsearch-0.90.7  
> I have one Index having 20k crawled web links.
> 
> Machine Details:  
> OS Version: Linux 2.6.32-300.4.1.el5uek  
> Hardware: 6 x Intel(R) Xeon(R) CPU X5660 @ 2.80GHz/23GB
> 
> I am using Jmeter script to execute the simple search query on ES. I am  
> using 500 threads that will ramp up in 50 second and it will run in loop of  
> 100..  
> So around 50,000 queries are being fired on ES in 120 second. i.e. Around  
> 400 queries per second.  
> Problem is in this Testing the CPU usage of ES is around 400% and the  
> response time that we are getting from ES is 400+ms and it is also coming  
> as 1k ms and 2k ms..
> 
> Questions:
> 
> 1. Could you please tell me what might be going wrong here?
> 2. What configuration I need to do at ES to achieve such kind of Testing?
> 3. What type of system configuration I need to achieve this kind of  
> testing?
> 
> Any other information you need then please let us know.
> 
> Regards,  
> Jayesh Bhoyar
> 
> --  
> 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/989674c4-6e0a-433e-9b4f-752c0d7da13b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/989674c4-6e0a-433e-9b4f-752c0d7da13b%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAEM624b\_cmCL1O1A2Tz%2BU9w-SS7xHVkT1y0VW8k4k6Wpe3svyw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624b_cmCL1O1A2Tz%2BU9w-SS7xHVkT1y0VW8k4k6Wpe3svyw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)\
**Post date:** [December 11, 2013, 3:41am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/3 "2013-12-11T03:41:53Z")

</div>

System Memory is: 23 GB.  
How to find Heap Size Stats?

On Wednesday, December 11, 2013 8:53:59 AM UTC+5:30, Mark Walkom wrote:

> What about your system memory and heap size stats?
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

--  
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/fc2d6db5-0bc9-43f3-927b-e673482fa92b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fc2d6db5-0bc9-43f3-927b-e673482fa92b%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [December 11, 2013, 3:43am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/4 "2013-12-11T03:43:32Z")

</div>

You might want to install a monitor plugin, something like elastichq, kopf  
or bigdesk.

These all make use of the various stats APIs and turn them into presentable  
dashboards.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 11 December 2013 14:41, Jayesh Bhoyar [jsbonline2006@gmail.com](mailto:jsbonline2006@gmail.com) wrote:

> System Memory is: 23 GB.  
> How to find Heap Size Stats?
> 
> On Wednesday, December 11, 2013 8:53:59 AM UTC+5:30, Mark Walkom wrote:
> 
> > What about your system memory and heap size stats?
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > --  
> > 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/fc2d6db5-0bc9-43f3-927b-e673482fa92b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fc2d6db5-0bc9-43f3-927b-e673482fa92b%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAEM624bR79kq7ba2mTt7NeKk5%3DWv\_\_CfD4\_Gc6R43dNWhDzutQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bR79kq7ba2mTt7NeKk5%3DWv__CfD4_Gc6R43dNWhDzutQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)\
**Post date:** [December 11, 2013, 10:36am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/5 "2013-12-11T10:36:01Z")

</div>

Hi Mark,

Please find attached the complete screen shot of BigDesk when I am running  
the Jmeter Testing

Regards,  
Jayesh Bhoyar

On Wednesday, December 11, 2013 9:13:32 AM UTC+5:30, Mark Walkom wrote:

> You might want to install a monitor plugin, something like elastichq, kopf  
> or bigdesk.
> 
> These all make use of the various stats APIs and turn them into  
> presentable dashboards.
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

--  
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/0c2d23ba-bdb6-4f97-9f9a-734952b36bde%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0c2d23ba-bdb6-4f97-9f9a-734952b36bde%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Randall\_McRee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/randall_mcree/32/47177_2.png) [@Randall\_McRee](https://discuss.elastic.co/u/Randall_McRee)\
**Post date:** [December 12, 2013, 1:26am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/6 "2013-12-12T01:26:37Z")

</div>

Why do you think there is a problem? Seems ok to me.  
What were you expecting and why?

On Wed, Dec 11, 2013 at 2:36 AM, Jayesh Bhoyar [jsbonline2006@gmail.com](mailto:jsbonline2006@gmail.com)wrote:

> Hi Mark,
> 
> Please find attached the complete screen shot of BigDesk when I am running  
> the Jmeter Testing
> 
> Regards,  
> Jayesh Bhoyar
> 
> On Wednesday, December 11, 2013 9:13:32 AM UTC+5:30, Mark Walkom wrote:
> 
> > You might want to install a monitor plugin, something like elastichq,  
> > kopf or bigdesk.
> > 
> > These all make use of the various stats APIs and turn them into  
> > presentable dashboards.
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> --  
> 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/0c2d23ba-bdb6-4f97-9f9a-734952b36bde%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0c2d23ba-bdb6-4f97-9f9a-734952b36bde%40googlegroups.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAFjHw37TJoa%3Dx-dOQ%3DQCnKp%3DPKaM%2BhcWwxmUcXyCkQdY2SDf7Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAFjHw37TJoa%3Dx-dOQ%3DQCnKp%3DPKaM%2BhcWwxmUcXyCkQdY2SDf7Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)\
**Post date:** [December 12, 2013, 4:12am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/7 "2013-12-12T04:12:39Z")

</div>

Hi,

Actually the response time I am getting for such load is 1000-2000 ms. And  
Average is more than 600ms.

I want to know what configurations I should make on ES so that It will give  
lesser response time such as 100-300 ms on peak load.

My peak load will be 500 queries per sec.

Regards,  
Jayesh Bhoyar  
+91-9011083120

On Thu, Dec 12, 2013 at 6:56 AM, Randall McRee [randall.mcree@gmail.com](mailto:randall.mcree@gmail.com)wrote:

> Why do you think there is a problem? Seems ok to me.  
> What were you expecting and why?
> 
> On Wed, Dec 11, 2013 at 2:36 AM, Jayesh Bhoyar [jsbonline2006@gmail.com](mailto:jsbonline2006@gmail.com)wrote:
> 
> > Hi Mark,
> > 
> > Please find attached the complete screen shot of BigDesk when I am  
> > running the Jmeter Testing
> > 
> > Regards,  
> > Jayesh Bhoyar
> > 
> > On Wednesday, December 11, 2013 9:13:32 AM UTC+5:30, Mark Walkom wrote:
> > 
> > > You might want to install a monitor plugin, something like elastichq,  
> > > kopf or bigdesk.
> > > 
> > > These all make use of the various stats APIs and turn them into  
> > > presentable dashboards.
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

--  
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/CAPHRkZaHXUshUYKP5EXvzSMhnyQciPQV3MLKF92xyANZvd5AUg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPHRkZaHXUshUYKP5EXvzSMhnyQciPQV3MLKF92xyANZvd5AUg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [December 12, 2013, 5:04am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/8 "2013-12-12T05:04:01Z")

</div>

Hi,

This is a tinny index. You should be getting responses in single of maybe  
double ms digits.  
It's hard to give precise advice without details. Maybe your bottleneck is  
the network? How is disk IO looking? Does speed improve over time? What  
about GC? Is latency smaller with fewer concurrent queries? Can you set  
refresh interval to, say, 60 seconds? What are your queries like? How  
many docs do you return?

## Otis

Performance Monitoring \* Log Analytics \* Search Analytics  
Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

On Wednesday, December 11, 2013 11:12:39 PM UTC-5, Jayesh Bhoyar wrote:

> Hi,
> 
> Actually the response time I am getting for such load is 1000-2000 ms. And  
> Average is more than 600ms.
> 
> I want to know what configurations I should make on ES so that It will  
> give lesser response time such as 100-300 ms on peak load.
> 
> My peak load will be 500 queries per sec.
> 
> Regards,  
> Jayesh Bhoyar  
> +91-9011083120
> 
> On Thu, Dec 12, 2013 at 6:56 AM, Randall McRee \<[randal...@gmail.com](mailto:randal...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Why do you think there is a problem? Seems ok to me.  
> > What were you expecting and why?
> > 
> > On Wed, Dec 11, 2013 at 2:36 AM, Jayesh Bhoyar \<[jsbonl...@gmail.com](mailto:jsbonl...@gmail.com)\<javascript:\>
> > 
> > > wrote:
> > 
> > > Hi Mark,
> > > 
> > > Please find attached the complete screen shot of BigDesk when I am  
> > > running the Jmeter Testing
> > > 
> > > Regards,  
> > > Jayesh Bhoyar
> > > 
> > > On Wednesday, December 11, 2013 9:13:32 AM UTC+5:30, Mark Walkom wrote:
> > > 
> > > > You might want to install a monitor plugin, something like elastichq,  
> > > > kopf or bigdesk.
> > > > 
> > > > These all make use of the various stats APIs and turn them into  
> > > > presentable dashboards.
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

--  
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/66bce214-66ac-4d9e-b490-01086f424f8d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/66bce214-66ac-4d9e-b490-01086f424f8d%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jsbonline2006](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jsbonline2006](https://discuss.elastic.co/u/jsbonline2006)\
**Post date:** [December 12, 2013, 5:08am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/9 "2013-12-12T05:08:42Z")

</div>

Please find attached the dashboard during this Jmeter Testing.

* * *

_My First Email:_

Hi Team,

I have following Setup of Elasticsearch:  
ES Version: elasticsearch-0.90.7  
I have one Index having 20k crawled web links.

Machine Details:  
OS Version: Linux 2.6.32-300.4.1.el5uek  
Hardware: 6 x Intel(R) Xeon(R) CPU X5660 @ 2.80GHz/23GB

I am using Jmeter script to execute the simple search query on ES. I am  
using 500 threads that will ramp up in 50 second and it will run in loop of  
100..  
So around 50,000 queries are being fired on ES in 120 second. i.e. Around  
400 queries per second.  
Problem is in this Testing the CPU usage of ES is around 400% and the  
response time that we are getting from ES is 400+ms and it is also coming  
as 1k ms and 2k ms..

Questions:

1. Could you please tell me what might be going wrong here?
2. What configuration I need to do at ES to achieve such kind of Testing?
3. What type of system configuration I need to achieve this kind of testing?

Any other information you need then please let us know.

## Regards, Jayesh Bhoyar

On Thu, Dec 12, 2013 at 10:34 AM, Otis Gospodnetic \<  
[otis.gospodnetic@gmail.com](mailto:otis.gospodnetic@gmail.com)\> wrote:

> Hi,
> 
> This is a tinny index. You should be getting responses in single of maybe  
> double ms digits.  
> It's hard to give precise advice without details. Maybe your bottleneck  
> is the network? How is disk IO looking? Does speed improve over time?  
> What about GC? Is latency smaller with fewer concurrent queries? Can you  
> set refresh interval to, say, 60 seconds? What are your queries like? How  
> many docs do you return?
> 
> ## Otis
> 
> Performance Monitoring \* Log Analytics \* Search Analytics  
> Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

--  
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/CAPHRkZYVazBJRpj-Pg0HMBWqFM2h%3DiLjJvqBfY6HvDQhnG4Grw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPHRkZYVazBJRpj-Pg0HMBWqFM2h%3DiLjJvqBfY6HvDQhnG4Grw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 12, 2013, 10:25am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/10 "2013-12-12T10:25:54Z")

</div>

Why not adding more nodes and more replicas?  
I mean that if your queries use all your CPU ressources, you probably add more CPU to your cluster?

Check your GC as well. May be you are running GC too often which is using CPU and pause the JVM for a while.  
Perhaps you need more memory here?

My 0.05 cents

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 12 déc. 2013 à 05:12, Jayesh Bhoyar [jsbonline2006@gmail.com](mailto:jsbonline2006@gmail.com) a écrit :

> Hi,
> 
> Actually the response time I am getting for such load is 1000-2000 ms. And Average is more than 600ms.
> 
> I want to know what configurations I should make on ES so that It will give lesser response time such as 100-300 ms on peak load.
> 
> My peak load will be 500 queries per sec.
> 
> Regards,  
> Jayesh Bhoyar  
> +91-9011083120
> 
> On Thu, Dec 12, 2013 at 6:56 AM, Randall McRee [randall.mcree@gmail.com](mailto:randall.mcree@gmail.com) wrote:
> 
> > Why do you think there is a problem? Seems ok to me.  
> > What were you expecting and why?
> > 
> > On Wed, Dec 11, 2013 at 2:36 AM, Jayesh Bhoyar [jsbonline2006@gmail.com](mailto:jsbonline2006@gmail.com) wrote:
> > 
> > > Hi Mark,
> > > 
> > > Please find attached the complete screen shot of BigDesk when I am running the Jmeter Testing
> > > 
> > > Regards,  
> > > Jayesh Bhoyar
> > > 
> > > On Wednesday, December 11, 2013 9:13:32 AM UTC+5:30, Mark Walkom wrote:
> > > 
> > > > You might want to install a monitor plugin, something like elastichq, kopf or bigdesk.
> > > > 
> > > > These all make use of the various stats APIs and turn them into presentable dashboards.
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> --  
> 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/CAPHRkZaHXUshUYKP5EXvzSMhnyQciPQV3MLKF92xyANZvd5AUg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPHRkZaHXUshUYKP5EXvzSMhnyQciPQV3MLKF92xyANZvd5AUg%40mail.gmail.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/4D1C15F3-F156-4C74-8ACA-D5BC1E1DEE5E%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/4D1C15F3-F156-4C74-8ACA-D5BC1E1DEE5E%40pilato.fr).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:01am UTC](https://discuss.elastic.co/t/cpu-usage-of-elasticsearch-process-is-almost-400-while-doing-performance-testing/14804/11 "2017-07-06T02:01:40Z")

</div>


