News:

SimuTranslator
Make Simutrans speak your language.

[bug r2795] CPU usage more than 90%

Started by z9999+, October 18, 2009, 11:49:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999+

r2795 GDI, SDL
When I start simutrans, CPU load is always more than 90% and can't play game anymore.



[EDIT]
I tested r2799.
It is not over 90% but still more than 50%. Fast forward and pause are not heavy, but normal state is too heavy for me.
Simutrans 102.2 eats only 10%.

z9999+

#1
Tested in r2809.

In normal state, it is better, thank you.
But pause mode has big problem. Is is very laggy and dragging window in not possible,


[EDIT]
Tested in r2812.
Pause problem was solved.

But totaly in normal state, it's laggy compared to 102.2.
In large maps, scroll dragging is laggy and if I playing with zoom out map, simutrans don't response for a long time. This problem often happen.
I tested  same game with my compiled 102.2, but it doesn't have such a problem.

prissi

Yes , that is known. The older reduces the frame rate faster to keep simulooü counts up (15fps vs. 25fps). I am aware of the problem.

z9999+

Tested in r2818 and it works well again. Thank you.

Well, some people might feel fps is low in large game, but I think stable simloop and responsive is better than high fps.
So, I like current one.

wlindley

r2833 (102.3) has very low CPU usage; the more recently uploaded 102.2.1 series (r2836 and r2839) are back to taking 100% of CPU.

What is different in the 102.3 series that makes it so much more responsive?  Will that be rolled back into the next revisions?

prissi

The differences are the speed at which the time between frame is reduced when the game gets unresponsive.

z9999+

I don't have 100% CPU usage problem anymore.
When I launch simurans, CPU usage is less than 30%, and no CPU clock up.
Tested both Windows SDL and GDI version.