Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Submit your BOOST Statistics Here
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Announcements
Author Message
TheWitness
Developer


Joined: 14 May 2002
Posts: 9689
Location: MI, USA

PostPosted: Sat Dec 09, 2006 3:55 am    Post subject: Submit your BOOST Statistics Here Reply with quote

All,

I have released the Boost Plugin, version 1.0. Once you have something good to say about boost, or bad for that matter, please post your before and after statistics as followups to this post.

Here are the main features:
On-Demand RRD Updating You don't have to update 40k RRD files every 5 minutes, you can wait hours before doing updates. If a user accesses a Graph before a major update, the "On-Demand" updater takes care of it.
Network Service to handle RRD Updating This service is handy when your Web Server does not have RW access to the RRA folder. This provides an added benefit of allowing for multiple Web Servers to be deployed within this framework to host Cacti.
PNG Caching Yes, that's right. This plugin will cache PNG's for as long as they are viable. Once they expire, the first person to view the graph uses the overhead of creating the next good image.

Regards,

TheWitness

http://forums.cacti.net/viewtopic.php?p=86053#86053
Back to top
DAP



Joined: 18 Jul 2005
Posts: 43
Location: Melbourne, Australia

PostPosted: Fri Dec 15, 2006 1:01 am    Post subject: Reply with quote

Seems to be working fine.

12/15/2006 05:00:23 PM - SYSTEM BOOST STATS: Time:4.2656 RRDUpdates:1022

Love the cache feature

Cheers

PS. View Boost Status not working.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12275
Location: Muenster, Germany

PostPosted: Sun Dec 17, 2006 2:35 pm    Post subject: Reply with quote

DAP wrote:
PS. View Boost Status not working.
This requires a patch to plugin arch. In the meantime, you should be able to find it on the utilities page on the very left bottom side
Reinhard
Back to top
wriley



Joined: 19 May 2006
Posts: 15
Location: Lake St Louis, MO USA

PostPosted: Thu Jan 25, 2007 10:08 am    Post subject: Reply with quote

Boost is my new best friend! I had been struggling to tweak cacti to handle a huge amount of data sources. Thanks devs!

This system is monitoring nearly 70 Cisco 65xx routers, with a handful of other devices thrown in. This makes for a LOT of data sources.

SYSTEM: BOOST STATS: Time:985.7940 RRDUpdates:988752

SYSTEM: STATS: Time:59.0062 Method:cactid Processes:1 Threads:32 Hosts:74 HostsPerProcess:74 DataSources:75951 RRDsProcessed:0


Total Data Sources: 75951
Total Boost Records: 758095
Current Boost Table Size: 43 MBytes
Avg Bytes/Record: 45 Bytes
Max Allowed Boost Table Size: 4 GBytes
Estimated Maximum Records: 95443718 Records


Last edited by wriley on Mon Feb 12, 2007 1:38 pm; edited 1 time in total
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12275
Location: Muenster, Germany

PostPosted: Thu Jan 25, 2007 1:55 pm    Post subject: Reply with quote

You may want to use my new Poller Stats, featuring Boost Statistics (runtime, amount of BOOST) http://forums.cacti.net/viewtopic.php?t=18057
Reinhard
Back to top
wriley



Joined: 19 May 2006
Posts: 15
Location: Lake St Louis, MO USA

PostPosted: Fri Jan 26, 2007 9:36 am    Post subject: Reply with quote

gandalf wrote:
You may want to use my new Poller Stats, featuring Boost Statistics (runtime, amount of BOOST) http://forums.cacti.net/viewtopic.php?t=18057
Reinhard


I was already using your templates for poller statistics and subsequently turned on the boost stats as well. Thanks for the templates!


These graphs show the improvement when Boost was activated (at about two-thirds point). I also added the final 20 hosts, hence the jump in data sources at the same time.



boost_statistics.png
 Description:
Boost Statistics
 Filesize:  20.13 KB
 Viewed:  10254 Time(s)

boost_statistics.png



poller_runtime.png
 Description:
Poller Runtime Statistics
 Filesize:  41.59 KB
 Viewed:  10254 Time(s)

poller_runtime.png



poller_stats.png
 Description:
Poller Statistics
 Filesize:  27.45 KB
 Viewed:  10254 Time(s)

poller_stats.png


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12275
Location: Muenster, Germany

PostPosted: Fri Jan 26, 2007 2:04 pm    Post subject: Reply with quote

Do not worry, that the green line in the last image stops. This is now reported in the boost stats
Reinhard
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9689
Location: MI, USA

PostPosted: Fri Jan 26, 2007 8:49 pm    Post subject: Reply with quote

That is one BIG system. Glad to see it come back down to earth. I am sure the web site behaves better now too. I hope you enjoy this plugin I wrote for you. Not a lot of host's, but Lot's of Data Sources...

TheWitness
Back to top
kanada
Cacti User


Joined: 28 Aug 2005
Posts: 125

PostPosted: Tue Mar 13, 2007 2:50 am    Post subject: Reply with quote

Depends my configuration i test cactid polling vs. booster.
On both settings, timers are same, about 366 sec. (~6 min.)

Polling interval 10 min.

Below are some from my system graphs (cpu, load average).

Current Booster settings:

Current Boost Status
Boost On Demand Updating: Idle
Total Data Sources: 38379
Total Boost Records: 22966

Table Size Estimates
Current Boost Table Size: 16 MBytes
Avg Bytes/Record: 127 Bytes
Max Allowed Boost Table Size: 4 GBytes
Estimated Maximum Records: 33818640 Records

Previous Runtime
Last Start Time: 2007-03-13 8:36:07
Last Run Duration: 319.6620 Seconds
RRD's Updated: 28646

Run Time Configuration
Update Frequency: 20 Minutes
Next Start Time: 2007-03-13 8:56:07
Maximum Records: 1000000 Records
Maximum Allowed Runtime: 20 Minutes

Boost Server Details
Server Config Status: Enabled
Multiprocess Server: Single Process
Update Timeout: 2 Seconds
Server/Port: localhost@9050
Authorized Update Web Servers: 127.0.0.1
RRDtool Binary Used: /usr/bin/rrdtool

Seems, that Booster eat more system than cactid poller.
Its normal?

Best Regards,
Alex.



load03.PNG
 Description:
Monthly, from Week 10 system works on booster.
 Filesize:  46.5 KB
 Viewed:  9809 Time(s)

load03.PNG



load01.PNG
 Description:
Daily, before 12h works on booster.
 Filesize:  34.35 KB
 Viewed:  9809 Time(s)

load01.PNG



cpu02.PNG
 Description:
Weekly.
 Filesize:  41.03 KB
 Viewed:  9809 Time(s)

cpu02.PNG



cpu01.PNG
 Description:
Daily, before a gap works on booster.
 Filesize:  26.43 KB
 Viewed:  9809 Time(s)

cpu01.PNG


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12275
Location: Muenster, Germany

PostPosted: Tue Mar 13, 2007 11:18 am    Post subject: Reply with quote

From my point of view, boost is not a replacement for cactid. IMHO, the sequence would be

1) Use cmd.php as a start
If your systems grows, you may hit the wall unless ...
2) Use cactid as a fast (by order of a magnitude) replacement next
If your system still grows (we are speaking of at least 20,000 to 30,000 to 40,000 and more data sources) this will not be fast enough. rrdtool update consumes most of the time. But rrdtool features sth. like "multi-row insert". Boost will use this. If you hit the wall again ...
3) use cactid in combination with boost
This is now the ultimate step.
Reinhard
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9689
Location: MI, USA

PostPosted: Tue Mar 13, 2007 3:31 pm    Post subject: Reply with quote

Concurring with Gandolf.

TheWitness
Back to top
kanada
Cacti User


Joined: 28 Aug 2005
Posts: 125

PostPosted: Wed Mar 14, 2007 3:10 am    Post subject: Reply with quote

Yes Gandalf you have right, as you see now i have about 40k Data Sources on 10k Hosts, and this number will grows..
Up i post my stats cacti+cactid working on normal polling vs. cacti+cactid+boost..

Graphs shows that in the same poll time (normal and booster check hosts in ~6 min) system utilization (CPU, Memory, HDD) is higher when work boost. I still search a 'gold center' to minimize a polling time (to 5 min.) && system use.

I will post there my test results, if you don't have nothing against that.
Thank you for advice..

Best Regards,
Alex.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9689
Location: MI, USA

PostPosted: Thu Apr 12, 2007 6:43 pm    Post subject: Reply with quote

Alex,

I would move your update frequency to more like every 1-3 hours.

TheWitness
Back to top
dawald



Joined: 02 Feb 2005
Posts: 22
Location: Zurich, Switzerland

PostPosted: Wed Apr 18, 2007 2:22 pm    Post subject: Reply with quote

This plugin is just amazing, finally I'm able to write all my data into the rra's without getting gaps in the graphs.

cacti: 0.8.6j
cactid: 0.8.6i

BOOST Stats:
***********
Code:
04/18/2007 06:49:12 PM - SYSTEM BOOST STATS: Time:380.0422 RRDUpdates:548371
04/18/2007 07:49:09 PM - SYSTEM BOOST STATS: Time:377.6698 RRDUpdates:543419


POLLER Stats:
***********
Code:
04/18/2007 08:32:53 PM - SYSTEM STATS: Time:51.5142 Method:cactid Processes:1 Threads:15 Hosts:251 HostsPerProcess:251 DataSources:50366 RRDsProcessed:0
04/18/2007 08:37:54 PM - SYSTEM STATS: Time:52.6713 Method:cactid Processes:1 Threads:15 Hosts:251 HostsPerProcess:251 DataSources:50366 RRDsProcessed:0
04/18/2007 08:42:51 PM - SYSTEM STATS: Time:49.4776 Method:cactid Processes:1 Threads:15 Hosts:251 HostsPerProcess:251 DataSources:50366 RRDsProcessed:0


Thanks a lot 'TheWitness', this definitly r0cks!!

cheers
Back to top
dawald



Joined: 02 Feb 2005
Posts: 22
Location: Zurich, Switzerland

PostPosted: Mon Apr 23, 2007 3:15 am    Post subject: Reply with quote

I would like to show you the impact of boost plugin on my disk i/o waittime. I also attachted a graph that show my loadavg. The first part of the graph shows statistics with the boost plugin. As soon as I switched back to the regular cactid poller method without the boost plugin, the red area (i/o wait) shows up...

cheers



cacti_boost_plugin_loadavg.png
 Description:
another shot of the loadaverage
 Filesize:  58.67 KB
 Viewed:  9013 Time(s)

cacti_boost_plugin_loadavg.png



cacti_boost_plugin_iowait.png
 Description:
iowait (red)
 Filesize:  38.61 KB
 Viewed:  9013 Time(s)

cacti_boost_plugin_iowait.png


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Announcements All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group