KTM Tweak from EJ

KTM Tweak from EJ

Postby pboi » Fri May 25, 2007 11:50 am

Kill your extraneous KTM CPU usage

--------------------------------------------------------------------------------

So, with the advent of the new addon profiling tools in 2.1, it's become pretty obvious that KTM is spending a TON of time processing all its onupdate handlers per frame. This is due to KTM's design, which uses a brute force polling system, rather than an event-driven system, so there's a lot of additional overhead incurred when there's no work to be done.

So, on a whim, I banged out this mod this afternoon. What it does, basically, is disable KTM any time there's nothing interesting going on, reclaiming valuable CPU-per-frame time.

You can get it at http://files.wowace.com/KTMCPUManager/KTMCPUManager.zip or through WowAceUpdater

It's basically about as fire-and-forget as they come. Install it and it does the rest. No config or anything to worry about.

On my machine, KTM consumes between 6% and 8% of my UI time per frame while CPU profiling is enabled. With the mod enabled, that drops to under 0.01%. This doesn't do anything to improve performance in combat, but you won't be wasting cycles sitting around Shattrath anymore, either.

Try it out, let me know what you think. Feedback is welcomed!
Gear and spec don't put you on top of the meter unless everyone is playing perfectly. <b>Effort puts you on top</b>. Play to the strengths of your gear and spec, know your tank, know your situation.
pboi
Veteran
 
Posts: 405
Joined: Sat Jun 17, 2006 1:38 am


Re: KTM Tweak from EJ

Postby Yokujin » Fri May 25, 2007 1:47 pm

pboi wrote:Kill your extraneous KTM CPU usage

--------------------------------------------------------------------------------

So, with the advent of the new addon profiling tools in 2.1, it's become pretty obvious that KTM is spending a TON of time processing all its onupdate handlers per frame. This is due to KTM's design, which uses a brute force polling system, rather than an event-driven system, so there's a lot of additional overhead incurred when there's no work to be done.

So, on a whim, I banged out this mod this afternoon. What it does, basically, is disable KTM any time there's nothing interesting going on, reclaiming valuable CPU-per-frame time.

You can get it at http://files.wowace.com/KTMCPUManager/KTMCPUManager.zip or through WowAceUpdater

It's basically about as fire-and-forget as they come. Install it and it does the rest. No config or anything to worry about.

On my machine, KTM consumes between 6% and 8% of my UI time per frame while CPU profiling is enabled. With the mod enabled, that drops to under 0.01%. This doesn't do anything to improve performance in combat, but you won't be wasting cycles sitting around Shattrath anymore, either.

Try it out, let me know what you think. Feedback is welcomed!


thanks for information, I was trying to find which addon fucks my FPS, I just removed it now :)
Yokujin
 


Postby Rageaholic » Fri May 25, 2007 3:15 pm

define nothing interesting... will it only work on bosses then or what?
The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose.
Rageaholic
Veteran
 
Posts: 657
Joined: Thu Dec 14, 2006 6:57 pm


Postby Grizzly » Fri May 25, 2007 5:24 pm

Call this a hotfix if you´re lacking fps.
But they will release another version of KTM ofc, which will fix the problem though.

/G
User avatar
Grizzly
Raidheart
 
Posts: 3134
Joined: Tue May 31, 2005 4:26 am
Location: Stockholm, Sweden



Return to General

Who is online

Users browsing this forum: No registered users and 12 guests