Monitoring Splunk

Distributed Management Console Reporting incorrect amount of CPU cores for indexers

mikaelbje
Motivator

Distributed Management Console Reporting incorrect amount of CPU cores for indexers
This is seen in both Splunk 6.2.6 and Splunk 6.3.0

Environment 1

  • Virtual Search Head has 12 CPU cores according to cat /proc/cpuinfo - Splunk DMC reports 12 cores - CORRECT
  • Physical Indexer 1 has 16 CPU cores according to cat /proc/cpuinfo - Splunk DMC reports 8 cores - INCORRECT
  • Physical Indexer 2 has 16 CPU cores according to cat /proc/cpuinfo - Splunk DMC reports 8 cores - INCORRECT

Environment 2

  • Virtual Search Head has 8 CPU cores according to cat /proc/cpuinfo - Splunk DMC reports 8 cores - CORRECT
  • Physical Indexer 1 has 32 CPU cores according to cat /proc/cpuinfo - Splunk DMC reports 16 cores - INCORRECT
  • Physical Indexer 2 has 32 CPU cores according to cat /proc/cpuinfo - Splunk DMC reports 16 cores - INCORRECT

I checked the output of ps and could see the splunkd process running on all CPU cores, so my question is if this is just a cosmetic bug?

0 Karma
1 Solution

mikaelbje
Motivator

Doh. Turns out looking at cat /proc/cpuinfo isn't enough. It outputs sockets X cores per socket X threads, so 2 sockets with 8 cores each with 2 threads = 31(32) processors in cat /proc/cpuinfo. DMC is correct.

View solution in original post

0 Karma

mikaelbje
Motivator

Doh. Turns out looking at cat /proc/cpuinfo isn't enough. It outputs sockets X cores per socket X threads, so 2 sockets with 8 cores each with 2 threads = 31(32) processors in cat /proc/cpuinfo. DMC is correct.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...