Author |
Message |
Overlord
Crewman
Joined: 15 May 2005, 01:00 Posts: 48 Location: Germany
|
Hi, apparently there is some sort of a multithreading bug. If I set the process affinity of SupremacyClient.exe to all cores my CPU utilization is as follows: Attachment:
File comment: With all cores
allcores.jpg [ 124.65 KiB | Viewed 3856 times ]
And with only one core: Attachment:
File comment: With one core
onecore.jpg [ 128.46 KiB | Viewed 3856 times ]
_________________
|
19 May 2009, 17:00 |
|
 |
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Hey Overlord, I didn't know you were affiliated with the Jad Engine--I've been following that project for a while. It's pretty cool. I've been thinking about using it for our combat engine.
This is certainly odd. I've got a multi-core machine, and I haven't noticed this before, but I'll do some testing. Thanks for the post!
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
19 May 2009, 17:27 |
|
 |
Kenneth_of_Borg
Ship Engineer
Joined: 10 Jul 2006, 01:00 Posts: 5130 Location: Space is disease and danger, wrapped in darkness and silence!
|
Did I hear someone say combat engine?!?! It would be wonderful just to have a simple (rock paper scissors and no 3D combat view) temporary combat fix in the alpha. It would be wonderful to have more help with the 3D combat engine. Especially as I have spent the last two years collecting and building models for it. 
_________________
|
19 May 2009, 19:19 |
|
 |
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Most of the CPU usage during regular gameplay is from the star and planet animations. Are you sure you had similar content on-screen when you did these tests?
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
19 May 2009, 20:38 |
|
 |
cdrwolfe
Combat Engineer
Joined: 18 Jul 2005, 01:00 Posts: 1001
|
Kenneth_of_Borg wrote: Did I hear someone say combat engine?!?! It would be wonderful just to have a simple (rock paper scissors and no 3D combat view) temporary combat fix in the alpha. It would be wonderful to have more help with the 3D combat engine. Especially as I have spent the last two years collecting and building models for it.  All that work for nothing, I know how your feel  . Regards Wolfe
_________________
|
20 May 2009, 00:44 |
|
 |
Kenneth_of_Borg
Ship Engineer
Joined: 10 Jul 2006, 01:00 Posts: 5130 Location: Space is disease and danger, wrapped in darkness and silence!
|
I know you can get it done given time CDR.
It would be nice if you had some help.
_________________
|
20 May 2009, 00:52 |
|
 |
Matress_of_evil
Evil Romulan Overlord of Evil - Now 100% Faster!
Joined: 02 Dec 2004, 01:00 Posts: 7392 Location: Returned to the previous place.
|
There might be some help on the way Wolfe - a new forum member, aeon, just posted. He says he has experience with Advanced 2D/3D Graphics Programming, XNA, DirectX, and WPF. Are those the sorts of areas you need help with? Aeon's Post.
_________________"Anyone without a sense of humour is truly at the mercy of the rest of us."  
|
20 May 2009, 01:53 |
|
 |
mstrobel
Chief Software Engineer
Joined: 11 Aug 2005, 01:00 Posts: 2688
|
Matress_of_evil wrote: There might be some help on the way Wolfe - a new forum member, aeon, just posted. He says he has experience with Advanced 2D/3D Graphics Programming, XNA, DirectX, and WPF. Are those the sorts of areas you need help with? No, they're areas *I* need help with. Or at least more manpower. Stay away, he's mine! 
_________________ Lead Developer of Star Trek: Supremacy 253,658 lines of code and counting...
|
20 May 2009, 03:19 |
|
 |
Overlord
Crewman
Joined: 15 May 2005, 01:00 Posts: 48 Location: Germany
|
mstrobel wrote: Most of the CPU usage during regular gameplay is from the star and planet animations. Are you sure you had similar content on-screen when you did these tests? Yes I was in the galaxy view, the CPU usage changed as soon as I changed the processor affinity (w/o doing anything else in the game).
_________________
|
20 May 2009, 10:38 |
|
 |
Overlord
Crewman
Joined: 15 May 2005, 01:00 Posts: 48 Location: Germany
|
Could you please add an option or commandline switch that sets the processor affinity to the first core. E.g. Code: Process.GetCurrentProcess().ProcessorAffinity = new IntPtr(1);
_________________
|
30 May 2009, 13:26 |
|
 |
|