problem performance

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

Moderators: Developers, Moderators

StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

problem performance

Post by StaWha »

I run cacti 0.8.6f, rrdtool 1.2.11, cactid 086e on a dual xeon 1.3GHz 1GB of RAM.The raid is raid 5 with 5 scsi disks. Os is RHEL 4.0.
In debug mode, i have:

08/31/2005 05:28:59 PM - SYSTEM STATS: Time: 236.1546 s, Method: cactid, Processes: 1, Threads: 30, Hosts: 160, Hosts/Process: 160, Data Sources 23333, RRDs Processed 11971
the rrdtool update commands
08/31/2005 05:25:39 PM - CACTID: Poller[0] Time: 35.6157 s, Threads: 30, Hosts: 160

Total polling time: 236s
Rrdtool update time: 200s
Cactid poller time: 36s

Is it normal rrdtool update takes such long period?
Thanks.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Yes and no.... But the updates are all bound by the speed of your disk I/O.

Maybe your raid is running in degrated mode?
[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]
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

The raid isn't in degraded mode.
There isn't a possibility to decrease this period?
Thanks.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What are your current I/O rates to your disk during RRD updates? Please state in Mbytes/sec. My 10k Raid-1 SCSI (40Mbytes/sec channel) drives update about 5400 RRD files in less than 50 seconds.

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

BTB, I do have a patch designed for 0.9 that you may test. Unfortunately, having now noted the number of RRD files you are dealing with (> 10k), it may likely not have an effect noting the number of RRD files you are dealing with.

Please let me know if you are interested.

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?
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

How can i know this rate?
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

How can i know this rate?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Not too sure with RedHat. Maybe rony can advise? Also, with Raid-5, you should be completing much quicker than I. Do you have disk caching disabled? Also, what are the file sizes of your RRD files? What version of RRDtool are you using?

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?
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

I use rrdtool 1.2.11.
Caching disk is enabled.
I have 4000 rrds of 275ko and 8000 of 70ko.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Very odd, what version of RRDtool where the RRD files created in?

Larry
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?
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

The rrd files were created whith the same version.
Thanks.
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

I will probably tempt to reduce my number of rrd files.
Thanks for your replies Tony and Larry.
PW
Posts: 8
Joined: Mon Jul 18, 2005 5:26 am

Poller time.

Post by PW »

Hi!

I have a simular problem, my setup is:

Intel 3.4Gz XEON 4GB Ram White Box Enterprise Linux release 4
Raid 0, running cacti 0.8.6f, rrdtool-1.2.11 and cactid

SYSTEM STATS: Time: 237.7790 s, Method: cactid, Processes: 8, Threads: 45, Hosts: 196, Hosts/Process: 25, Data Sources 17119, RRDs Processed 6577

The total RRA dir is 9.4 GB

Is there something wrong? I tried to change threads/processes with no luck.

Please advice.
PW
StaWha
Posts: 36
Joined: Tue Jul 26, 2005 11:05 am

Post by StaWha »

I have lightly decrease my total poller time by reduce the number of thread. Cactid poller time is increase but rrdtool update are now made
less frequent.
I reduce thread to 8 and I have win 30 secondes on total poller time.
May be you can try this PW.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

How many Data Sources do you have?

Maybe a adjusting you mysql server settings, especially for table cache size, might help.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests