Re: [Nagios-devel] Testers Needed: New 3.x Speedups

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Testers Needed: New 3.x Speedups

Post by Guest »

------=_Part_21267_18540566.1204267621854
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Ethan,

Have you look at my patch for speed up the host circular check?
Thanks a lot,

I'll check the new code too.


Jean

On Fri, Feb 29, 2008 at 12:29 AM, Ethan Galstad wrote:
> I just posted new code to CVS that I would like some testers to verify.
> The CVS commits introduce new skiplist algorithms for lists that are
> used for searching for objects, etc.
>
> We've been doing some testing of Nagios 3 with 50,000 hosts/services on
> a rather low end box to find performance problems. Startup times in our
> configuration (tested with the -sx command line) indicated that it took
> about 4 minutes to read and process the (uncached) config files. The
> new code does the same operations in just 18 seconds, so its a huge
> performance increase.
>
> In order to ensure the new code doesn't have bugs (it affects major
> portions of the logic), I'm looking for people with large/complex
> configs to help verify the new code's correctness.
>
> This can be done by doing two sets of tests - the first using binaries
> from the 3.0rc3 release and the other with binaries the new CVS code.
>
> 1. Test timing of startup routines with:
>
> time /usr/local/nagios/bin/nagios -sx /usr/local/nagios/etc/nagios.cfg
>
> 2. Make sure that no errors are reported and that the object counts for
> each type of object (host, service, etc.) are the same for 3.0rc3 and
> latest CVS code:
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
>
> Please post to the list with any bugs you may encounter, or if you see
> great speed improvements. :-)
>
> FYI, the current event queue implementation has very bad performance
> with large installs. Startup timing (-sx) tests with Nagios 3.0rc3
> showed it taking ~100 seconds to initially 50,000 events. I did a bit
> of testing with the new skiplist algorithm, and the event scheduling
> time dropped to *1* second. This will be implemented in a CVS commit in
> a few days.
>
>
>
> Ethan Galstad
> Nagios Developer
> ___
> Email: [email protected]
> Web: www.nagios.org
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>

------=_Part_21267_18540566.1204267621854
Content-Type: text/x-patch; name=circular-parents2.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fd8dtlzt0
Content-Disposition: attachment; filename=circular-parents2.patch

ZGlmZiAtdXJOIC4uL25hZ2lvcy5vcmlnL2Jhc2UvY29uZmlnLmMgLi9iYXNlL2NvbmZpZy5jCi0t
LSAuLi9uYWdpb3Mub3JpZy9iYXNlL2NvbmZpZy5jCTIwMDgtMDEtMjQgMTM6MjE6MjUuMDAwMDAw
MDAwICswMTAwCisrKyAuL2Jhc2UvY29uZmlnLmMJMjAwOC0wMi0wMiAxOTowOTo0Ny4wMDAwMDAw
MDAgKzAxMDAKQEAgLTI1NjUsNyArMjU2NSw2IEBACiAvKiBjaGVjayBmb3IgY2lyY3VsYXIgcGF0
aHMgYW5kIGRlcGVuZGVuY2llcyAqLwogaW50IHByZV9mbGlnaHRfY2lyY3VsYXJfY2hlY2soaW50
ICp3LCBpbnQgKmUpewogCWhvc3QgKnRlbXBfaG9zdD1OVUxMOwotCWhvc3QgKnRlbXBfaG9zdDI9
TlVMTDsKIAlzZXJ2aWNlZGVwZW5kZW5jeSAqdGVtcF9zZD1OVUxMOwogCXNlcnZpY2VkZXBlbmRl
bmN5ICp0ZW1wX3NkMj1OVUxMOwogCWhvc3RkZXBlbmRlbmN5ICp0ZW1wX2hkPU5VTEw7CkBAIC0y
NTkwLDkgKzI1ODksMzUgQEAKIAkvKiBjaGVjayByb3V0ZXMgYmV0d2VlbiBhbGwgaG9zdHMgKi8K
IAlmb3VuZD1GQUxTRTsKIAlyZXN1bHQ9T0s7CisJCisJCisJLypXZSBjbGVhbiB0aGUgZHNmIHN0
YXR1cyBmcm9tIHByZXZpb3VzIGNoZWNrKi8KKwlmb3IodGVtcF9ob3N0PWhvc3RfbGlzdDt0ZW1w
X2hvc3QhPU5VTEw7dGVtcF9ob3N0PXRlbXBfaG9zdC0+bmV4dCl7CisJCXRlbXBfaG9zdC0+ZGZz
X2NoZWNrZWRfc3RhdHVzID0gREZTX1VOQ0hFQ0tFRDsKKwl9CisJCisgICAgICAgIGZvcih0ZW1w
X2hvc3Q9aG9zdF9saXN0O3RlbXBfaG9zdCE9TlVMTDt0ZW1wX2hvc3Q9dGVtcF9ob3N0LT5uZXh0
KXsKKwkJaW50IGhvc3RfZGZzX3N0YXR1cyA9IGRmc19ob3N0X3N0YXR1cyh0ZW1wX2hvc3QpOwor
CSAgCisJICAJLypSdW4gdGhlIGRmcyBvbmx5IGlmIHRoZSBub

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked