With cmd.php:
Code: Select all
07/30/2009 04:16:53 AM - SYSTEM STATS: Time:111.8731 Method:cmd.php Processes:10 Threads:N/A Hosts:161 HostsPerProcess:17 DataSources:8753 RRDsProcessed:4134
Code: Select all
07/30/2009 01:52:23 PM - SYSTEM STATS: Time:141.8422 Method:spine Processes:4 Threads:30 Hosts:161 HostsPerProcess:41 DataSources:8753 RRDsProcessed:4134
Not the improvement I was looking for, so I've spent the best of today trying to figure out why Cacti is so slow.
Looking at top while the poller runs, it seems like the actual polling is quite quick (~60sec), but rrdtool keeps the poller running for another minute or so. Running iostat while the poller runs confirms something is wrong - I only get 1MB/sec write tops (and 100% util). Trying to write 16GB random data with dd, i get an average of 74MB/sec write speed. I've moved the rra catalogue to a new disk, and got slightly better runtime, but still >1MB/sec write speed.
Is this Cacti hitting the limit of my disks (two 250 GB SATA 7.2k rpm, no RAID - one mounted as / and one as rra), or is there something else I can do?