Hello,
  I've done some work on the RRD api to speed up the rrd backend which
is often the slow part of pollers (along with reachability).  The code
is currently sitting in git but will be in the next release.

The first change is to fix up the code around using rrdcached which 
stops the IO waiting for those larger sites, the rrdtool client talks
to the cached and then immediately returns, letting the cached to
eventually update the rrd files.

The second change is, where possible, to use the RRD php module instead
of direclt calling the rrdtool binary like it currently does.

These two items have made a significant change to my test setup. Before
the changes I had 12-108 ms response times with a typical response
between 40 to 80 ms.  After the change the times dropped to 1-8 ms with
most being 3-4 ms.

Below is one sample from a few days ago and now showing the difference,
the main thing is to see the number after the B:

Before (27.03 ms):
23:59:59 CH:2 (9109):  :  H  14 :  I 3246 :  P  90 : no_poller(): 0 -> rrd(*): 
forward_jitter:0 - backward_jitter:0 - forward_packetloss:0 - 
backward_packetloss:0 (time P: 0.01 | B: 27.03)


After (4.19ms) :
23:10:45 CH:3 (26186):  :  H  14 :  I 3246 :  P  90 : no_poller(): 0 -> rrd(*): 
forward_jitter:0 - backward_jitter:0 - forward_packetloss:0 - 
backward_packetloss:0 (time P: 0.01 | B: 4.19)
-- 
Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to