# Why the thread count of the ES don't match with the processors count of my

**URL:** <https://discuss.elastic.co/t/why-the-thread-count-of-the-es-dont-match-with-the-processors-count-of-my/46658>\
**Category:** Elasticsearch\
**Created:** [April 7, 2016, 9:51am UTC](https://discuss.elastic.co/t/why-the-thread-count-of-the-es-dont-match-with-the-processors-count-of-my/46658 "2016-04-07T09:51:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cary.gao](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@cary.gao](https://discuss.elastic.co/u/cary.gao)\
**Post date:** [April 7, 2016, 9:51am UTC](https://discuss.elastic.co/t/why-the-thread-count-of-the-es-dont-match-with-the-processors-count-of-my/46658/1 "2016-04-07T09:51:01Z")

</div>

below is part of es cluster \_nodes output.  
"os" : {  
"refresh\_interval\_in\_millis" : 1000,  
"available\_processors" : 40,  
"cpu" : {  
"vendor" : "Intel",  
"model" : "Xeon",  
"mhz" : 2799,  
"total\_cores" : 40,  
"total\_sockets" : 1,  
"cores\_per\_socket" : 32,  
"cache\_size\_in\_bytes" : 25600  
},  
}  
Here we can see there are 40 processors in this server. But we can see the below thread\_pool output, these three type of thread percolate, index and suggest are all only have 32 threads. As the [Elasticsearch Reference [2.3],Thread\_pool](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html) the page of ES website said those three thread count should match with the processor of server, and i did not do any change about thread configuration. So does anyone know why?

"thread\_pool" : {  
"percolate" : {  
"type" : "fixed",  
"min" : 32,  
"max" : 32,  
"queue\_size" : "1k"  
},  
"index" : {  
"type" : "fixed",  
"min" : 32,  
"max" : 32,  
"queue\_size" : "200"  
},  
"suggest" : {  
"type" : "fixed",  
"min" : 32,  
"max" : 32,  
"queue\_size" : "1k"  
},  
}

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 7, 2016, 9:57am UTC](https://discuss.elastic.co/t/why-the-thread-count-of-the-es-dont-match-with-the-processors-count-of-my/46658/2 "2016-04-07T09:57:02Z")

</div>

What exact CPU model is this? How can there be 40 cores in total if you have one CPU with 32 cores?

---

<div class="post-metadata">

**Author:** ![cary.gao](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@cary.gao](https://discuss.elastic.co/u/cary.gao)\
**Post date:** [April 7, 2016, 11:02am UTC](https://discuss.elastic.co/t/why-the-thread-count-of-the-es-dont-match-with-the-processors-count-of-my/46658/3 "2016-04-07T11:02:37Z")

</div>

Below is the output of lscpu and uname of my server.

#uname -a  
Linux c824ebspaes18 2.6.32-431.5.1.el6.x86\_64 #1 SMP Tue Feb 11 11:09:04 PST 2014 x86\_64 x86\_64 x86\_64 GNU/Linux

# lscpu

Architecture: x86\_64  
CPU op-mode(s): 32-bit, 64-bit  
Byte Order: Little Endian  
CPU(s): 40  
On-line CPU(s) list: 0-39  
Thread(s) per core: 2  
Core(s) per socket: 10  
Socket(s): 2  
NUMA node(s): 2  
Vendor ID: GenuineIntel  
CPU family: 6  
Model: 62  
Stepping: 4  
CPU MHz: 2800.011  
BogoMIPS: 5599.17  
Virtualization: VT-x  
L1d cache: 32K  
L1i cache: 32K  
L2 cache: 256K  
L3 cache: 25600K  
NUMA node0 CPU(s): 0-9,20-29  
NUMA node1 CPU(s): 10-19,30-39

---

<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:01pm UTC](https://discuss.elastic.co/t/why-the-thread-count-of-the-es-dont-match-with-the-processors-count-of-my/46658/4 "2017-07-05T23:01:34Z")

</div>


