Nagios 2.0 performance
Ben
bench at silentmedia.com
Thu Sep 9 16:44:13 CEST 2004
Now that Nagios 2 uses a GTree instead of a linked list, the lookup
isn't so bad, actually. Even modifying the tree isn't so bad. What
takes time is parsing 20MB of text. It helps that the text is being
held in a ramdisk, but it's still text, and nagios needs to convert it
before it does anything usual with it.
On Sep 8, 2004, at 4:46 PM, Andreas Ericsson wrote:
> Ben wrote:
>> Chained-hashing is on by default in nagios 2, and it works very well
>> from what I can tell. By *far* the biggest remaining time suck (for
>> me, at least) is in simply loading the data file off my ramdisk.
>
> That just can't be true. Loading a file from ramdisk is done in...
> well.. it's actually already loaded when the program asks for it, so
> the kernel only has to feed it whatever it asks for. As long as you
> stay off the swap, it's done in notime.
>
> What takes the time is a linked list lookup, just as people have
> already stated. The status cgi's does a lookup for each of logentry it
> finds by simply comparing each and every one of the entries to its
> corresponding object. It's not exactly ultrafast. It's not even
> semifast or normally fast. It's just acceptable if you have < 400
> hosts.
>
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Lead Developer
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue. ::: Messages without supporting info will risk
> being sent to /dev/null
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list