mojira.dev
MC-94582

Server lag during night (large amount of hostile mobs)

Server tick will increase up to 400ms or more during night especially, thus we monitored the java program using YourKit Java Profiler and noticed that it may be caused by the AI program of hostile mobs (in ayo.class, since obfuscated, and this is only a guess).

Further tests are done on other mobs like large amount (~50) of chickens, cows, etc. And the server won't lag during the day.

The attached screenshot records several seconds when the avg tick ~ 300ms or more during night.

Linked issues

Attachments

Comments 1

Is this still an issue in the most recent versions (i.e. 1.10.2, or 16w42a) of Minecraft?

JimmyZJX

(Unassigned)

Unconfirmed

Minecraft 15w50a, Minecraft 15w51b

Retrieved