Timings: Minecraft - Breakdown

Discussion in 'Performance Tweaking' started by McLive, Apr 13, 2013.

  1. Hello,

    I'm wondering why my Server starts lagging at some time. I asked a few times in IRC, now they told me to post this here.

    I'm wondering why there are that high numbers at "Minecraft - Breakdown"?

    Here are the timings: http://aikar.co/timings.php?url=5705174

    I think the Plugins are all okay and do not cause that Lag, but maybe I'm wrong.

    Spigot: #729

    Thanks for your help! :)
     
  2. Cant anyone help me?
     
  3. Jigsaw

    Supporter

    McLive

    Doesn't really look like a plugin issue. The biggest factor I see is the entityTick. How many entities do you normally have in each world? If you could run a /wg report and just paste the section that breaks down all the entities by world that could help.

    Also, what is your player count when you see lag?

    Lastly, what is your hardware?
     
    #3 Jigsaw, Apr 14, 2013
    Last edited: Apr 14, 2013
  4. Normally I have around 6-9k entities in the Skyblock-world. Tomorrow, I can get a wg report.

    Player Count from 170-200 during the lag.

    • Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
    • 32 GB DDR3 RAM
    • 2 x 3 TB SATA 6 Gb/s HDD 7200 rpm (Software-RAID 1)
    Running server in a ramdisk.
     
  5. joehot200

    Supporter

    You dont need that many mobs... my players cant walk out of the chunk without encountering at least 3 (harder and faster, thanks to my plugin) mobs. And when my AntiLag plugins clears them, it only clears about 1100 entities, this includes things like xp orbs, etc (but not drops or doggies ;)).
     
  6. So you think that its is an entitie problem?

    Code (Text):
    Skyblock (3)    :
        Information:
            Environment      : NORMAL
            Player count      : 249
            Entity count      : 6442
            Loaded chunk count: 5066
            Spawn location    : Location{world=CraftWorld{name=Skyblock},x=581.0,y=4.0,z=362.0,pitch=0.0,yaw=0.0}
            Raw time          : 161678507
        Entities  :
            CraftSkeleton    : 439 [0.086656]
            CraftSquid        : 17 [0.003356]
            CraftChicken      : 598 [0.118042]
            CraftItem        : 740 [0.146072]
            CraftExperienceOrb: 9 [0.001777]
            CraftZombie      : 398 [0.078563]
            CraftOcelot      : 2 [0.000395]
            CraftBat          : 34 [0.006711]
            CraftPigZombie    : 2 [0.000395]
            CraftBoat        : 1 [0.000197]
            CraftVillager    : 421 [0.083103]
            CraftSpider      : 650 [0.128306]
            CraftCreeper      : 404 [0.079747]
            CraftPig          : 228 [0.045006]
            CraftIronGolem    : 35 [0.006909]
            CraftSnowman      : 1 [0.000197]
            CraftMushroomCow  : 172 [0.033952]
            CraftPainting    : 55 [0.010857]
            CraftCow          : 290 [0.057244]
            CraftEnderman    : 95 [0.018752]
            CraftPlayer      : 249 [0.049151]
            CraftSheep        : 651 [0.128504]
            CraftWolf        : 21 [0.004145]
            CraftItemFrame    : 907 [0.179037]
            CraftArrow        : 17 [0.003356]
            CraftSlime        : 6 [0.001184]
     
  7. What kind of entity clearing plugins you using, if I may ask...
     
  8. The timings that he posted includes all of the plugins he is using.
     
  9. I asked Joe, it was off topic of the thread, I know.
     
  10. joehot200

    Supporter

    A custom coded plugin called AntiLag. Clears every 2.5 mins, and dosent clear things like drops.
    Gonna go and put it up to 10 mins... xD
     
  11. joehot200

    Supporter

    28.65% 82.51% 11.262 s 41.2538 ms 0.27k 14.00% Skyblock - entityTick

    25.32% 72.93% 9.955 s 36.4637 ms 0.27k 24.95% Player Tick

    15.74% 45.35% 6.190 s 22.6728 ms 0.27k 7.88% Skyblock - doTickRest

    10.77% 31.04% 4.236 s 15.5177 ms 0.27k 9.19% Skyblock - tracker

    Nothing more needs to be said. It is your entity ticking, and player ticking, that are causing the lag.
     
  12. Try using a plugin such as ptweaks. There is a feature in the plugin which allows you to limit the number of mobs spawning in any world. I limit each world to at least 1500 mobs
     
  13. ClearLag runs every 10 minutes and clears about 2000 entities. (Only Mobs and Items). Animals are limited to 15 per chunk.

    And how can I reduce "player ticking"?

    Edit:
    Thanks, I will look at this. But I think the main Problem is that people are having too many animals. D:
     
    #13 McLive, Apr 18, 2013
    Last edited: Apr 18, 2013