What is a good disk i/o speed? (also other major optimizing stuffs)

Discussion in 'Bukkit Help' started by frash23, Nov 2, 2013.

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

    frash23

    My server has been running slowly on some somewhat disk intensive operations (like multiple people exploring), and sometimes causes lag.
    I checked resources through top, and neither cpu or ram go above 50% usage, so i can only really find the HDD to blame.

    I ran this magical dd comand:
    Code:
    dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
    and it gave me this:
    Code:
    1073741824 bytes (1.1 GB) copied, 9.10504 s, 118 MB/s
    (this was with the server running, i got 130 MB/s once)

    i've been debating upgrading to a RAMdisk, as i don't really use all my ram.
    I've set the bukkit max log lines to 200, and i have no really flatfile intensive plugins (maybe factions?)

    My VPS specs:
    CPU specs:
    Code:
    processor      : 0
    vendor_id      : GenuineIntel
    cpu family      : 6
    model          : 45
    model name      : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
    stepping        : 7
    microcode      : 0x70a
    cpu MHz        : 2000.062
    cache size      : 15360 KB
    physical id    : 0
    siblings        : 6
    core id        : 1
    cpu cores      : 1
    apicid          : 2
    initial apicid  : 2
    fpu            : yes
    fpu_exception  : yes
    cpuid level    : 13
    wp              : yes
    flags          : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2
    ss ht syscall nx lm constant_tsc rep_good nopl pni pclmulqdq ssse3 cx16 sse4_1 s
    se4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm ida arat
    epb xsaveopt pln pts dtherm
    2GB dedicated ram (dedicating 1.8 to my server)
    50GB HDD (not sure if SSD, don't remember, couldn't find. i left speed anywways)
    1GB/ps uplink, shared
    Debian 7, x86_64

    I use spigot, latest 1.6.4 stable.
    My spigot.yml

    My plugins:
    SpecialHeads, Banchantment (custom plugin, blocks certain enchantments, executes on enchanting), InfoBook, NoCheatPlus, WorldEdit, SimpleCommandScheduler, PluginManager, Buycraft, AntiXRay, mcore, Vault, ClearLag, PermissionsEx, KillerMoney, Votifier, ConsoleSay, WorldGuard, Essentials, Factions, VoteSQL, ChatEx, EssentialsSpawn, ChestShop, AutoRank

    I launch my server with this:
    Code:
    #!/bin/bash
    ionice -c2 -n0 nice -n +15 /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java -Djava.library.path=/usr/lib/jvm/java-1.7.0-openjdk-amd64/lib/amd64 -Xms1800M -Xmx1800M -d64 -server -XX:+UseG1GC -DJINTEGRA_NATIVE_MODE -DJINTEGRA_COINIT_VALUE=0 -Dsun.io.useCanonCaches=false -Djline.terminal=jline.UnsupportedTerminal -XX:ThreadPriorityPolicy=42 -XX:CompileThreshold=1500 -XX:+TieredCompilation -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:+UnlockExperimentalVMOptions -XX:+UseAdaptiveGCBoundary -XX:MaxPermSize=256M -XX:+UseGCOverheadLimit -XX:+UseBiasedLocking -Xnoclassgc -Xverify:none -XX:UseSSE=3 -XX:+UseThreadPriorities -Djava.net.preferIPv4Stack=true -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -Xrs -XX:+UseCompressedOops -XX:+AggressiveOpts -jar spigot.jar nogui --log-limit 200
    
    The server runs really well except for some (assumed) HDD speed issues.
    I am aware that using launch lines like this is often bad, but i removed all the flags that threw errors, and this is improving my server extremely. If you can see any of these flags are bad for my server, mentioning it would be nice :)
    Also, this launch line has caused no problems like hanging or crashing, so i assume it is ok.

    As i said, i have Debian 7, openjdk-7-jre (latest in debian repo), and i use screen for keeping the server alive and no graphical desktop.

    Any help is greatly appreciated!
     
  2. Offline

    tcvs

    frash23 Spigot is not supported here. please go/use the correct forums.
     
  3. tcvs
    I don't think that he's really looking for spigot support. He just wants to know what he can do to improve his server performance.
     
    milesmcc likes this.
  4. Offline

    Necrodoom

    Locked. Spigot is not supported here.
     
Thread Status:
Not open for further replies.

Share This Page