16 Gig memory

Discussion in 'Bukkit Discussion' started by monir, Jun 10, 2011.

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

    Elmog

    this means nothing
     
  2. Offline

    blaize9

    Try a new map or remove some plugins, i had a problem with a plugin that made like 10 torches spawn and the unspawn over and over. also try to take out all the boats/minecarts. If all else fails try to use a ram disk, just google it (there should also be a guide around here)
     
  3. Offline

    Mikecom32

    That may or may not be the case. Try statically assigning it say, 8 GB by changing it to this:

    java -Xmx8G -Xms8G -jar craftbukkit.jar nogui



    How big is your world directory?
    Try disabling all your plugins (by renaming the plugins folder to something else, like OLDplugins)

    If that doesn't help, with that much RAM, I'd try a RAM disk to store your map. That's a slow drive to host a lot of players. My server is running 8 15k SAS disks in a RAID 0. It's overkill, but I saw a definite improvement in speed under load.
     
  4. Offline

    krussidull

    I have 16g ram and a six core AMD processor and b4 I fixed so i could use 14g it worked with 40 people online .
     
  5. Offline

    Vhab

    The like button wasn't sufficient, so I decided to quote this post instead.
     
  6. Offline

    Nathan C

    I wish I could dislike this post.
     
  7. Offline

    JohnTheRipper

    Seconded.

    Anyone who thinks Windows is better than Linux as a server OS is on some sort of drugs.
     
    Nathan C likes this.
  8. Offline

    Vhab

    Mikecom32 never said it was better (which is an entirely different discussion altogether), he said it wasn't bad.
    Now, if you consider Windows Server a bad OS then you're being just as blind as the Apple fanboys that consider OSX superior to everything.

    Windows Server is a good and solid OS more than capable of hosting a Minecraft server.

    Now please, drop the religious "linux rulez. windows sux" act that fills up every thread when it contains the word Windows.
     
  9. Offline

    strontkever

    i skipped reading all posts, but make sure u try java 7,

    got a 20 slot server, and on java 6 my cpu ran ~10% and with java 7 its ~5% (i7 2600k)

    the cant keep up messages mostly mean ur hard drive has trouble keeping up, use a 10.000 rpm drive or a SSD

    [edit] also, my ram on java6 used to be around 2000mb, since java 7 it uses 1300mb

    stront


    windows has the same power as linux, doesnt make a difference,
    im running xp 64 bit now, and i have a installation of unbuntu server, reverted to xp after no performance increase...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  10. Offline

    JohnTheRipper

    http://www.pcworld.com/businesscent..._reasons_linux_beats_windows_for_servers.html

    http://www.pcworld.com/businesscent..._reasons_linux_beats_windows_for_servers.html
     
    Nathan C likes this.
  11. Offline

    strontkever

  12. Offline

    JohnTheRipper

    The points are still valid. Security is poor, resource usage is high, stability is poor, it costs money, it doesn't play nice with java (http://www.phoronix.com/scan.php?page=article&item=java_vm_performance&num=1 — in that test, it was proven that for the majority of tests, Linux came out ahead of Windows), and much more.
     
    Nathan C likes this.
  13. Offline

    h0us3cat

    thats why my windows server works better then most linux servers here...
     
  14. Offline

    MikeA

    My linux server works better then yours. :D
     
  15. Offline

    h0us3cat

    orly? proof it.
     
  16. Offline

    MikeA

    What proof do ya want?
     
  17. Offline

    strontkever

    since i said no difference on both, ye whats better with linux then...

    dont need security, basic firewall keeps everyone out
    stability, my windows server has never failed on me yet.
    resource: i got enough ram and cpu power, no need for more resource
    money: i pay once for a os usable for anything i would ever do on a pc
    and: it works fine with java, didnt notice any difference
    so i end up saying: windows is better after all
     
  18. Offline

    MikeA

    Windows IS good but Linux is better for servers. Simple.
    No professional is going to host game/web servers off of windows unless it is required by something that will be hosted or they work for a company that requires it.
     
  19. Offline

    Nathan C

    Stop making these posts.........my like button is going to break.
     
  20. Offline

    xianthax

    1) Xmx only sets the heap size, not total memory usage. In addition to the heap there is permgen space, stack space and JVM overhead. In other words just because you have set xmx 12G doesn't mean you should expect the entire java process to be capped at 12G. Heap is the majority of memory usage but as your heap goes up, overhead does as well usually.

    2) DO NOT use XincGC on a system like yours. It enables CMSIncrementalMode which is designed for low cpu core (1-2) low heap size (<1G) situations. With more CPU's its a waste of processing time and with large heaps it may not be able to keep up, resulting in your heap usage ballooning and more full pause GC cycles (lag).

    3) Make sure your using -server as an option, it may be enabled by default but i don't know the rules for that on windows.

    Install Java 7 and Try this, play with the MaxNewSize value a bit as an ideal value will vary with load, note that increasing it isn't usually what you want to do with a large heap size, rather make it smaller to avoid full pauses:

    java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:MaxNewSize=512m -Xms8G -Xmx8G yourjarname.jar

    If you still have issues, add the options -Xloggc:gc.log -verbosegc -XX:+PrintGCDetails

    This will create a detailed log of garbage collection in a file named gc.log, wait till the server gets laggy, run for a bit, then post the log to pastebin or something and link here, it'll determine what is going on or just confirm that it isn't a garbage collection issue.
     
  21. Offline

    Geoff Winans

    Here's the line I've been using since moving to java 1.7:

    Code:
    -Xmx8G -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts
    
    This is on an i5 2.6Ghz w/ 24G of memory. Have had upwards of 60 on while maintaining 18+ tps.
     
Thread Status:
Not open for further replies.

Share This Page