Page 1 of 1

CPU usage reduction?

Posted: Mon Sep 24, 2012 8:56 pm
by Ormus
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.

Re: CPU usage reduction?

Posted: Mon Sep 24, 2012 10:42 pm
by rhui
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...

Re: CPU usage reduction?

Posted: Mon Sep 24, 2012 10:46 pm
by Ormus
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?

Re: CPU usage reduction?

Posted: Mon Sep 24, 2012 11:34 pm
by Darius
Soon (TM) :twisted:

Re: CPU usage reduction?

Posted: Mon Sep 24, 2012 11:53 pm
by rhui
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!

Re: CPU usage reduction?

Posted: Tue Oct 02, 2012 9:12 am
by qedprigmosynois
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.

Re: CPU usage reduction?

Posted: Tue Oct 02, 2012 6:26 pm
by bob
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.

Re: CPU usage reduction?

Posted: Wed Oct 03, 2012 11:41 pm
by Darius
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*

Re: CPU usage reduction?

Posted: Thu Oct 04, 2012 3:20 am
by bob
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.

Re: CPU usage reduction?

Posted: Sun Nov 11, 2012 12:40 am
by rufflesHR
LMAO @ Soon (TM)