Darwinbots Forum

Code center => Suggestions => Topic started by: Billy on May 09, 2010, 05:39:16 AM

Title: Multi Core
Post by: Billy on May 09, 2010, 05:39:16 AM
Is there a way of modifying DarwinBots to make use of dual-, quad- or octo-core machines? This would mean that those running DB on dual core processors would have performance doubles, quad-core quadrupled, and so on. Computers are going to have more and more cores every year, so I think it's time to make this modification.
Title: Multi Core
Post by: Shasta on May 09, 2010, 01:11:47 PM
Quote from: Billy
Is there a way of modifying DarwinBots to make use of dual-, quad- or octo-core machines? This would mean that those running DB on dual core processors would have performance doubles, quad-core quadrupled, and so on. Computers are going to have more and more cores every year, so I think it's time to make this modification.
Nope, at least not really. What you can do is run multiple instances of DB and isolate them onto one core of the processor. DB2 will never be multithreaded, and there are some inherent problems with multithreading DB3 also. There is a discussion about this here. (http://www.darwinbots.com/Forum/index.php?showtopic=3196)
Title: Multi Core
Post by: Numsgil on May 09, 2010, 02:35:23 PM
As Shasta says.

Basically, VB6 can't really be multithreaded.  DB3 will be, but there are limits to how many cores it can effectively use.

In both cases, the most efficient way to scale by the number of processors is to run more sims and link them together with teleporters.
Title: Multi Core
Post by: Billy on May 09, 2010, 02:42:01 PM
Okay, just thought it was worth mentioning.