ways to make server performance better?

Discussion in 'Bukkit Help' started by Lookatmego, Mar 12, 2011.

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

    Lookatmego

    I run a server on linux with 4GB ram and after 7 players we lag so hard to a point where server confuses itself and the warning that comes up 24/7 in console comes up mixed up:) soooo anyway of improving performance? anything at all??i run a centos linux server vps.
     
  2. Offline

    alucart93

    4gb are to much for 7 players ;)
    i tried 7 players take ~ 500mb ram! +/-
    how is your cpu?
    maybe its your internet? firewall?
    more informations pls
    how many plugins? etc...
     
  3. Offline

    Plague

    I had 1GB and it lagged for 2 players, so i changed to 2 and it's ok. So I wouldn't say 7 players on 500MB...
     
  4. Offline

    alucart93

    hmm, maybe your map is much bigger than my ;)
    maybe you have a plugin wich need several ram....?
    i dont know if there are prefixes wich can make the server faster, i think no....
    my start.bat looks like this:
    Code:
    @echo off
    java -Xincgc -Xmx2G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar
    pause
    do you have any errors in you console? broken plugin or something like this?
    2gig sould be enough for 7 player ?
    the cpu should be strong enough 2,5ghz+

    // try a clean version of a bukkit server wichout any plugins and test how many people can join wichout lags,
    so you can find out if its becuaso of a large map or plugins
     
  5. Offline

    Plague

    I use only my own plugins, there is no memory usage there. The map size means nothing, it is the number of chunks in memory, which with more people rises of course.

    Also... 2000th post!
     
  6. Offline

    Lookatmego

    ummm well we can handle 15 kinda lagyg but still playable...no errors or broken plugins everything works fine,i use all essentials,iconomy,localshops,prefixer,worldguard,worldedit,magicarpet

    and cpu?would that really matter that much in the lag of the server?
     
  7. Offline

    bastion

    Since you have 4gb of ram, first put your world file on a ram disk, you will probably need to talk to your vps provider to help you set this up, you may or may not have access to your fstab file in your /etc folder. I found going to ram disk reduced my lag as well as the warnings to only when my automatic/cron backups happen and then only once in a while.

    If you do have access to your fstab file google ramfs/tmpfs ramdisk set up, to get the info you need to set this up, i use the tmpfs for my ramdisk's it is a more dynamic file system in my opinion, others may disagree but it makes no difference which fs u use, just get your world in ram to increase the speed of access to the files, it will help tremendously.

    CPU speed is as important as any other component in your set up, if your cpu is slow you can have all the ram in the world and it will still slow you down, your system is only as good as the weakest part of the system.
     
  8. Offline

    svavart

    Find TnT's performance guide (search) its quite good and so far I have no problem's that have to do with performance/lagg :)
    (except for this one time were a 300*300 forest got burned down...)
     
Thread Status:
Not open for further replies.

Share This Page