What does doVillages do and why is it lagging?

Discussion in 'Performance Tweaking' started by Josh A, Jun 14, 2013.

  1. Hi,

    My server has recently been having some low TPS when we have more than 60 players online however sometimes we can have 60 players online and everything is fine.

    It's not a memory or processor issue because LagMeter shows not even a quarter of the memory allocated is been used and when I pull up the CPU stats it's clear that it isn't been overloaded.

    So I did a timings report and got this: http://aikar.co/timings.php?url=5765765

    I'm not fantastic at reading timing reports but I can tell something is right with the doVillages event. Anyone know what this does and what could be causing it to lag?

    Thanks,
    Josh.
     
  2. it generates the villages and does villagy stuff but you have a lot of entities in your world i would do a entity clean up and remove them all every so often.