Multi-processor parallel programming in TGE
by Duncan Gray · in Torque Game Engine · 05/10/2007 (12:17 am) · 83 replies
I just tried running 4 threads on a single CPU and I did not get the above predicted clash in the assembly code.
In fact I get no problems at all.
Although I only adapted the updateSkin method for this test, this multiprocess approach can be used to increase performance in collission, physics, animation calculations, AI etc as well
If you want to try the demo, please post here or email me.
In fact I get no problems at all.
Although I only adapted the updateSkin method for this test, this multiprocess approach can be used to increase performance in collission, physics, animation calculations, AI etc as well
If you want to try the demo, please post here or email me.
About the author
#82
07/18/2007 (2:07 pm)
Quote:Maybe running client and server in its own thread will be a boost as well.maybe but only for single-player games.
#83
07/18/2007 (2:37 pm)
Quote:Also look at OpenMpI found it interesting that of the 3 talks i saw at GDC on multicore game implementations all of them seemed to have rolled their own library (or didn't mention use of something like OpenMP).
Torque Owner Duncan Gray
Also look at OpenMp