Splunk Search

Does Splunk internally know the "number_of_cpus" or do I need to set this?

robertlynch2020
Motivator

Does Splunk internally know the "number_of_cpus" for the below maths?

max_hist_searches = max_searches_per_cpu x number_of_cpus + base_max_searches

I have 2 CPU with 10 cores each for 20 cores, Splunk version 6

So, is the following good, or should i change something?

[search]

batch_search_max_pipeline = 2

base_max_searches = 10

max_searches_per_cpu = 1

max_rt_search_multiplier = 2
0 Karma

gjanders
SplunkTrust
SplunkTrust

Splunk can determine the number of available CPU's, however you may wish to run more searches per CPU.

max_searches_per_cpu can be tweaked as required, I've run in excess of 10 searches per CPU without issue but it would depend on your workload...
In my particular case most of the searches are carefully written and therefore I can have a higher number of searches per CPU.

0 Karma

robertlynch2020
Motivator

cheers --

max_rt_search_multiplier = 2

Is this ok as well?

I am looking to make sure that the 20 cores that i have are optional for the heavy searching that i am doing.
Often i will go to 100% on my BOX as i will have 5 users using my reports, Datamodels over Millions of lines of data...etc..

0 Karma

bmacias84
Champion

Yes, only play with those settings if you want to increase the maximum system concurrency limit for searches.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...