
Deployers on contraptions create insane lag when loaded/initiated in overworld (SmartTileEntityTick)
brettgoodrich opened this issue · 8 comments
Describe the Bug
Any contraption that has deployers creates insane lag for one tick (20-30sec) when created or loaded in the overworld. Not the Nether. The amount of lag is somewhat proportional to the number of deployers on the contraption. The Spark profile shows that it's always the same function sitting in Unsafe.park() anytime a deployer component is called within SmartTileEntityTick(). Attached link to some Spark profiles below, all with basically the same info.
It can't be mods, because it happens with no other mods installed - also it works perfectly in the Nether.
It can't be shaders, because it happens with no shaders installed - also it works perfectly in the Nether.
It can't be overload, because it works the same if I'm alone far from everything else - also it works perfectly if I'm in the Nether.
Reproduction Steps
- Create a contraption in the overworld and add deployers.
- Initiate/create the contraption.
- Enjoy the 20-30sec lagspike!
- Leave so it becomes unloaded
- Come back to it
- Enjoy the 20-30sec lagspike!
- Consider moving your entire base to the Nether
Expected Result
No thirty-second ticks
Screenshots and Videos
No response
Crash Report or Log
https://spark.lucko.me/vuWgxJ6ucL
https://spark.lucko.me/6jeaU4r7sH
https://spark.lucko.me/brMOghKOKM
Operating System
Windows 11
Mod Version
0.5.0f
Minecraft Version
1.19.2
Forge Version
43.1.7
Other Mods
None
Additional Context
No response
Hi, I'm also getting this weird server lag when using the deployer in version 1.19.2.
Starting or stopping a contraption with 7 deployers on it for a tree farm causes everyone on the server to time out
I've attached the profiling.txt file after running a debug report when the contraption was activated
profiling.txt
The same issue above will also occur if the chunks containing the contraption are unloaded then reloaded again
This happens to me as well if that helps
Do you have Simple Voice Chat as well?
Yes I do
This happens to me as well if that helps
Do you have Simple Voice Chat as well?
I believe I saw a similar issue. This was on an All The Mods 8 server with 16g of memory.
Once I left a contraption running that had 3 deployers (two of which were on a Mechanical Bearing to occasionally turn), I started encountering performance problems with the server, as it would slowly use up more and more resources until it crashed.
Turning off the deployers seemed to resolve the issue.
Spark with the deployers on:
Spark once I turned them off
I'll also note that Create
accounted for ~17% of the resources in those profiles, which is a bit high but not exactly crazy high.