.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old September 7th, 2010, 10:34 AM

hawk66 hawk66 is offline
Corporal
 
Join Date: Jan 2008
Location: Germany
Posts: 50
Thanks: 7
Thanked 2 Times in 2 Posts
hawk66 is on a distinguished road
Default cpu consumption

Hi,

don't know if that was discussed before or if I have over-read this in the doc (wouldn't be the first time ):

Even if Winspmbt(CD-version) is idle, it consumes ~25% of the cpu(quad-core)...any reason for this...perhaps the used libraries to bridge that DOS-coding to Windows?

Might be a slight problem if you try to play that game on a netbook since it consumes more power than necessary...
Reply With Quote
  #2  
Old September 7th, 2010, 02:07 PM
Wdll's Avatar

Wdll Wdll is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Hellas->Macedonia->Thessaloniki->City Center->noisy neighbourhood
Posts: 1,359
Thanks: 307
Thanked 128 Times in 87 Posts
Wdll is on a distinguished road
Default Re: cpu consumption

It plays fine on a netbook with an Atom @1.6

But seriously, if you don't have one, don't buy one, buy a proper laptop, netbooks SUCK (the life out of you with their slow performance)
__________________
That's it, keep dancing on the minefield!
Reply With Quote
  #3  
Old September 7th, 2010, 04:57 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: cpu consumption

Quote:
Originally Posted by hawk66 View Post
Hi,

don't know if that was discussed before or if I have over-read this in the doc (wouldn't be the first time ):

Even if Winspmbt(CD-version) is idle, it consumes ~25% of the cpu(quad-core)...any reason for this...perhaps the used libraries to bridge that DOS-coding to Windows?

Might be a slight problem if you try to play that game on a netbook since it consumes more power than necessary...
That is because it is a game and not some office application.

Games are in a tight continuously running game loop, using idle time to do things like the palette cycling that does "moving" smoke, and redrawing the map several times a second to allow for animations. They are usually not very cooperative with other applications (ours allows a short amount of sleep time to allow office apps some CPU).

Office applications are in a wait state for the user to actually do something most of the time (type a key, press the mouse).

Games therefore assume they own the machine - you have started the thing in order to play the game, not do work !. If you actually are not doing something in a WP package, it is effectively doing nothing other than occupying RAM. Most games are always doing something that uses CPU, even if the end user is not focussed on the game window at the time.

Cheers
Andy
Reply With Quote
  #4  
Old September 10th, 2010, 08:53 AM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Lightbulb Re: cpu consumption

I work as a programmer in the software industry and often write multi-threaded applications and I have noticed the same that the other gamers above.

I wonder if there is no "sleep" or "wait" periods within the game? I'm running winspmbt on a single core machine and it then naturally takes 100% of the computing time available for it. Not that it's a big problem, but while drawing maps for the game the responsiveness of other windows could be better if it didn't.

Is there any wait loop where the software could sleep() for couple of milliseconds or possibility of yielding by sleeping 0 milliseconds whenever there's "nothing to do". Of course I understand that the base program was written at the ages when CPUs were never idling but working in a busy loop and there was no multitasking. All computers wait at the same speed - maybe there's a place somewhere for this little sleep routine?
Reply With Quote
  #5  
Old September 10th, 2010, 11:56 AM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: cpu consumption

A question here why is it really needed I have 2 computers & one is pretty basic yet it does not impact much unless I have several things going & then the important stuff gets priority & seems unafected. The other is a high end computer & is always used with multiple applications heavy streaming from internet etc & it does it no problem.
This is a game & apart from little time waster type games its the only game I have owned that is both stable enough & does not hog all the resources to allow you to multitask even on a budget machine. This is a bonus not a prequiste most games you play them period or get huge slowdown & instability.
I wish all aplications were as rock solid as this game.

As a thought it works seamlessley & there is probably no downtime. Change windows & hotkeys stop perfectly yet the game continues working away in the background. Multiscreen & you can do stuff on one monitor while watching the other sides turn making it great for work just get your boss into it, only possible because it is so stable.
__________________
John

Last edited by Imp; September 10th, 2010 at 12:10 PM..
Reply With Quote
  #6  
Old September 10th, 2010, 01:32 PM

hawk66 hawk66 is offline
Corporal
 
Join Date: Jan 2008
Location: Germany
Posts: 50
Thanks: 7
Thanked 2 Times in 2 Posts
hawk66 is on a distinguished road
Default Re: cpu consumption

the main issue is that the game consumes a lot of cpu usage when it is idle, which reduces the time until my netbook must visit its power station .

But this is not a complain at all...the code is older than a decade and for sure not changeable regarding this matter.

If you write (new) software today, you have to take mobility into account (android/ipad os as an example)...BTW winspmbt2 running on android (tablet pc) would be just cool
Reply With Quote
  #7  
Old September 11th, 2010, 03:45 AM
gila's Avatar

gila gila is offline
Captain
 
Join Date: Oct 2008
Posts: 898
Thanks: 45
Thanked 60 Times in 54 Posts
gila is on a distinguished road
Default Re: cpu consumption

This game uses very little CPU compared to the newer games.

I've got an 7 yo dell XP,still runs fine to SP.

Tried Combat Mission,not long ago and it moved slower than my granny on walker with one leg hobbled
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.