CPU usage reduction?

This is a good place to ask general question about our products.
Post Reply
Ormus
Posts: 8
Joined: Fri Sep 07, 2012 5:15 pm

CPU usage reduction?

Post by Ormus » Mon Sep 24, 2012 8:56 pm

I was playing around to see how many times i can run the game and bot on my laptop, the game is well optomised so the resources it uses are quite small, i managed to get it down so i can run the game 5 or 6 times but the bot uses quite a bit of CPU on my laptop, is there any way to lower the CPU usage for the bot by turning off options etc. or is that just the unchangeable usage.

rhui
Tester
Posts: 993
Joined: Tue Mar 09, 2010 7:10 am
Supporter: 9999

Re: CPU usage reduction?

Post by rhui » Mon Sep 24, 2012 10:42 pm

the current bot isnt optimized for multi clients. The next release v3 will address this issue. You will need only one bot instance for N clients...

Ormus
Posts: 8
Joined: Fri Sep 07, 2012 5:15 pm

Re: CPU usage reduction?

Post by Ormus » Mon Sep 24, 2012 10:46 pm

rhui wrote:the current bot isnt optimized for multi clients. The next release v3 will address this issue. You will need only one bot instance for N clients...
Thats great! Any eta on the next version or estimate?

Darius
Tester
Posts: 256
Joined: Mon Jan 19, 2009 2:06 am

Re: CPU usage reduction?

Post by Darius » Mon Sep 24, 2012 11:34 pm

Soon (TM) :twisted:

rhui
Tester
Posts: 993
Joined: Tue Mar 09, 2010 7:10 am
Supporter: 9999

Re: CPU usage reduction?

Post by rhui » Mon Sep 24, 2012 11:53 pm

Not really soon.

Sneak-Preview:
Because we want to finish the multi clients support feature for attended macroing.
And we need to change the state machine and we will switch to behavior trees for better customizing.

So this will be a BIG change!

qedprigmosynois
Posts: 3
Joined: Sat Sep 15, 2012 2:41 pm

Re: CPU usage reduction?

Post by qedprigmosynois » Tue Oct 02, 2012 9:12 am

quick question:
Is there a way to reduce the cpu usage just for a single client? When I run the game, pwngbt is usually taking up most of the processing power so I was wondering if there to optimize it to take as little computing power as possible.

bob
Tester
Posts: 482
Joined: Thu Aug 18, 2011 9:23 am
Supporter: 9999

Re: CPU usage reduction?

Post by bob » Tue Oct 02, 2012 6:26 pm

Not reallyTM

The only methods you have are to limit the options of the bot i.e.
  • Small map files (you could have a different map file per location, but this would require you to manually move/rename files each time you wanted to use a different grind spot.
  • Make the class.xml file as small as possible, i.e. less options for it to choose.
  • Turn off unnecessary functions like harvesting, looting
  • Set search, grind ranges down low
Of all the above, the small map files will likely make the biggest impact, but even then you'r only going to shave a small percentage of cpu usage.

The majority of CPU time is spent monitoring the lotroclient memory space to determine the current state. That will not change regardless of the settings/map file size etc. If they were known, and it were possible to hook the various functions that set the state in the lotroclient then it would eliminate the need to constantly monitor the lotroclient memory, but as of yet, these functions have not been found. Its a shame turbine wont release the source it would make it much easier.

Darius
Tester
Posts: 256
Joined: Mon Jan 19, 2009 2:06 am

Re: CPU usage reduction?

Post by Darius » Wed Oct 03, 2012 11:41 pm

Ormus wrote:I was playing around to see how many times i can run the game and bot on my laptop, the game is well optomised so the resources it uses are quite small, i managed to get it down so i can run the game 5 or 6 times .
Jesus, how, did you manage that?
I got to run 3 clients max at a given time, but must admit, that wasn't much fun with either to play around.
Only useful way for me was having one being the bot, the rest on follow and sucking up the group XP.
Do you have three different clients on 3 different partitions, or even more?

Thanks and best,
D*

bob
Tester
Posts: 482
Joined: Thu Aug 18, 2011 9:23 am
Supporter: 9999

Re: CPU usage reduction?

Post by bob » Thu Oct 04, 2012 3:20 am

Darius wrote:Do you have three different clients on 3 different partitions, or even more?
Partitions? Do you mean installing the client to seperate locations. If you do that then Windows has to load the DLL's multiple times. If you run the client multiple times from the same location, then the Windows VMM will use the same copy of the DLL in memory, saving ram, so if you have limited ram, then it helps prevent page file activity. As you need around 1GB for the first instance, any savings you can make on later instances is a bonus.

I would think the OP may mean running 5-6 clients without running the bot at the same time. Of course if they are running a multi cpu xeon/opteron type setup then it could be client/bot. I can run 3 client/bot comfortably on an i73770. Could possibly squeeze 5 of each, provided the client is minimised.

rufflesHR
Posts: 91
Joined: Fri Oct 22, 2010 9:10 pm

Re: CPU usage reduction?

Post by rufflesHR » Sun Nov 11, 2012 12:40 am

LMAO @ Soon (TM)
Best run to date? close to 4 days nonstop during the 200%XP week only stopped to switch areas cause I was leveling crazy fast, also helps to have the pocket +25% xp too :)

Post Reply