Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Multicore CPU utilization

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Multicore CPU utilization Page: [1]
Login
Message << Older Topic   Newer Topic >>
Multicore CPU utilization - 11/30/2011 8:26:23 PM   
YourConscience

 

Posts: 57
Joined: 4/5/2010
Status: offline
In the current patch 1.7.0.2 things have gotten a bit slower again. This prompted me to have a look at the CPU utilization of the game and this was in for a surprise. Out of my 4 real cores, all were busy - but each for only about 14%. The other 4 hyperthreading cores weren't doing anything whatsoever.

Could anyone form Codeforce or Matrix comment on that? From a programmer's perspective this looks like something in the game is constantly waiting for something to finish before continuing to compute. I'd even go a claim that this is a bug, but it could be by design. On my Core i7 on a 15x15 sector with 700 stars the game is really really choppy now with like two or three computation cycles (or frames) per second.
Post #: 1
RE: Multicore CPU utilization - 11/30/2011 8:31:11 PM   
Fideach

 

Posts: 175
Joined: 3/30/2010
Status: offline
Since the patch I've been seeing what looks like a memory leak at times

(in reply to YourConscience)
Post #: 2
RE: Multicore CPU utilization - 11/30/2011 9:29:58 PM   
tjhkkr


Posts: 2428
Joined: 6/3/2010
Status: offline
That is interesting. I never gave any thought to cheking my CPU/memory stats...
And I used to stress test online applications in the old days.
Looks like load balance is pretty good though from what you have said!

_____________________________

Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.

(in reply to Fideach)
Post #: 3
RE: Multicore CPU utilization - 11/30/2011 10:31:51 PM   
Raap

 

Posts: 404
Joined: 1/12/2011
Status: offline
All the CPU cores are 'always' busy, even with single-threaded applications. Windows will automatically switch the thread from one core to the other so as to spread the heat and work load. Helps ensure longer CPU lifetime, since otherwise the first core would do like 90+% of all the work and fail much sooner. Task Manager isn't quick enough with updating to show this, however. A better way to measure how much the game is using is looking at the Processes page. Over here my DistantWorlds.exe is using 25%( sometimes going up to 30-35% depending on what I'm doing in the game), which means it's effectively using 1 out of my 4 cores and sometimes parts of a second core. If you've 8 cores, that means it should be somewhere around ~13% most of the time, with some higher usage every now and then.

So from what I can see, the game's still largely single-threaded but with a few functions using a second thread.

< Message edited by Raap -- 11/30/2011 10:35:41 PM >

(in reply to tjhkkr)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Multicore CPU utilization Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

3.766