Urgent!] Dual Core CPU's with TGEA
by Mquaker · in Torque Game Engine Advanced · 06/01/2007 (1:52 am) · 5 replies
When we run our game with Dual Core CPU's it only uses one CPU like image A, not both.
What we want to know is how to make them use both CPU's like image B.
We do use Torque - Multi Thread Defines already.
But we can't seem to find the problem why it's only using one side of CPU's.
image A) When we run our game with dual core CPU. It looks like this:

image B) When we run other game with dual core CPU. We want to make it look like this:

If you know anyting about it, please help us find what's problem.
What we want to know is how to make them use both CPU's like image B.
We do use Torque - Multi Thread Defines already.
But we can't seem to find the problem why it's only using one side of CPU's.
image A) When we run our game with dual core CPU. It looks like this:

image B) When we run other game with dual core CPU. We want to make it look like this:

If you know anyting about it, please help us find what's problem.
About the author
visit : http://www.quakedev.net
#2
06/01/2007 (4:16 am)
See www.garagegames.com/mg/forums/result.thread.php?qt=61926 for all our experiments with Duncan's code - I ported it over to TGEA, and I posted my results in said thread :)
#3
06/03/2007 (2:19 pm)
Note that Atlas also uses a second thread... which should give you some performance gains.
#4
We are still looking on it!
If anyone else has a good solution.
Please spread out here for everyone.
06/13/2007 (6:58 pm)
Thank you very much for your help.We are still looking on it!
If anyone else has a good solution.
Please spread out here for everyone.
#5
The only solution is to measure where the majority of your performance is going and rewrite that code in a way that spreads that work across other cores.
06/13/2007 (7:21 pm)
There is unfortunately no magic fix that will improve this.The only solution is to measure where the majority of your performance is going and rewrite that code in a way that spreads that work across other cores.
Torque 3D Owner Peter Simard
Default Studio Name
There is a resource someone posted recently that adds some threading into torque that you might want to check out.