BigTime Performance Enhancement -> Take a Look At This!!!

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

BigTime Performance Enhancement -> Take a Look At This!!!

Post by TheWitness »

Ok,

I'm going to brag. I have spent all weekend working on enhancements to Cacti and Cactid both under Windows and Unix and I believe that it's paid off!!! Take a look at the image below. The fixes/enhancement that I have made to Cacti and Cactid allow the following:

- Multiple CACTID instances from the user interface (just as many as your CPU can take).
- No more timeouts when your servers are down (yea@!!!)
- Enabling and Disabling the Poller from the UI (although, it doesn't kill it)
- No more either CACTID or CMD.PHP, just schedule POLLER.PHP and select which one you want from the UI!

Right now, it is working with both CACTID and CMD.PHP. It scales Windows "DRAMATICALLY". All you have to do is replace 2 PHP files (I think, Ian will let me know), replace your CACTID source code, recompile , schedule a PHP file called "poller.php", create a new directory for the autogenerated poller script file and refresh your display to fill in a few variables and check boxes. You then can interchange between CACTID and CMD.PHP at whim from the UI.

Here's what isn't fixed/enhanced:

- Multiple threads in CACTID - I have confirmed that this is a problem with the RRDTOOL. Unfortunately, I am unable to compile it to perform debug or direct integration with CACTID. I will work with Tobi....
- Non PHP Scripting in CACTID. I am still working on this. It's a path issue in the data_cache...
- System Logging (Event Viewer/Syslog)
- Some settings that I don't like quite yet.
- ICMP/PING Logging and RRD for everything.

Anyone interested in testing under Unix???

TheWitness
Attachments
It Works.JPG
It Works.JPG (60.53 KiB) Viewed 3864 times
Last edited by TheWitness on Sat Jun 12, 2004 10:01 pm, edited 1 time in total.
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

COOL! I'm going to try this out!

One comment from your screen shot though... (sorry, I'm an English snob) the first line "Poller Enabled" should read "if you wish THE poller to stop operation, uncheck this box."

Ok, enough troubleshooting people who are smarter than I am.... Now on to my testing.

Mike
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

So since this became a sticky, that mean these new features/fixes are going to be incorperated into 0.8.6 ?
User avatar
dieter
Cacti User
Posts: 164
Joined: Fri Feb 20, 2004 3:08 pm

Post by dieter »

not sure, you can choose to make it a sticky by yourself when posting a new thread
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

That looks great!

Ok, so how can I test this out on my setup? I'd like to get this implemented before I begin my full deployment. I was able to get cactid to work but it didn't seem to offer the huge performance improvement I was reading about. Possibly because of some of the queries that are running...regardless, I'd like to implement your changes....

So...where can I find the changes
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Let me talk with raX and see if has has had time to look at the modifications. Then I will post a reply. The changes to cactid and cmd.php were significant and I don't want to give you something that is not planned for the mainline code (although I can't see why not).

You can e-mail me at LarryJAdams@comcast.net

Regards,

Larry Adams
Warren/Michigan/USA
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?
flagg
Posts: 3
Joined: Tue Mar 30, 2004 2:52 pm
Location: Menasha, WI

Post by flagg »

Very Neat. This would solve many of my performance issues.

How much testing has been done?

Are the modifications posted somewhere?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, the beta build has the Multiprocess enhancements incorporated as of today. I have just fixed the CACTID program to be thread safe and functional in Windows as well. This is BIG news for Cacti lovers.

Please be advised that the beta build is just that. Use at your own risk.

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
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

Any idea when this will be released to production?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You can play right now. Pretty stable on Win32, but I am still toying with Cactid. There are issues around scripting and POPEN commands. Send me an e-mail and I will forward a zip file with additional information.

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 3 guests