[Performance Issue] CPU Usage upto 50%

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

[Performance Issue] CPU Usage upto 50%

#1 Post by madeleine » Wed Jan 18, 2012 10:31 am

Hi everybody my problem is since rev. i dont know what (last time played runes of magic a year ago) micromacro.exe has up to 50% CPU usage.

My System:
E8400 @ 4250MHZ
4GB Ram 5-5-5-5 cl whatever
Geforce 470 GTX @ 850/2000

In the past:
a year ago i was able to run up to 40 clients with 40 micromacro.exe
at this time the client was a prob but fix it by setting als textures, sounds, etc to 0byte.

today:
client 8,2 GB big version without changing the wdb-files about 1-5% CPU-Usage.
micromacro.exe 13-50% CPU-Usage

what i tried:
reinstalled micromacro svn update blabla
reinstalled rombot
removed all addons from rom
removed all specialstuff like userfunctions etc.
removed loot_all and other things that might be steel performance.
tried some changes at the player.lua
nothing worked!

got a fresh install of windows 7 64bit sp1 and redoing upper steps.
didnt worked at all.

pls help...
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Performance Issue] CPU Usage upto 50%

#2 Post by rock5 » Wed Jan 18, 2012 11:01 am

I'm not sure if you have a problem. Usage has gone up but I don't know if it's gone up 50% in the year you've been away. I don't keep track of such things.

Edit: Sorry, didn't read that right. Micromacro using 50% cpu seems excessive. I don't know what could cause that.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#3 Post by madeleine » Wed Jan 18, 2012 11:15 am

thanks anyway
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

Bubi
Posts: 57
Joined: Tue May 04, 2010 3:51 pm

Re: [Performance Issue] CPU Usage upto 50%

#4 Post by Bubi » Wed Jan 18, 2012 1:06 pm

Have the same problem. The micromacro.exe needs a lot more cpu% awhile now.
Think starts with ch4.

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: [Performance Issue] CPU Usage upto 50%

#5 Post by cufRet8e » Wed Jan 18, 2012 1:38 pm

madeleine wrote:In the past:
a year ago i was able to run up to 40 clients with 40 micromacro.exe
Hi madeleine. Those times are already gone. Now you may be able to run about 4-6 bots, not 40, due to game's memory consumption. BTW, you don't need to overclock your graphics card. Every minimized game client is using only a few percent of GPU power. So you may downclock your GPU to save energy and will be no difference in performance.

Make sure you disable your antivirus while botting and exclude Client.exe and micromacro.exe from DEP (http://en.wikipedia.org/wiki/Data_Execution_Prevention).
On my system every RoM Client is eating about 7-9% CPU and 1-3% GPU, and every micromacro process 3-5% CPU. Phenom II x4 overclocked to 3.5GHz + 8GB DDR3 RAM + Radeon HD 5850 1GB VRAM downclocked to 500/800MHz.

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#6 Post by madeleine » Wed Jan 18, 2012 2:10 pm

Ram consum isnt my problem u can lower it by extracting wdb files and write to zero. to slim client which is using only 30mb of ram.
Your Ratio (only for showing something is wrong): 2(client.exe):1(micromacro.exe) of cpu useage <-- this is quit normal
My Ratio is : 1(client.exe):10(micromacro.exe) <--- this isnt normal

My Cpu handles: MMX, SSE, SSE2, SSE3, SSE4.1, Vanderpool, Execution-Disable (XD-Bit) Thermal-Monitor 2, Enhanced Halt State (C1E), Speedstep (EIST), 64 Bit (EM64T)
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: [Performance Issue] CPU Usage upto 50%

#7 Post by cufRet8e » Wed Jan 18, 2012 2:34 pm

Process Explorer, download it here: http://technet.microsoft.com/en-us/sysi ... s/bb896653
Find process micromacro.exe, click properties, and show us Threads and Performance tabs.
Those are mine, for micromacro.exe started 26 hours ago and running since then.
Attachments
Clipboard03.png
Clipboard02.png

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#8 Post by madeleine » Wed Jan 18, 2012 2:41 pm

Ok mom i will do


I tried the DEP disable but its useless for this issue, but for other if u wanne try
cmd(as admin):
/set {current} nx AlwaysOff

first cool tool i like ;)
and
take a look at the graph .... top is something about 42%

EDIT: add the thread pic at the moment of increased cpu usage.
Attachments
Threads_moment_of_cpu_increase.png
Performance_graph
Performance_graph
Performance
Performance
Last edited by madeleine on Wed Jan 18, 2012 3:03 pm, edited 1 time in total.
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

franek
Posts: 20
Joined: Tue Oct 18, 2011 6:47 pm

Re: [Performance Issue] CPU Usage upto 50%

#9 Post by franek » Wed Jan 18, 2012 2:56 pm

@madeleine
same to me, after ch4 things got changed. less clients I'm able to run on my pc.
Is there any possibility to run "old" (rev from ch3 :D ) micromacro with actual adresses? If it is senseless just say.

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: [Performance Issue] CPU Usage upto 50%

#10 Post by cufRet8e » Wed Jan 18, 2012 3:00 pm

franek wrote:@madeleine
same to me, after ch4 things got changed. less clients I'm able to run on my pc.
Is there any possibility to run "old" (rev from ch3 :D ) micromacro with actual adresses? If it is senseless just say.
Being not up to date with rombot for few commits can cause trouble, and you saying to revert it for commits from Chapter3? No, it's not possible :) Solution must be somewhere else. How high CPU usage is on your machine? Can you give details of your system and hardware and present process properties from Process Explorer?

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#11 Post by madeleine » Wed Jan 18, 2012 3:15 pm

Process Explorer has no delay this is quit nice.

CPU Usage is increasing at:
/onLeaveCombat or function Looten()
rechecking the player.lua...
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: [Performance Issue] CPU Usage upto 50%

#12 Post by cufRet8e » Wed Jan 18, 2012 3:28 pm

madeleine wrote:Process Explorer has no delay this is quit nice.
What thats mean? Can you show screenshots as I did?

CPU Usage is increasing at:
/onLeaveCombat or function Looten()
rechecking the player.lua...[/quote]

Did you try with default profile?

EDIT: OK i see your screenshots now
Last edited by cufRet8e on Wed Jan 18, 2012 5:07 pm, edited 1 time in total.

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#13 Post by madeleine » Wed Jan 18, 2012 3:40 pm

1. You cant see my attachments? in earlier reply?
2. its not the looten() function its something on leave combat..

UPDATE: changed waypoint to travel 2% of cpu usage everything normal..
UPDATE2: EGGBOT runs normal
Attachments
Egg_Performance_Graph.png
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: [Performance Issue] CPU Usage upto 50%

#14 Post by Administrator » Wed Jan 18, 2012 4:50 pm

So you're saying that when moving and fighting, micromacro.exe uses only 2%, but during looting it uses 50%?

When you last updated MicroMacro, did you update all files, or just micromacro.exe?

User avatar
cufRet8e
Posts: 82
Joined: Tue Dec 27, 2011 2:33 pm
Location: UK

Re: [Performance Issue] CPU Usage upto 50%

#15 Post by cufRet8e » Wed Jan 18, 2012 5:10 pm

Yeah, as Administrator said. rombot should be updated and reverted, micromacro as well. When you make sure you have all latest versions, copy new ingamefuntions to your RoM/interface/addons. And disable all other RoM addons, especially lootfilter etc. Also use default profile in this case.

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#16 Post by madeleine » Wed Jan 18, 2012 5:33 pm

- micromacro 1.02 beta 1 rev22
- rombot 3.29 rev 694

already removed all addons

EDIT: It is not the looting if i disable looting cpu usage is the same. after battle.
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: [Performance Issue] CPU Usage upto 50%

#17 Post by rock5 » Thu Jan 19, 2012 12:10 am

madeleine wrote:Ram consum isnt my problem u can lower it by extracting wdb files and write to zero. to slim client which is using only 30mb of ram.
What are wdb files? What do you use to extract the files? Which files do you write to zero? What do you mean by "using only 30mb of ram"?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#18 Post by madeleine » Thu Jan 19, 2012 2:21 am

rock5 wrote:
madeleine wrote:Ram consum isnt my problem u can lower it by extracting wdb files and write to zero. to slim client which is using only 30mb of ram.
What are wdb files? What do you use to extract the files? Which files do you write to zero? What do you mean by "using only 30mb of ram"?
Sorry long time ago not .wdb = .fdb
use .fdb extractor the same like for removespelleffekts.
then u can open 20000 files with notepad++ or someother editor and delet everything or easier write a batch.
After this u only have a floor in runes of magic.
rom will collect some garbage. Use the CTRL+ALT+DEL trick or something like zdefrag to free the ram.
After this the client.exe only using 30MB Ram. and rombot works well.


But pls back to my problem EGG bot runes normal because of no fighting or leave battle or something..
Can somebody watch his "killingbot" with Process Explorer if it jumps up to 6.000.000.000 Cycles Delta (properties-->threads)
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: [Performance Issue] CPU Usage upto 50%

#19 Post by Administrator » Thu Jan 19, 2012 2:34 am

Any more information you can provide would be helpful. Specifically when does it use a lot of processor time, and when does it not? Is there only certain waypoints that cause this, or is it any waypoint script with combat involved?

madeleine
Posts: 12
Joined: Wed Jan 18, 2012 10:10 am

Re: [Performance Issue] CPU Usage upto 50%

#20 Post by madeleine » Thu Jan 19, 2012 3:15 am

Micromacro CPU %:

MillerScript: 0-2%
waypointfiles with travel mode: 0-2%
waypointsfiles with normal mode and loot true: 3-50% (infight 3%, looting or leave combat 50%)
waypointsfiles with normal mode and loot false: 3-42% (infight 3%, leave combat 42%)
Hello friends!
I want to invite you all to play with me at Nexon Studio ROM Server,Chapter 4 Currently Supported.
The best and only server of Runes of magic online,the MMORG where you need to unlock the secrets of Rom to save the world.

Rates
- 7x EXP
- 7x Tp
- 3x Drop
- 3x Gold

If you want to join me in this great game,please click on the following links:

Main Site:http://www.rom4u.com
Forums:http://forum.rom4u.com

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 9 guests