how can config thold to faster my system?
Moderators: Developers, Moderators
how can config thold to faster my system?
i used cacti 0.8.7& thold 0.3.8,now i have 142 hosts.each host has 6-10 tholds. used thold run time about 77sec.and disabled thold run time about 33 sec that in the same poller config.
I saw the process, the process of the need to thold calculation, but also for mysql operation. What can raise such an effect. Because, I also need plus 300-400 hosts ?
I saw the process, the process of the need to thold calculation, but also for mysql operation. What can raise such an effect. Because, I also need plus 300-400 hosts ?
Cacti Version - 0.8.7 & spine
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
I have the same problem under Linux.
Fedora Core 3
PHP 5.1.2
Mysql 5.1.5
Cacti 0.8.7
Cactid 0.8.6.i
architecture 1.3
settings 0.3
thold 0.3.8
weathermap 0.94
links 0.3
550 hosts
12.500 data sources
=> Polling with thold : 230 sec. (over 300 during backup of rra files)
=> Polling without thold : 70 sec.
I don't have the problem with thold 0.3.4 (i have others...).
Do you have any idea ?
Thanks.
Fedora Core 3
PHP 5.1.2
Mysql 5.1.5
Cacti 0.8.7
Cactid 0.8.6.i
architecture 1.3
settings 0.3
thold 0.3.8
weathermap 0.94
links 0.3
550 hosts
12.500 data sources
=> Polling with thold : 230 sec. (over 300 during backup of rra files)
=> Polling without thold : 70 sec.
I don't have the problem with thold 0.3.4 (i have others...).
Do you have any idea ?
Thanks.
-
- Posts: 10
- Joined: Wed Feb 14, 2007 10:39 am
Try this against your DB.
This dropped running with thold from 290 secs to 24 secs for me.
iain
Code: Select all
ALTER TABLE `graph_templates_item` ADD INDEX ( `task_item_id` );
iain
-
- Posts: 10
- Joined: Wed Feb 14, 2007 10:39 am
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I discussed this with Jimmy the other day. There is some pretty significant additional overall performance improvements we can implement. The only problem is that the changes require MySQL 5.0.x which several of the big distros are not handling yet. So, in the mean time, there will be a few additional optimizations put in on top of what Jimmy has already done. It's somewhere down the list though.
Jimmy was pretty happy with this one though.
TheWitness
Jimmy was pretty happy with this one though.
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?
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?
-
- Posts: 18
- Joined: Tue Oct 02, 2007 3:19 pm
Code: Select all
mysql> use cacti;
Database changed
mysql> ALTER TABLE `graph_templates_item` ADD INDEX ( `task_item_id` );
Query OK, 183154 rows affected (9.87 sec)
Records: 183154 Duplicates: 0 Warnings: 0
Cacti 0.8.7.a + spine + boost SVN + thold .0.3.9
Who is online
Users browsing this forum: No registered users and 1 guest