Ubuntu Java Optimization?

Discussion in 'Bukkit Help' started by MikeA, Sep 19, 2011.

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

    MikeA

    Earlier today my server hit around 70~ players, and I didn't expect it to lag as it did. There was quite a bit of block lag, which is extremely unusual for my server.
    I have good hardware, with over 8GB ddr3 ram. 100mbps tested @ speedtest.net.
    Quad core processors, plenty of disk space, don't worry about it.

    I use the following command to start my server.
    java -server -Xmx5000M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -jar bukkit.jar nogui

    I use java jdk 1.6, as I haven't had time to update to 1.7 (i have all the files, but it's simply not setting it to default...)

    Anything I could do to make it a bit better? The block lag only appears when many people are on editing blocks.

    ******
    With 40-60 players online, there is approximately 2000 to 4000 block edits per 1-5 minutes, each block edit is being logged to LogBlocks' MySQL database also, and McMMOs' MySQL database.
    Also there are around 2,000 to 5,000 mobs on our map at all times with 50+ players online. I use the /butcher command often to lessen the lag, it does help greatly while they are still killed off.
     
  2. Offline

    Nokturn

    We had the same problems. We´ve changed to a solid state disc and set the view distance to 8.
    Try this i think that will help.

    Set the Software Raid from 1 to 0 that will raise the speed of your hard disc. If you do this you should download your backups often or uploading on a backup server.

    Sorry for my english
     
  3. Offline

    Phaedrus

    You can try tuning your garbage collection a bit more.

    Details here: http://forums.bukkit.org/threads/ho...24gb-dedicated-server.3967/page-2#post-184208

    I haven't used LogBlock, but do you have the option of reducing the amount of things that it logs to the sql database? I know you could with BigBrother.

    If you have ram to spare and your server and world files aren't too massive you could put them on a RAM disk to reduce seek latency.

    The efficiency, or lack there of, of the way minecraft handles world changes is going to pose a problem for large scale servers. 50 players may prove to be the practical limit.
     
  4. Offline

    MikeA

    Thanks - sorry for the last reply, should have read first :p
     
Thread Status:
Not open for further replies.

Share This Page