Multicore
#1
Hey there new here

I just found Cuberite and think it could solve all my problems ever with MC servers (performance).

However, after compiling on my old Test server on the first run it took 82seconds to  start, since it would only use 2 of my 16 Threads for world generating / Chunk loading.
My test server is an old IBM x3850 with 4 dual-cores fitted with hyperthreading.

Is that normal or did I overlook something? Since I  started searching for other server file options b.c. java wasn't using my cores enough.



Cheers
Reply
Thanks given by:
#2
Hey, welcome to the forum.

For every world Cuberite creates threads for the following:
  • Lighting
  • Chunk Storage
  • Chunk Generation
  • Chunk to client communication
  • Ticking

Naturally some threads are more active than others. The heaviest being world generation, but that thread is only active when needed.

The reason why the first run took longer is because it's generating the spawn for all 3 default worlds (overworld, nether and the end). The second time it doesn't have to generate the worlds. It can just load them from storage.
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)