Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, Kingware, AemStones, RealSerious3D), 1,388 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A6 DLL Multithreaded? #74677
05/18/06 23:19
05/18/06 23:19
Joined: Apr 2005
Posts: 95
San Francisco
TheStonerunner Offline OP
Junior Member
TheStonerunner  Offline OP
Junior Member

Joined: Apr 2005
Posts: 95
San Francisco
I was researching Xbox 360 development, and Microsoft recommends multithreading your game. The A6 engine in DLL form is multithreaded, no? If so, what is the nature and extent of the threading, and how much do I need to do in my C-Script to use that (if anything, which I imagine I don't)?

Thank you in advance for the info :-)

Re: A6 DLL Multithreaded? [Re: TheStonerunner] #74678
05/19/06 00:26
05/19/06 00:26
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
For the most part A6 is not multithreaded. However, for stability reasons the physics engine is running in its own thread which is synchronized with the main thread.
I would be interested in reading the MS statement since I don't see too many spots where multithreading would be useful in a game engine.

Re: A6 DLL Multithreaded? [Re: Marco_Grubert] #74679
05/19/06 01:16
05/19/06 01:16
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
I've read that the new engines in coming years will have to be multithreaded to take advantage of the multiple cpus found in new computers and consoles. Such as the PS3 which I believe has 8 cells/cpus. On the other hand, some say its not possible to completely multithread an engine. Is this true? If so, then how are all these cpus going to be taken advantage of past using them soley for physics? I don't know too much about the inner workings of engines, and thank you for any further understanding on this.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: A6 DLL Multithreaded? [Re: TheStonerunner] #74680
05/19/06 04:27
05/19/06 04:27
Joined: Oct 2003
Posts: 206
N
nkl Offline
Member
nkl  Offline
Member
N

Joined: Oct 2003
Posts: 206
Can A6 engine dll use in Xbox 360 game development?

Re: A6 DLL Multithreaded? [Re: nkl] #74681
05/19/06 08:12
05/19/06 08:12
Joined: Apr 2005
Posts: 95
San Francisco
TheStonerunner Offline OP
Junior Member
TheStonerunner  Offline OP
Junior Member

Joined: Apr 2005
Posts: 95
San Francisco
nkl: That's what I'm researching. I believe so, but I don't have a hardware Xbox 360 just yet to test on.

Here is the Xbox 360 Preparation file from Microsoft.

Last edited by TheStonerunner; 05/19/06 08:14.
Re: A6 DLL Multithreaded? [Re: TheStonerunner] #74682
05/19/06 12:59
05/19/06 12:59
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline
Expert
A.Russell  Offline
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan
I've read about the next generation of multithreaded engines, as well. Unfortunately, I can't find a really good link I read about it and how it should be done. Also, for actual game development, there will be "microthreads" with a very small overhead and none of the problems of regular threads, so that you can run each entity in its own thread. This can already be done with Stackless Python.

Re: A6 DLL Multithreaded? [Re: A.Russell] #74683
05/19/06 19:33
05/19/06 19:33
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
Quote:

I would be interested in reading the MS statement since I don't see too many spots where multithreading would be useful in a game engine.




When you have to feed 3-8 cpus, multithreading is a must have.

Anybody who is thinking about writing engines for next generation machines should study it. But poorly done multithreading can slow things down and cause stability problems, so you shouldn't do it lightly.

3DGS doesn't have lots of threads because it is build to run on a single CPU. When multi-CPU systems become more common, or if somebody hires us to write for a next-gen console, we will make more use of threads.

Last edited by Doug; 05/19/06 19:37.

Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: A6 DLL Multithreaded? [Re: Doug] #74684
05/19/06 20:34
05/19/06 20:34
Joined: Apr 2005
Posts: 95
San Francisco
TheStonerunner Offline OP
Junior Member
TheStonerunner  Offline OP
Junior Member

Joined: Apr 2005
Posts: 95
San Francisco
In my experience, A6 is plenty fast enough on a single core, even for intense or expansive games. I'm fairly certain that the game I'm doing will run fine on a single 360 core, assuming I can build (or discover) the bridge between the A6 DLL and the XNA Build tools. I'm doing an RPG, so the most intense thing for me will probably be the graphics, which should be more than capably handled.

Later today, I'll do some testing with the tools and report back.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1