Darwinbots Forum

Bots and Simulations => Evolution and Internet Sharing Sims => Topic started by: Botsareus on April 10, 2012, 05:55:56 PM

Title: "Emulating Multi-Threading" with DB2.X
Post by: Botsareus on April 10, 2012, 05:55:56 PM
This topic talks about setting up multi-threaded DB for version 2.X:

Quote
Each DB instance is single threaded, but you can run multiple instances simultaneously.  So one of the new 6 core processors can run 12 instances (6 cores with hyperthreading = 12 hardware threads) pretty effectively.

I am guessing I need Internet Mode enabled so the program communicates between threads, how do I do that?

(I think we should wall pin this topic so people have easy access to it, I for one, had no idea how to set this up. Or, please add a description to the wiki help)
Title: Re: "Emulating Multi-Threading" with DB2.X
Post by: Numsgil on April 11, 2012, 01:24:32 AM
From the program's perspective, internet mode is just reading from and writing to a specific folder.  So you'd just have all your instances internet sharing with the same folder.  There might be some issues with bots being written to and read from simultaneously from different program instances, though.  I'm not sure.