Hello,
I am planning to Monitor arround 200 000 Datasources or more are there posibilities to tune my system?
What about the number of parallel threads? Why is it limited to 30? I have a Hyperthreading CPU which might work better with 50 or more threads. Is it a problem of Linux or of Cactid?
What makes the poller slow? Network connectivity? RAM? Kernel? CPU?
My System: IP4 3,4G HyperThreading / 2G RAM / GBit Ethernet
Suse Linux 9.3 / Kernel 2.6.11.4-21.9-smp
needs 75s for 15000 Datasources so it might be impossible to monitor 200 000 within 300s
Has anyone experience with the performance of Cacti? Can you tell numbers or show Graphs?
Thanks alot
System to slow for Number of Datasources
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Threads are commonly set to 2 times the amount of Physical CPU's you have. Setting it higher can accually hurt your performance.
Are all these device snmp? How many are scripts?
Are all these device snmp? How many are scripts?
[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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I will let TheWitness chime in on this. He knows the polling parameters better than I do, since he wrote it.
[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]
[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]
I've seen benefits of using thread count of up to 10x (or more) the # of processors, especially if you are just doing snmp. most snmp equipment responds REAAAALLY slowly, at least in comparison to processor (and network) speeds. most of the time is spent waiting for a response, so having extra threads allows you to wait for more at a time.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The new version of Cactid can use 100 threads and also can uptain upto 50 OID's in a single get request. This should help you out. Remember that it's one size fits all. At some point, you will start getting errors.
The big bottleneck in Cacti is likely going to be disk performance. With lot's of memory and a good OS, with Write caching enabled, you should be able to really tourch the box.
We are looking into a new architecture in 0.9 to increase poller performance, but we've been distracted with some meaningful changes to the user interface and database structure.
TheWitness
The big bottleneck in Cacti is likely going to be disk performance. With lot's of memory and a good OS, with Write caching enabled, you should be able to really tourch the box.
We are looking into a new architecture in 0.9 to increase poller performance, but we've been distracted with some meaningful changes to the user interface and database structure.
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?
Who is online
Users browsing this forum: No registered users and 0 guests