Author Topic: Multiple processor support  (Read 1068 times)

Is there any support for a blockland dedicated server to use multiple processors, Or is there any future plans to include it? (Note multiple processors, not multiple cores)

Multiple processors is more than one processor in a computer, and multiple cores is more than one core in a single processor. Windows have something called processes, which it divide into the currently existing processors and cores.

I don't think that Badspot would add this feature, even if it is awesome. This due that he need to split everything and make it thread-compatible. Meaning that if one thread creates an object, the other thread tries to read it before it is done creating itself. This is a problem that most programmers is facing, but there is solutions for it.

It would be very nice to use my quad xeon to host this. Right now it sucks because some mini-game addons are very cpu intensive. Hopefully badspot decides to incorporate this, probably make a lot f the servers out there better.

Host multiple servers which modifies the same files. It is a bigger views of how cores work with each others.

Oh, wait... That could possibly work...  :cookieMonster:

I know how they work, I just figured in this day and age badspot would have added some sort of support for it by now. And hosting multiple servers wont help for what I'm trying to accomplish.

Just because the technique exists, doesn't mean that he have to implement it. He's one person working on BL(actually two, but Kompressor doesn't do so much). I had myself problem with threads, and that was when I started a project from scratch.

The idea I thought of was that there's a main server, which anyone may join. When you start an another server in the same folder, it will first register itself to the main server, then wait for the requests. The main server sends out a request, by writing a file in a folder with the requested servers code. Then, the requested reads the file, deletes it and do the requested things.

How about that?

Edit: If anyone is interested, I could make something like this for those with multiple cores due the lack of multiprocessing in BL.
« Last Edit: February 04, 2010, 08:24:38 AM by mctwist »

Blockland, like Minecraft and Dwarf Fortress, is an elaborate game to be made by a single person and he can't add everything cool and useful to the game. There is a possibility he will add it, but he is only one man.

Therefor, if there is any sort of interest in the method I mentioned above, then make a note here.

Actually stuff like physics already run on a separate thread. And some graphics drivers nowadays can offload work to a second thread, too.

That doesn't help the server, unfortunately. :(

Maybe people should write more efficient mods. :)

it sounds like the method you mentioned above would really help...

It would be slow, but in a server where you want to save a database, it would help a lot if it was transferred to an another server that would handle it. Although, that wouldn't help here... Only highload functions that doesn't need so much arguments or inputs would have this as a benefit.

Actually stuff like physics already run on a separate thread. And some graphics drivers nowadays can offload work to a second thread, too.

That doesn't help the server, unfortunately. :(

Maybe people should write more efficient mods. :)
v15 update: Multi-core processing.