Page 1 of 1

[Nagios-devel] Difference in CPU time with and without ePN

Posted: Tue Jan 08, 2008 8:32 am
by Guest
This is a multi-part message in MIME format.
--------------030005080804030706090306
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If anyone's interested here's what ePN versus pure Perl plugins can
looks like on the server's CPU load. This is on a dual proc
(multi-threaded == 4 proc) server with hardware SCSI raid
(battery-backed write-back) and 2GiB of RAM.

The server is almost doing 1000 active check/minutes spread on nearly
100 hosts (Nagios 2.7). In the attached graph you can see the server
load as I changed the settings of one Perl plugin that runs 28 times
every minute. There's two drops:

1. At the very beginning I removed the "/usr/bin/perl " in the
checkcommand definition. The ePN compilation was failing so the file was
likely still being recompiled at every run. The drop in user time seems
to be from the plug-in not running (but still being compiled).

2. After the week-end, the 2nd drop shows the drop when I fixed the
plug-in compilation. At that time the plugin was running again but not
being recompiled at each run, which caused a raise in user time and a
nice drop in system time.

This graph clearly shows that ePN is a must for any big system that rely
heavily on Perl plugins. The difference you see here is caused by only
28 check out of nearly 1000.

The CPU data is gathered every minutes trough SNMP counters and properly
divided according to the number of CPUs.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHg6Wz6dZ+Kt5BchYRAudkAJ0RCpgqnASiwUoU/moCWuLWnAn+FACfYdQA
eV+dnGKKiG0zYlDPZxtluwk=
=5yZ/
-----END PGP SIGNATURE-----

--------------030005080804030706090306
Content-Type: image/png;
name="graph_image.php.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="graph_image.php.png"

iVBORw0KGgoAAAANSUhEUgAAAlUAAAENCAYAAAAmM5C1AAAASXRFWHRTb2Z0d2FyZQBSUkR0
b29sLCBUb2JpYXMgT2V0aWtlciA8dG9iaUBvZXRpa2UuY2g+LCBodHRwOi8vdG9iaS5vZXRp
a2VyLmNog1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en5dhpUrV1JqaqrMb5duF6ffr1/b5bXGRdJfpPYFvmrVqiWxMXbs2HM+5x49
epTGjBkjZ+gyMjJo6NChhEW3upx8zcSIMeCOAV6obsBgyiB1B+n5op9IpKpjx470m9/8Rn4e
BIHq0KEDTZgwITToXXTRRXTFFVfQkSNH6Pjx4/Tiiy+G0qBDLJrEIkr8KmXKlCnUvn37XOnI
Yx3Ile5V/MyZM+X9t9xyC9WrVy/X/W7yffnll5SUlER4RpSJMGRR5Stf1aPCeeWDEOLTKxaY
2tVpleurr76iQYMGSXKK/NZ0pzi7sp3y6mVGo79I7duoUSOaMWMGnTp1SpJv69q5AQMGUM+e
PengwYOSrF966aU0btw4W304PQfHsy07nzHAC9WFMTyfAcDPblb7u5EqDOIYBHft2hXCLGaK
KlasKMP4HIX0bdu2hdLd2nfVqlVUrFixc/LqA7l+v4pXpOP999+nlJSU0P3RyFekSBHCJ7bD
hw+H7tPrwLWqxxqf6DAIHvQHwmlXl5ILs4CYxcF6K5DYTz/9VOZX6fq9dnF6un5tl1ePQ/tG
oz9VprV9MYuF59u7d6+U94033pBhlR/tCtK7YcOG0PMvXbqUsrOzQ2GVl32z7Aa3hzntwQvV
mVSxwTQIA26kym7Qx3d7DLQwqiodsxBORnbBggVyETZIARZiY5C15tUHcj3NGm8Nq/p1UqLL
h7Lwua9Lly7y82WDBg0IA7teB66t5VrTI4W9fjYEWYU+FGm01hNJrvXr15+jz0j36HVEc38k
/bm1L8iSThrRNnr7b9y4UYZBGpUDTvA5VpeTr80ZwLktzGsLtZM6+hccwnbtxL/+M2jgtWsg
jjOvc3lpEzdSFc1MEAZJp5kqLLrGzBKIzJkzZ2j58uW5BlUlrx

...[email truncated]...


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