Game Development Community

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.
Page«First 1 2 3 4 5 Next»
#81
07/18/2007 (2:01 pm)
Maybe running client and server in its own thread will be a boost as well.

Also look at OpenMp
#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 OpenMp
I 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).
Page«First 1 2 3 4 5 Next»