CPU horde even in idle state
Moderators: Joel Billings, elmo3, Sabre21
CPU horde even in idle state
Even if there are no animation or sounds or user action, the game runs in some busy loop consuming all CPU power. This is probably related to sluggishness in higher resolutions: Even accessing the menus (no repainting of the main screen is needed) is slow in high resolutions.
RE: CPU horde even in idle state
Hi all,
What is your desktop resolution?
What are the specs of your PC?
Leo "Apollo11"
ORIGINAL: Indy68
Even if there are no animation or sounds or user action, the game runs in some busy loop consuming all CPU power. This is probably related to sluggishness in higher resolutions: Even accessing the menus (no repainting of the main screen is needed) is slow in high resolutions.
What is your desktop resolution?
What are the specs of your PC?
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
Win7 x64 with 8 GB RAM. I have two displays, both 1920x1200, but I removed my second display and restarted WITE and it didn't help. CPU: Core 2 Duo T7700 2.4 Ghz. Sounds are disabled in WITE. Video card: NVIDIA Quadro FX 1600M with latest drivers (260.99) (I used to have older driver dated July 2010 , but installed the latest driver to see if that helps - no help).
One of the CPU cores is fully loaded even if I run the game in small window, but then it's not so sluggish.
One of the CPU cores is fully loaded even if I run the game in small window, but then it's not so sluggish.
RE: CPU horde even in idle state
Hi all,
Hmmm...
I test WitE on i7 920 (4+4 cores = 8 cores) and 12 GB RAM on my workstation at work and I have never seen high CPU usage.
At home I have Core2Duo and 2 GB RAM - same thing - no high CPU usage.
On my laptop I have mobile i7 (4+4 cores = 8 cores) and 4 GB of RAM and it is the same - no problems.
Can you please use the windows "Task Manager" and see exactly which process is sucking the CPU cycles?
Leo "Apollo11"
ORIGINAL: Indy68
Win7 x64 with 8 GB RAM. I have two displays, both 1920x1200, but I removed my second display and restarted WITE and it didn't help. CPU: Core 2 Duo T7700 2.4 Ghz. Sounds are disabled in WITE. Video card: NVIDIA Quadro FX 1600M with latest drivers (260.99) (I used to have older driver dated July 2010 , but installed the latest driver to see if that helps - no help).
One of the CPU cores is fully loaded even if I run the game in small window, but then it's not so sluggish.
Hmmm...
I test WitE on i7 920 (4+4 cores = 8 cores) and 12 GB RAM on my workstation at work and I have never seen high CPU usage.
At home I have Core2Duo and 2 GB RAM - same thing - no high CPU usage.
On my laptop I have mobile i7 (4+4 cores = 8 cores) and 4 GB of RAM and it is the same - no problems.
Can you please use the windows "Task Manager" and see exactly which process is sucking the CPU cycles?
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
ORIGINAL: Apollo11
Can you please use the windows "Task Manager" and see exactly which process is sucking the CPU cycles?
[:)] WarInTheEast.exe*32
There might be a reason why you see low CPU usage: When you click Task Manager window it becomes active, and then WITE CPU usage drops to 0%. So, WITE is CPU horde only when it's the active window (getting user input).
RE: CPU horde even in idle state
There might be a reason why you see low CPU usage: When you click Task Manager window it becomes active, and then WITE CPU usage drops to 0%. So, WITE is CPU horde only when it's the active window (getting user input).
Resource monitor is refreshing when WITE window is active. I never seen CPU goes to 100% without a reason when WITE is running.
Don't have so big screen to try it.
- Attachments
-
- CPU_load.jpg (575.33 KiB) Viewed 200 times
Pavel Zagzin
WITE/WITW/WITE-2 Development
WITE/WITW/WITE-2 Development
RE: CPU horde even in idle state
ORIGINAL: Helpless
There might be a reason why you see low CPU usage: When you click Task Manager window it becomes active, and then WITE CPU usage drops to 0%. So, WITE is CPU horde only when it's the active window (getting user input).
Resource monitor is refreshing when WITE window is active. I never seen CPU goes to 100% without a reason when WITE is running.
Don't have so big screen to try it.
I suggest you do a test: Check the CPU usage when WITE is active but idle (you are not doing anything with mouse or keyboard and AI is not executing). Then activate some other window. Check if CPU load drops significantly. My CPU Usage drops dramatically in that kind of test.
RE: CPU horde even in idle state
Hi all,
I see nothing here (i7 920 with 4+4 cores = 8 cores, 12 GB RAM, nVidia gfx card)...
BTW, do you have some sort of power saving (i.e. CPU power saving) enabled?
Can you use the CPU-z (freeware CPU info program) to check this (the frequency of CPU is what I am interested in)?
http://www.cpuid.com/softwares/cpu-z.html
Leo "Apollo11"
ORIGINAL: Indy68
I suggest you do a test: Check the CPU usage when WITE is active but idle (you are not doing anything with mouse or keyboard and AI is not executing). Then activate some other window. Check if CPU load drops significantly. My CPU Usage drops dramatically in that kind of test.
I see nothing here (i7 920 with 4+4 cores = 8 cores, 12 GB RAM, nVidia gfx card)...
BTW, do you have some sort of power saving (i.e. CPU power saving) enabled?
Can you use the CPU-z (freeware CPU info program) to check this (the frequency of CPU is what I am interested in)?
http://www.cpuid.com/softwares/cpu-z.html
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
No power saving modes active. CPU-Z reports about 2400 MHz (screen shot attached).
- Attachments
-
- CPU.gif (29.39 KiB) Viewed 199 times
RE: CPU horde even in idle state
Hi all,
Thanks for info. No apparent problem seen there as well.
So... you are running WitE on laptop... and it is interesting what you are seeing...
Leo "Apollo11"
ORIGINAL: Indy68
No power saving modes active. CPU-Z reports about 2400 MHz (screen shot attached).
Thanks for info. No apparent problem seen there as well.
So... you are running WitE on laptop... and it is interesting what you are seeing...
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
Hi all,
BTW, have you tried running WitE as "Administrator"?
Leo "Apollo11"
BTW, have you tried running WitE as "Administrator"?
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
Actually, I can't even run WitE without administrator rights. The Game Menu is run in the administrator mode, and if I try to execute the WarInTheEast.exe (quick start icon or in the install folder) without administrator rights I get error (Fatal Error Code#801 regarding serial number).
I can't believe this is a problem in my pc because every other thing works fine and I have most recent drivers. I wish someone else could confirm this problem. I have attached a screenshot of Task Manager. You can see that before WitE starts, CPU is almost idle. Naturally during the application startup and scenario startup CPU is active, and during scenario selection CPU is not very active. However, most of the time between the Scen Selection mark and other window activation mark is just idle game screen: Scenario is loaded showing units on the map and I have even moved the mouse out of the whole application window and I'm not touching anything. Window size is default (1024x768, I think), I tried not to touch anything unnecessary at all. I kept it like that about 15 seconds to show you the CPU load being high. Interestingly the usage trend is lightly upwards and memory usage of WitE is changing all the time. When I finally click the mouse to active another window the CPU usage drops.
I can't believe this is a problem in my pc because every other thing works fine and I have most recent drivers. I wish someone else could confirm this problem. I have attached a screenshot of Task Manager. You can see that before WitE starts, CPU is almost idle. Naturally during the application startup and scenario startup CPU is active, and during scenario selection CPU is not very active. However, most of the time between the Scen Selection mark and other window activation mark is just idle game screen: Scenario is loaded showing units on the map and I have even moved the mouse out of the whole application window and I'm not touching anything. Window size is default (1024x768, I think), I tried not to touch anything unnecessary at all. I kept it like that about 15 seconds to show you the CPU load being high. Interestingly the usage trend is lightly upwards and memory usage of WitE is changing all the time. When I finally click the mouse to active another window the CPU usage drops.
- Attachments
-
- CPUusage.gif (10.27 KiB) Viewed 199 times
RE: CPU horde even in idle state
Actually, I can't even run WitE without administrator rights. The Game Menu is run in the administrator mode, and if I try to execute the WarInTheEast.exe (quick start icon or in the install folder) without administrator rights I get error (Fatal Error Code#801 regarding serial number).
This problem caused by UAC (or some other security setting) which blocks copy protection util to start.
High CPU load when map is active is expected since the drawing routine is really massive. It is possible to optimize it, but it is not so easy task. The good news that since we managed to solve the mouse click problem, it is possible to reduce polling cycles without any visible degradation for the game performance. So far on my PC I'm getting 20-40% CPU load reduction when game runs idle. It should have positive effect on some low end configurations as well. Keep testing.
Pavel Zagzin
WITE/WITW/WITE-2 Development
WITE/WITW/WITE-2 Development
RE: CPU horde even in idle state
ORIGINAL: Helpless
High CPU load when map is active is expected since the drawing routine is really massive.
But why does the drawing routine has to execute when there is no need to redraw anything? (No animation, no user interaction, no popups)
Also, I think the drawing routine is not very efficient. I was working on a similar game like this in my spare time, but haven't had much time to proceed. Anyway, I was using the old War in Russia hex map as source and I implemented the map scrolling/zooming in Microsoft WPF technology. So, almost everything was vector based graphics (excluding some textures) and zooming/scrolling was very fast. I didn't see any delay. But now with WitE and the same pc the game board is very slow. With this personal background and watching what must be drawn on the board, it seems that the drawing routine is not very good. Still, the game itself looks nice, so I appreciate your efforts. I'm also impressed that the beta version with mouse click fix came so quickly [:)]
RE: CPU horde even in idle state
Hi all,
This is good info (and Pavel above found some god things as well)!
BTW, did you restart the laptop after you installed the WitE or you just put it to sleep?
In one of our tests prior to release I had the exact same problem as you (and that's why I asked about "Run as Administartor") and it was solved after PC restart (that PC is never shut down 24/7/365)...
Leo "Apollo11"
ORIGINAL: Indy68
Actually, I can't even run WitE without administrator rights. The Game Menu is run in the administrator mode, and if I try to execute the WarInTheEast.exe (quick start icon or in the install folder) without administrator rights I get error (Fatal Error Code#801 regarding serial number).
I can't believe this is a problem in my pc because every other thing works fine and I have most recent drivers. I wish someone else could confirm this problem. I have attached a screenshot of Task Manager. You can see that before WitE starts, CPU is almost idle. Naturally during the application startup and scenario startup CPU is active, and during scenario selection CPU is not very active. However, most of the time between the Scen Selection mark and other window activation mark is just idle game screen: Scenario is loaded showing units on the map and I have even moved the mouse out of the whole application window and I'm not touching anything. Window size is default (1024x768, I think), I tried not to touch anything unnecessary at all. I kept it like that about 15 seconds to show you the CPU load being high. Interestingly the usage trend is lightly upwards and memory usage of WitE is changing all the time. When I finally click the mouse to active another window the CPU usage drops.
This is good info (and Pavel above found some god things as well)!
BTW, did you restart the laptop after you installed the WitE or you just put it to sleep?
In one of our tests prior to release I had the exact same problem as you (and that's why I asked about "Run as Administartor") and it was solved after PC restart (that PC is never shut down 24/7/365)...
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
Actually, I didn't reboot my laptop after installing WitE. I just restarted and retried, but it didn't help.
Also, the GUI response time is pretty good in the default size window, but it's quite awful in 1920x1200 (Menus are also slow). I need to learn patience, I guess, because I hate to play in small window.
Also, the GUI response time is pretty good in the default size window, but it's quite awful in 1920x1200 (Menus are also slow). I need to learn patience, I guess, because I hate to play in small window.
RE: CPU horde even in idle state
Hi all,
The reboot should have worked but there might be caveat...
What EXE are you using now?
The original one or HotFix that some of you guys with problem got via e-mail?
Leo "Apollo11"
ORIGINAL: Indy68
Actually, I didn't reboot my laptop after installing WitE. I just restarted and retried, but it didn't help.
Also, the GUI response time is pretty good in the default size window, but it's quite awful in 1920x1200 (Menus are also slow). I need to learn patience, I guess, because I hate to play in small window.
The reboot should have worked but there might be caveat...
What EXE are you using now?
The original one or HotFix that some of you guys with problem got via e-mail?
Leo "Apollo11"
Prior Preparation & Planning Prevents Pathetically Poor Performance!
A & B: WitW, WitE, WbtS, GGWaW, GGWaW2-AWD, HttR, CotA, BftB, CF
P: UV, WitP, WitP-AE
RE: CPU horde even in idle state
I'm testing now, after reboot, with both exes. Both have about the same CPU load figures in idle game screen state:
default window size: CPU load 39%
1920x1200: CPU load 46%
These figures are 10 second averages, tested with both exes.
default window size: CPU load 39%
1920x1200: CPU load 46%
These figures are 10 second averages, tested with both exes.
RE: CPU horde even in idle state
Try using a Windows Basic theme instead of Windows Aero.
RE: CPU horde even in idle state
Switching to Windows Basic theme actually improved response time in higher resolutions, thanks [:)]. Oddly CPU usage was not reduced, but perhaps even increased (WitE CPU usage figures were somewhat higher than what I reported earlier, but that might be just co-incidence).