Hi Max. I´ve tried the parameters below:<br> - host_inter_check_delay_method=n<br> - service_inter_check_delay_method=n<br> - sleep_time=0.02<br>Result: no difference. Thanks.<br><br><div class="gmail_quote">On Tue, Aug 23, 2011 at 8:06 PM, Max Schubert <span dir="ltr"><<a href="mailto:maxs@webwizarddesign.com">maxs@webwizarddesign.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Tue, Aug 23, 2011 at 5:48 PM, Mark Goldfinch<br>
<<a href="mailto:mark.goldfinch@modicagroup.com">mark.goldfinch@modicagroup.com</a>> wrote:<br>
> On this particular point, the overall system CPU statistics displayed at the top of "top" are an average across all CPUs.  As previously mooted, Nagios core isn't multi-threaded, so it can only max a single core.  100% of 1/8 CPUs == 12.5% hence why you're seeing 87.5% idle time, 7 of your cores are not stressed out.<br>

<br>
</div>Nagios forks a new process to execute each check - so it will take<br>
advantage of multiple cores as long as the kernel scheduler is working<br>
properly :p - on our biggest pollers we get 300-400 checks running at<br>
a time in parallel at any given time during the polling cycle.<br>
<br>
Some blog posts I wrote about Nagios performance that might help (some<br>
of the topics have been covered):<br>
<br>
<a href="http://www.semintelligent.com/blog/?q=Performance" target="_blank">http://www.semintelligent.com/blog/?q=Performance</a><br>
<br>
We found that changing host and service inter-check delay to 'n' for<br>
no delay made a big difference - also, changing sleep time to 0.02 and<br>
compiling Nagios with nanosleep enabled helps a lot as well - and we<br>
added a few additional patches to remove hard-coded sleep statements<br>
that were in the code that were causing Nagios to sleep more than we<br>
wanted.<br>
<br>
Right now on an HP DL385 we max out at about 10k checks (combo of host<br>
and service checks) per 5 minutes with a sustained service check<br>
latency of 2-3 seconds - that is a quad core host with 8 GB of RAM.<br>
We have latency requirements that are very specific to our environment<br>
- we keep all pollers at less than 10 secs service latency at all<br>
times.<br>
<font color="#888888"><br>
- Max<br>
</font><div><div></div><div class="h5"><br>
------------------------------------------------------------------------------<br>
EMC VNX: the world's simplest storage, starting under $10K<br>
The only unified storage solution that offers unified management<br>
Up to 160% more powerful than alternatives and 25% more efficient.<br>
Guaranteed. <a href="http://p.sf.net/sfu/emc-vnx-dev2dev" target="_blank">http://p.sf.net/sfu/emc-vnx-dev2dev</a><br>
_______________________________________________<br>
Nagios-devel mailing list<br>
<a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
</div></div></blockquote></div><br>