Gamestudio Links
Zorro Links
Newest Posts
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
2 registered members (AbrahamR, 1 invisible), 858 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Support of multi core CPU #341634
09/18/10 21:33
09/18/10 21:33
Joined: Jul 2006
Posts: 40
North Europe
D
DeepReflection Offline OP
Newbie
DeepReflection  Offline OP
Newbie
D

Joined: Jul 2006
Posts: 40
North Europe
Hi,

Just to complete the picture, R.L. drain most of my time and I might have missed this completely but the last time I made an empiric test, only one CPU of a quad was 100% used. With the A8 and all other updates do this engine take advantage of multi-core CPU? You know i3 i5 i7 and similar babies?

I tried to find out in the release documents and on forum but to no vain. If truly A8 take advantage of multi core CPU it should be mentioned. Otherwise the conclusion is no! Can this in a polite way be confirmed? For sure if not supported this would require a more or less remake of the core and if so is this planned?

Please enlighten me of the current state of business.


Whoever has the gold makes the rules.
Re: Support of multi core CPU [Re: DeepReflection] #341641
09/18/10 22:38
09/18/10 22:38
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
I think gamestudio is in 32-bit, not 64-bit, so it doesn't take advantage of the multiple cores, except the map compiler, which uses all the cores you have in order to build the level faster.


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Support of multi core CPU [Re: painkiller] #341644
09/18/10 22:53
09/18/10 22:53
Joined: Jul 2006
Posts: 40
North Europe
D
DeepReflection Offline OP
Newbie
DeepReflection  Offline OP
Newbie
D

Joined: Jul 2006
Posts: 40
North Europe
I appreciate you're reply but my question is not whatever related to 32 or 64 bit space. That is more of can Game studio take advantage of more than 4 Gig of memory?. My question is if it capable to utilize more than one core to calculate and run core tasks at ounce?


Whoever has the gold makes the rules.
Re: Support of multi core CPU [Re: DeepReflection] #341661
09/19/10 08:00
09/19/10 08:00
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
The engine itself does only run one core task. It doesn't support multi-core CPUs.

With lite-C, you can use the Windows-API to create more threads and have them run on the other CPU cores, a plugin for that has also been created by a user.
There are restrictions, as far as i know you shouldn't access engine variables from threads and you might want to keep away from some engine functions.

Re: Support of multi core CPU [Re: SchokoKeks] #341665
09/19/10 09:03
09/19/10 09:03
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Yes, when using your own threads, stay away from every engine function that creates something. Or at least perform those operations on the main thread.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Support of multi core CPU [Re: WretchedSid] #341681
09/19/10 11:15
09/19/10 11:15
Joined: Jul 2006
Posts: 40
North Europe
D
DeepReflection Offline OP
Newbie
DeepReflection  Offline OP
Newbie
D

Joined: Jul 2006
Posts: 40
North Europe
Thanks for the info, it helps when you have a key word to search with, however the plugin seems not available anymore, i got 403 forbidden on that site. Multithreading plugin

Slin mention that it can be done in another way, is this documented somewhere? Also I got the feeling you need to make something in c++ to get a go with this technique?


Whoever has the gold makes the rules.
Re: Support of multi core CPU [Re: DeepReflection] #341683
09/19/10 11:22
09/19/10 11:22
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
no, can be done in lite-c only, for docs check msdn for threaded programming, CreateThreadEx etc.


3333333333
Re: Support of multi core CPU [Re: Quad] #341746
09/19/10 21:10
09/19/10 21:10
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia


Formerly known as JulzMighty.
I made KarBOOM!
Re: Support of multi core CPU [Re: JibbSmart] #341772
09/20/10 08:14
09/20/10 08:14
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The engine itself can not use multiple cores because the main engine functions must run in a certain order.

But side functions, such as video or audio streaming, use multiple cores. You can also use them the way described above when you have time consuming functions.

Re: Support of multi core CPU [Re: jcl] #341794
09/20/10 16:24
09/20/10 16:24
Joined: Jul 2006
Posts: 40
North Europe
D
DeepReflection Offline OP
Newbie
DeepReflection  Offline OP
Newbie
D

Joined: Jul 2006
Posts: 40
North Europe
Thanks for the clarifications, this seems to be the way to go. A pity it seems the example from this thread again is unavailable boost up you game... (use multithreading!)

Very well, at least I see a workable path to make full use of the CPU, and not let some Cores stay idle...


Whoever has the gold makes the rules.
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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