mojira.dev
MC-44531

Doors causing massive lag

In my world I have a contraption called "Iron Foundry" created by TangoTek. In newest snapshot if I'm near by (or all the chunks containing contraption will load) game starts to shoot at me with literally seconds of delay all the time. However, in console there's no sign of this delay - there's no thing like "Can't keep up! Did the system time change, or is the server overloaded? Running xxms behind, skipping xx tick(s)" and game runs smoothly with max FPS. Just all entities and redstone mechanisms lag.

I don't have powerful PC, but if it runs on max FPS that means there's no strain on CPU I guess.

I'm attaching his world download for you to check it out for yourself if you experience the same.

EDIT: Doors are causing this lag. I've been removing them by hand one by one and while I was cleaning up more and more the game started to keep up and finally everything went back to normal when I've destroyed all of them. These doors are converted to 48 villages I believe. So the cause of this delay are doors or villages.

Related issues

Attachments

Comments

migrated
[media]
migrated

I have spent a couple hours searching this as I had come into a similar issue. I have found the problem, but as I have no result for a solution. The problem is the doors, but it also the villagers. The way Tango set up the iron foundry, the 2 sets of villagers are "detectors" the reason for the lag is because ~40 villagers are connecting to 44 villages. The villagers connect to 'village 1' first, next the SAME villagers connect to 'village 2' ... and so on. By the end all 44 villages have ~20 villagers in them. Some how when the a single villager connects to more than one village it somehow is making intensive activity happening server-side. (On my computer its roughly 5 villages per one villager before I start to feel the lag). Hopefully I've explained this decently. I don't know anything for-sure but from a couple of hours of testing I think I have a pretty good idea.

migrated

Same symptoms with similar setup (Iron Foundry) on our server, too.

migrated

I had the same issue while setting up the iron foundry. the problem doesn't seem to be the amount of villages, because everything went smooth while i lined them up, but as soon i placed half of the doors for the project the lag got REALLY bad and after removing around 3/4 of the already placed doors the lag dissappeared

migrated

I had the same issue with around 100 villagers in my iron farm, left all the doors there, just removed the villagers and the situation is back to normal with less than 16 villagers.
Block lag is still ok with 24.
All 300 doors are still there (it was too much of a pain placing them to remove them 😛)

migrated

(Unassigned)

Unconfirmed

delay, lag, villager

Minecraft 14w02c

Retrieved