Author Topic: "Emulating Multi-Threading" with DB2.X  (Read 2686 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
"Emulating Multi-Threading" with DB2.X
« 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)
« Last Edit: April 10, 2012, 06:00:47 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: "Emulating Multi-Threading" with DB2.X
« Reply #1 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.