Massive CPU issue

Moderator: Moderator

Post Reply
Message
Author
ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Massive CPU issue

#1 Post by ezekial69 »

I recently joined the ToME game. Its a well put together game. I only have one major complaint / concern. Every time i go to "rest" my games CPU usage goes from the average 10-18% up to 99% and the game lags like nuts for the duration of resting i.e. lvl 18 with 600 hp and it takes a good 5 minutes for it to "rest" to full hp. maybe i missed something but i just installed the game and started playing... this exact same issue happens ANY TIME i mouse over an enemy or friendly person and it lags like hell just to pop up the little status tooltip. (same thing occurs anytime i mouse over anything that causes a tooltip to popup.)

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Massive CPU issue

#2 Post by darkgod »

Hum, that much slowdown is weird.
What are the specs for your computer: memory, CPU, video card, ...
Are the video card driver correctly installer ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Re: Massive CPU issue

#3 Post by ezekial69 »

CPU: Intel Core™ i5-660 3.33 GHz
MEMORY: 4GB (2GBx2) DDR3
VIDEO CARD: ATI Radeon HD 5450 1GB DDR2
Not entirely sure whats going on but i still play the game... just dont rest until my golem dies at this point... then i take like a 5 min break to refit / rest to get him back... not a big deal i just go watch youtube or whatever while it lags its way to full

Hope you can figure out whats up with it.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Massive CPU issue

#4 Post by darkgod »

It's kind of weird
Can you run glewinfo from this package please http://sourceforge.net/projects/glew/fi ... p/download
and tell me the results
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Re: Massive CPU issue

#5 Post by ezekial69 »

Cant paste entire file here... Cant attach txt extensions....

So what exactly did you need to know from the glewinfo file?

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Massive CPU issue

#6 Post by darkgod »

Put it on pastebin.com it should work :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Re: Massive CPU issue

#7 Post by ezekial69 »


Reverend Bizarre
Higher
Posts: 61
Joined: Sun Jul 11, 2010 9:03 am

Re: Massive CPU issue

#8 Post by Reverend Bizarre »

I also have some performance issues. Sometimes the game is running smoothly, and sometimes it lags as hell. I tried to change graphics settings, but that didn't help.

OS: Windows XP SP 3
CPU: AMD Athlon 2800+, 1.81 GHz
Memory: 1 GB
Video: ATI Radeon 9600 / X1050 Series from ATI Technologies Inc.

GLEW Extension Info: http://pastebin.com/1ba841Xc

ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Re: Massive CPU issue

#9 Post by ezekial69 »

Any luck as to finding the problem yet?

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Massive CPU issue

#10 Post by darkgod »

Not much no :/

Can you do a profiler run for me please ? I'll take quite a long time given the horrible performance you have normaly but it'll help me.

Remove any profiler.log file in tome install directory, if there are any.
Start the game, get ready to rest
Press ctrl+alt+shift+p
rest
as soon as it is done, press ctrl+alt+shift+p again
exit tome

Send me the (compressed please :> ) profiler.log file
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Re: Massive CPU issue

#11 Post by ezekial69 »

Here is the profiler.log file... all 114MB of it... for only being active for a few minutes its a huge file.
Attachments
profiler.rar
Started JUST BEFORE resting was started and stopped RIGHT AFTER resting ended.
(227.76 KiB) Downloaded 253 times

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Massive CPU issue

#12 Post by darkgod »

Ahh thanks, I see what might be the problem.
It's something I had planned to change anyway, it may be betetr in b19, no promises though :/
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ezekial69
Low Yeek
Posts: 7
Joined: Mon Jan 03, 2011 2:06 pm

Re: Massive CPU issue

#13 Post by ezekial69 »

Able to give me a short version of what the issue is? I might be able to help with the code change.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Massive CPU issue

#14 Post by darkgod »

Basically each turn that passes the player changes (since he is resting) and thus each turn PlayerDisplay is regenerated, which is long and slow :/
PlayerDisplay needs to remember the old values of each things it tracks and only update when needed.
The required change to make it partially updatable si in b19 but not the checking old values, yet
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply