CPU Load/Hardware, MM/Mobs, low Tickrate/sec

Discussion in 'Bukkit Discussion' started by Aholic, Jun 11, 2011.

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

    Aholic

    Hello.

    I just want to know how many people you can run with which Hardware/Plugins.

    Currently we are running on an Intel Core i7 920 (2.66GHz, Ubuntu maverick) and 24GB Ram on a Ramdisk, Java 7. RB#860. We are using MinecartMania (without Automations), Mobs are limited at 400.



    However, we can't hold more than 40 People lagfree. (with 1.3 it was possible to hold 60 People).

    Our tickrate/sec with 40 Players says 2/20 Ticks per second!
    This info comes from Comandbook when I type /debug clock.

    Our CPU Load says (htop 97%) top 131%.

    Any idea? We are looking for a better CPU like an Intel i7 2600K with more single Core speed.

    By the way, with 2 people we already have a cpu load of 87%. Plugins like Performancetweaks does not change anything.

    Oh, this is our startline:
    Code:
    do nice -n -8 /home/xxxx/jre1.7.0/bin/java -Djava.library.path=/home/xxxx/jre1.7.0/lib/amd64 -Djline.terminal=jline.UnsupportedTerminal -server -Xms9G -Xmx13G -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=3 -XX:MaxGCPauseMillis=5 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Xnoclassgc -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+OptimizeStringConcat -XX:+AggressiveOpts -jar /home/xxxx/server/craftbukkit.jar nogui;
    List of all Plugins

    plugs.jpg
     
  2. Offline

    Zalastri

    That's more java flags then i've ever seen in one place. Did you go through the tweaking documentation and just use all of them? :x Try it with something more.. stripped down. Obviously I only mean the performance tweaking flags..

    -server -Xincgc -Xmx13G -XX:+UseParNewGC
     
  3. Offline

    ichingpow

    You might want to read my guide.

    Edit: I see you also use dynmap. It requires a lot of power, I recommend disabling it and using BananaMap instead if you really need a map.
     
  4. Offline

    Oscarius

    What does -XX:+UseParNewGC do?
     
  5. Offline

    Aholic

    We have tried hundred of flags, we cant determine any changes :/ But we will try it again with the new RB.

    Thank you.

    Our dynmap is running under apache mode, deactivation has caused no changes, mmhmh...
    Same thing with Performancetweaks. I think our CPU is the bottleneck of all. Grrr...

    Starting Minecraft using a server client written in C++, Python or C# causes wonder..with 5 people we just have a cpu load of 2%.
    But there is no "real" alternative to bukkit.
     
  6. Offline

    spunkiie

    My server is probably the biggest in business.

    We host over 350+ players with ZERO LAG.

    i7 [email protected]
    16GB rAM (G.Skill 2133)
    SSD Disk

    Tips:
    Use openjdk instead java6/7. It's better, faster.
    Remove these funky startup java switches
    Use kernel 2.6.32 LTS (It's way faster than 2.6.39, dunno why)
     
  7. Offline

    Aholic

    350 players on a 16GB Ram machine? Thats damn crazy Oo.
    And we are talking about a "Bukkit Server"?

    I will try using openjdk instead of java, thank you :)
     
  8. Offline

    xcanner

    What is the CPU usage with 300+ online? Can you please post your exact software setup?
     
  9. Offline

    Aholic

    This sounds strange... with 40 players, we have a ram usage of 10GB.

    Now using OpenJDK, cpu usage says ~40% with 3 people. While loading chunks, it goes to 90%.

    I cant unterstand this insane difference between a i7 920 and i7 2600K at 4.7GHz.
     
  10. Offline

    ethernity

    Hi folks,
    what happened when Bukkit changed to 1.6?
    We're only hosting a private server for max 5 players.
    Since 1.6 update (currently testing Bukkit #860) we have a massive CPU Load. The server usually takes 99.9 % CPU usage, before 1.6 it was merely 10-20%.
     
  11. Offline

    Zalastri

    I'm guessing you dont have monsters/animals enabled?
     
  12. Offline

    spunkiie

    We have specifically places for mobs, and yes, it's a controlled number.
     
  13. Offline

    Specops343

    I think this is something Notch changed in the code, same thing has been happening to my server.
     
  14. Offline

    spunkiie

    CPU usage is about 50%, sometimes hitting 100% for a very short time.

    I ran a very, very small/clean ArchLinux64 installation. The server doesn't have a X server and doesn't run nothing except openjdk/bukkit. :D

    Here's my startup line:

    java -Xincgc -Xmx13G -jar craftbukkit-0.0.1-SNAPSHOT.jar

    Hope it helps.
     
  15. Offline

    acetech09

    @spunkiie

    I think that the bottlenecking with 350 players would be in the internet connection. What's your speeds?

    And sorry to pop your bubble, but read the 'about me' thing on my profile.
     
  16. Offline

    Therawroy

    java -native -server -Xincgc -Xmx4096M -Xms2048M -Xmn512M -XX:NewRatio=2 -Xrs -XX:+UseThreadPriorities -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=512 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+UseAdaptiveSizePolicy -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:parallelGCThreads=4 -Xcheck:jni -Xfuture -XX:+AggressiveOpts -cp "craftbukkit-0.0.1-SNAPSHOT.jar" -jar "craftbukkit-0.0.1-SNAPSHOT.jar" nogui


    I Benchmark your commandline VS mine later and post you some screens of the results :p
     
  17. Offline

    Zalastri

    I've become convinced that you're a satirical novelty account.
     
  18. Offline

    bradgillap

    Wow, even my world startup is much faster. Thank you for the tips!
     
  19. Offline

    Therawroy

Thread Status:
Not open for further replies.

Share This Page