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
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.
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.
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.
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.
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.
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.
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.
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.
CentOS. Easily. It's clean, and efficient. No GUI, you gotta be at least partially smart to know what you're doing.
I tried to give the virtual machine that the minecraft server is on 4 cores and it ran better, how do you explain that?