Bukkit Multi-Core

Discussion in 'Bukkit Help' started by dakaron, Feb 6, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    dakaron

    hi all,

    i've a big issue with a server, the server has grown and now it lag even on a huge server, the problem seem to be that bukkit ron on only one of the cores of the servers.

    Is there any way to make bukkit run on multi-core? and if not, how other servers with many players handle the situation?

    Thanks you very much for any help!


    dakaron
     
  2. Offline

    Nathan C

    No, next time check the dozens of other threads on this before posting.

    It mainly runs on one core and some plugins and other things can utilize other cores. For Minecraft hosting, more cores is not better and it favors stronger cores.
     
  3. Offline

    MrRedLogan

    Nathan is correct. Bukkit only runs on one core. While some plugins do run on other cores to give Bukkit some breathing room. Sadly, there is nothing we can do to fix this.
     
  4. Offline

    JeffCraig

    The official response is something like:
    However, as of Minecraft 1.0, vanilla servers do support multi-core. In light of these changes, do the CraftBukkit 1.1 releases utilize the post 1.0 multi-core support? or will there need to be some changes before that happens? and if so, can we get an ETA?

    I don't like repeating already answered questions, but circumstances have changed; which require Bukkits response to also change.
     
  5. Offline

    Nathan C

    I believe the whole game will have to be recoded, in order to support multicore, which has to be done by Mojang.

    Bukkit can offload some things to other cores, but that is about it. Don't expect multicore support anytime soon, if ever.
     
  6. Offline

    MrRedLogan

    Nathan is right (again lol). It isnt something thats as easy as a couple line changes. It would require a WHOLE rewrite of both Minecraft and Bukkit. Truthfully, I don't see multi-core support coming at all.
     
  7. Offline

    Zeerix

    The wiki is more or less wrong.
    All the hard work is done on the main server thread for both Mojang's server and CraftBukkit.

    There are some things that are in a separate thread, for example network handling for all players, saving chunks to disk and (for Bukkit only) compression of chunk data before it is sent to the clients. Having these things offloaded helps a bit, but the most CPU intensive tasks are still in the main thread, and it is hard to make them multi-threaded without breaking the game.

    In short: No ETA.
     
  8. Offline

    asle12

    I am using VmWare sphere and hosting minecraft server on virtual machines with AMD FX-8120 and i gave the virtual machines 2 cores and the server is using both.
     
  9. Offline

    Jade

    1. OS 2. Bukkit

    Nonono. I mean the fact that One core is being used by the OS -- by the way, TERRIBLE Server OS -- The other is being used by Bukkit.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 11, 2020
  10. Offline

    asle12

    Ok, but what is the best server os, and why is it better?
     
  11. Offline

    Jade

    CentOS. Easily. It's clean, and efficient. No GUI, you gotta be at least partially smart to know what you're doing.
     
  12. Offline

    asle12

    Ok, shall check it out. I am thinking to change cpu to i7-2600k will that be better?
     
  13. Offline

    Jade

    Probably. Intel is a much better server processor brand.
     
  14. Offline

    asle12

    I tried to give the virtual machine that the minecraft server is on 4 cores and it ran better, how do you explain that?
     
  15. Offline

    Jade

    It ran better because Windows had more cores! To use for itself, I mean. That's how. :)
     
Thread Status:
Not open for further replies.

Share This Page