[Performance] Time to draw graphs

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ar1
Posts: 18
Joined: Mon Mar 13, 2006 4:33 pm
Location: Bloomington, IL

[Performance] Time to draw graphs

Post by ar1 »

Hi

My graphs seem to draw very slow on the graph view pages. I was wondering if it's intrinsic to RRDTool or whether it's due to my slow system (Pentium II 400 Mhz, 128Mb RAM).

The page for my Cisco 6500 Router has 185 graphs and it takes around 5 minutes for all the graphs to show up on Cacti. This seems way to slow.

Does anyone have a similar number of graphs (150-200) for one device? How long does the page take to load? What are the specs for your machine?

I'm hoping to get actual specs from some people, only then can I hope to budget for a new system for Cacti.

Thanks
melchandra
Cacti User
Posts: 311
Joined: Tue Jun 29, 2004 12:52 pm
Location: Indiana

Post by melchandra »

I have a page with 446 graphs that takes about 30 seconds to render

machine:

3 GB RAM
dual intel xenon 3.2 Ghz

ignoring ram, I'm getting about

446 / (30 seconds * 6.4 Ghz) = 2.33 graphs / Ghz*Second

Or, for every Ghz of processor speed, I can render 2.33 graphs per second.

you have .4 Ghz, 600 seconds, 185 graphs
185 / (600 * 0.4) = 0.7 graphs /Ghz*Second

Of course my system does 2 things, Cacti, and Nagios, nothing else, which might help explain why my system is more efficient (could just be newer processor = newer extensions = better performance).
Dave
ar1
Posts: 18
Joined: Mon Mar 13, 2006 4:33 pm
Location: Bloomington, IL

Post by ar1 »

Actually my system does just Cacti, nothing else :)
So clearly the specs make all the difference. Now that I'm sure, I can budget for a new system for Cacti. Thanks for the response!

Anyone else out there have results too?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You need more Ram.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The issue with 185 graphs is that the way apache works is you have so many graphs to generate as once. There was an addon that allowed certain devices to have another level of display, as well as the "Expand Hosts" option within Cacti. Have you tried any of those?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests