How did your performance change in 1.8.1? Up? Down? or the same?

Discussion in 'Bukkit Discussion' started by Kane, Sep 26, 2011.

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

    sukosevato

    I agree that chunk loading / unloading is the causing the problems, you pretty much narrowed it down to that. But now i'm wondering what exactly causes the performance hit. Is it the I/O usage on the disk? Sure a SSD helps compared to a HDD. But could you try eliminating that by using a Ram disk? In theory its a lot faster, maybe your TPS gets a lot better then? (Might be hard for you to test since you have a 16000 x 16000 world that is difficult to fit in a ram disk, but still)

    Or is your CPU usage at 100% and before it wasn't. And moving the chunk loading to a separate thread like they apparently did in 1.9 might fix the problem? If CPU has to spare on the core minecraft runs on then that would eliminate that.

    Or is it just badly coded? And the entire chunk loading needs to be optimized in the code and no matter how strong of a server you throw at it with a RAM disk and highly overclocked Sandy Bridge it will lag no matter what?

    That might be worth finding out. (Or maybe you know already because cpu usage isn't 100% and you got a way to monitor I/O usage)
     
  2. Offline

    Kane

    not an I/O Usage I'm pretty sure about 90% I get the same performance on a single drive then I do on say a raid 1+0 4 drive or a gen3 ssd at 550MB/s lol
     
  3. Offline

    sukosevato

    I'm glad you're using a Gen3 ssd nowadays :p (Remember when I was 'trolling' you on irc about that? xD )

    But yea, if changing from a HDD to SSD makes no difference in performance then that leaves CPU or just poorly coded.

    I'm hoping the last, so it is fixable instead of having to throw even more power at it.
     
  4. Offline

    TheTrixsta

    with SpoutCraft it increased! The normal client is so unoptimized!
     
  5. Offline

    MechanID

    i investigate my graphs and there is no difference in my server HDD read operations before 1.8 and after in moments when i have TPS < 18
     
  6. Offline

    Rwembee

    Anyone think it's the new lighting or biomes? The map pregen I tried has options on whether or not to render the lighting, which I consider odd for server side.
     
  7. Offline

    MechanID

    maybe we need some tests,
    ill write here some for example and try to do them tomorrow on my old computer that i have :
    Intel P4
    1GB ram
    IDE HDD
    gentoo linux i686 kernel (32bits)
    java version "1.6.0_20"

    To run part one tests we need a plugin like traincarts or minecartmania to allow minecars chunk loading
    part one
    1st test - flat map(no shadows at all) like table and rails from spawn to all directions and minecarts move from spawn for 10 minutes
    2nd test usual map with a lot of trees (many shadows) and same rails and minecarts for 10 minutes
    3rd test usual map but without trees (just some shadows) and same rails and minecarts for 10 minutes

    part two
    run same test but with players in minecarts (maybe we need client side to make this kind of lag)

    all tests must be run in the same world time
     
  8. Offline

    ZachBora

    Is this good or bad? Sounds bad...
    Code:
    Expected time elapsed: 5000.0ms
    Time elapsed: 19853ms
    Error: -74.81%
    Actual clock rate: 5.03 ticks/sec
    Expected clock rate: 20 ticks/sec
     
  9. Offline

    Bonemonster

    This right here.
     
  10. Offline

    Kane

    really bad really under 15 is UNACCEPTABLE in my books though some people will live with 10 or even 5 like @Kainzo poor guy!
     
  11. Offline

    ZachBora

    How do I increase it?
     
  12. Offline

    Kane

    Your best way of increase your TPS is reducing your view distance. At 7 view distance from 10 you are use 2x less chunks.
     
  13. Offline

    ZachBora

    I reduced it to 8 and still 5 TPS
     
  14. Offline

    Kane

    it does help a lot if you set to 7 that's half the chunks loaded per person.
     
  15. Offline

    ZachBora

    If it doesnt improve from 10 to 8, I rather see more blocks than go down to 7.
    This is a "creative" server, we want to see what has been built.
     
  16. Offline

    Kane

    well thinking that 10 to 8 had no effect is flawed in thinking. But you do what you want hehe.
     
  17. Offline

    ZachBora

    What I mean is, this isn't solution. It only placed a plaster on a giant crack.
     
  18. Offline

    strontkever

    my huge plaster: view distance 4
     
  19. Offline

    Kane

    Yes but this thread is about more patching it the best we can :S Since no one else seams to have coded any major fixes like threaded chunk loaded and unloading.
     
  20. Offline

    x4n4th

    My TPS decreased with 1.8.

    Server Runs on Ramdisk

    Code:
    [2011-10-10 17:29:23] TPS: 14.4  Memory free: 4868.0/10215.0  Players: 48/100
    [2011-10-10 17:38:59] TPS: 12.7  Memory free: 6891.0/10215.0  Players: 49/100
    [2011-10-10 17:47:47] TPS: 16.2  Memory free: 7117.0/10215.0  Players: 46/100
    [2011-10-10 17:56:07] TPS: 15.8  Memory free: 6863.0/10215.0  Players: 42/100
    [2011-10-10 18:03:28] TPS: 17.9  Memory free: 7228.0/10215.0  Players: 39/100
    [2011-10-10 18:10:26] TPS: 18.8  Memory free: 5385.0/10215.0  Players: 34/100
    [2011-10-10 18:17:30] TPS: 17.9  Memory free: 6444.0/10215.0  Players: 40/100
    [2011-10-10 18:24:34] TPS: 16.6  Memory free: 4651.0/10215.0  Players: 37/100
    [2011-10-10 18:30:33] TPS: 20.0  Memory free: 6347.0/10215.0  Players: 32/100
    [2011-10-10 18:35:56] TPS: 20.0  Memory free: 5531.0/10215.0  Players: 32/100
    [2011-10-10 18:42:40] TPS: 19.3  Memory free: 6931.0/10215.0  Players: 30/100
    [2011-10-10 18:48:09] TPS: 20.0  Memory free: 6019.0/10215.0  Players: 29/100
    [2011-10-10 18:53:30] TPS: 20.0  Memory free: 5272.0/10215.0  Players: 30/100
    [2011-10-10 18:59:50] TPS: 20.0  Memory free: 6301.0/10215.0  Players: 33/100
    [2011-10-10 19:05:37] TPS: 20.0  Memory free: 5119.0/10215.0  Players: 35/100
    [2011-10-10 19:11:35] TPS: 20.0  Memory free: 7413.0/10215.0  Players: 35/100
    [2011-10-10 19:18:20] TPS: 17.2  Memory free: 5913.0/10215.0  Players: 41/100
    [2011-10-10 19:26:47] TPS: 18.6  Memory free: 6918.0/10215.0  Players: 42/100
    [2011-10-10 19:35:05] TPS: 14.5  Memory free: 5030.0/10215.0  Players: 44/100
    [2011-10-10 19:43:01] TPS: 15.8  Memory free: 5586.0/10215.0  Players: 47/100
    [2011-10-10 19:50:55] TPS: 16.5  Memory free: 5667.0/10215.0  Players: 46/100
    [2011-10-10 19:59:32] TPS: 13.4  Memory free: 5287.0/10215.0  Players: 47/100
    [2011-10-10 20:08:53] TPS: 14.5  Memory free: 6835.0/10215.0  Players: 51/100
    [2011-10-10 20:17:19] TPS: 14.4  Memory free: 7401.0/10215.0  Players: 47/100
    [2011-10-10 20:26:10] TPS: 13.1  Memory free: 7210.0/10215.0  Players: 48/100
    [2011-10-10 20:34:19] TPS: 14.8  Memory free: 4919.0/10215.0  Players: 43/100
    [2011-10-10 20:42:31] TPS: 17.2  Memory free: 7193.0/10215.0  Players: 41/100
    [2011-10-10 20:50:17] TPS: 12.8  Memory free: 6782.0/10215.0  Players: 39/100
    [2011-10-10 20:58:18] TPS: 20.0  Memory free: 5321.0/10215.0  Players: 40/100
    [2011-10-10 21:05:31] TPS: 16.2  Memory free: 5852.0/10215.0  Players: 39/100
    [2011-10-10 21:12:58] TPS: 19.3  Memory free: 6576.0/10215.0  Players: 41/100
    [2011-10-10 21:20:18] TPS: 14.8  Memory free: 7154.0/10215.0  Players: 41/100
    [2011-10-10 21:27:59] TPS: 19.3  Memory free: 7221.0/10215.0  Players: 38/100
    [2011-10-10 21:34:59] TPS: 15.8  Memory free: 5161.0/10215.0  Players: 45/100
    [2011-10-10 21:43:37] TPS: 15.8  Memory free: 4978.0/10215.0  Players: 46/100
    [2011-10-10 21:51:28] TPS: 17.9  Memory free: 5278.0/10215.0  Players: 42/100
    [2011-10-10 21:58:26] TPS: 19.3  Memory free: 6716.0/10215.0  Players: 41/100
    [2011-10-10 22:05:52] TPS: 17.2  Memory free: 4858.0/10215.0  Players: 40/100
    [2011-10-10 22:12:58] TPS: 17.6  Memory free: 5581.0/10215.0  Players: 42/100
    Code:
    BorderGuard            : 4.2
    Essentials             : 2.6.2
    EssentialsSpawn        : 2.6.2
    FalseBookBlock         : 0.88alpha
    FalseBookCore          : 0.88alpha
    FalseBookExtra         : 0.88alpha
    HeroChat               : 4.10.3
    iConomy                : 5.01
    IHateExp               : 1.0.0
    LagMeter               : 0.5
    LocalShops             : 3.1.1
    LogBlockQuestioner     : 0.02
    mcbans                 : 3.1
    BukkitCompat           : r15A
    MCSL                   : 0.2
    Minequery              : 1.5
    MobBounty              : 4.05
    NoCheat                : 2.08c
    NoWeather              : 1.6
    obuShutTheHellUp       : 0.3
    Orebfuscator           : 0.9.8
    PermissionsEx          : 1.14
    RealAdminTools         : 0.06
    RedstoneClockDetector  : 0.1d
    Spout                  : 1.0.6.403
    Tombstone              : 1.3.6
    Vanilla                : 0.1
    WorldEdit              : 4.6
    WorldGuard             : 5.2.2
    mcMMO                  : 1.1.16
    OrebfuscatorSpoutBridge: 0.9.2
    Permissions            : 2.7.7
    LogBlock               : 1.30
    NoLagg                 : 1.3
    LWC                    : 3.53
    properTime             : 1.9.0
    Towny                  : 0.76.2.0
     
  21. Offline

    ButtChew

    Our server runs on 3.5gigs of RAMDisk (with 5 gigs burst) and we definitely still notice chunk loading issues even with low numbers.
     
  22. Offline

    luciddream

    I'm running a server that averages 25-45 players and I have a 3.1 ghz sandy bridge i7 with 4 gigs of ram and I am not running off a ramdisk. With the view distance set to 7 and exp totally disabled the server runs perfectly (no "can't keep up") until I hit about 30 online, and I get passable performance up to about 45-50 players but the performance has definitely gone down drastically since 1.7.

    Edit: I'm using spout and a decent chunk of the population actually uses it to get access to some spout only spells and junk, not sure how that impacts performance.
     
  23. Offline

    sukosevato

    1.9.3 pre-release performance is horrible :O

    This is what happens if i shut down a 1.9.3 server that is running with 0 players online. For some reason 1.9.3 is using crazy amounts of CPU.. even when doing nothing..

    I got 2 other 1.8.1 servers running on that machine, 2 CoD4 servers, 7 altitude servers and a website / forum. That's the cpu usage you see on a i5 2500k when the 1.9.3 is shut down. for some reason 1.9.3 is using as much CPU as all of those others combined. Just stupid imo

    [​IMG]

    This is after starting the 1.9.3 server again. The initial spikes are a bit higher because its loading, but after a few secs its done with that and the crazy cpu spikes return again..

    [​IMG]
     
Thread Status:
Not open for further replies.

Share This Page