Mineserver Community

Mineserver => Development => Topic started by: MechWarrior001 on December 06, 2010, 06:44:38 am



Title: Potential OpenMP support?
Post by: MechWarrior001 on December 06, 2010, 06:44:38 am
From what I understand, OpenMP can be used to provide cluster-computing support. That being said, would it be possible to implement that into Mineserver? If so, it could potentially increase the maximum amount of players a server could support by allowing it to run on a cluster, thereby bringing Minecraft to potential MMO status. Or that's my theory anyways.


Title: Re: Potential OpenMP support?
Post by: ReDucTor on December 06, 2010, 08:38:52 am
Yes, We could do some OpenMP stuff on some of the more pressure intensive stuff, However multi-threading improvements I believe should come after doing profiling on slower points, which I plan to do during these x-mas holidays.


Title: Re: Potential OpenMP support?
Post by: Andrew on December 07, 2010, 07:37:56 am
You could easily make all the callbacks multithreaded as long as functions to Map were thread safe. I believe it would involve making sure you're not trying to read and write to the same block at the same time.


Title: Re: Potential OpenMP support?
Post by: ReDucTor on December 07, 2010, 10:57:47 am
This would require us making all exported functions thread safe, and their related information, making all sorts of thread safe changes.


Title: Re: Potential OpenMP support?
Post by: Manhim on December 07, 2010, 10:37:53 pm
Mutexes are usefull for multi-threading :)