lithium-fabric icon indicating copy to clipboard operation
lithium-fabric copied to clipboard

Server lags each time an end/nether portal is used.

Open Glitchy02 opened this issue 3 years ago • 9 comments

Version Information

lithium-fabric-mc1.17-0.7.1

Expected Behavior

Server doesn't drop ~40-60 ticks each time a player enters/leaves the end/nether.

Actual Behavior

Server drops ~40-60 ticks each time a player enters/leaves the end/nether.

Reproduction Steps

A player enters/leaves the end/nether.

Other Information

Mods used:

  • convenient-mobgriefing-2.0.2,
  • fabric-api-0.35.2+1.17,
  • fabric-carpet-1.17-1.4.40v210608,
  • fastfurnace-1.17-3.0
  • krypton-0.1.3

Glitchy02 avatar Jun 25 '21 11:06 Glitchy02

This is usually a consequence of the lighting engine being slow, are you sure this is related to lithium?

LucilleTea avatar Jun 25 '21 11:06 LucilleTea

I just removed lithium from my server and the issue no longer occurs.

Glitchy02 avatar Jun 25 '21 11:06 Glitchy02

Try replicating this issue with Lithium alone, please.

Leo40Git avatar Jun 25 '21 12:06 Leo40Git

Can anyone else reproduce the difference between lithium present/absent?

2No2Name avatar Sep 25 '21 16:09 2No2Name

I can confirm the same thing happens to me which meant i had to remove the plugin. You would also fall through the world for several seconds when you returned from the nether. Both issues got fixed when i removed lithium.

Etzix avatar Dec 13 '21 10:12 Etzix

Can confirm on 1.18.2.

nikijaz avatar May 12 '22 05:05 nikijaz

I ran into the same issue with the 1.19.2. It seems to get considerably worse when the affected player has a high ping (in our case, server in europe, player in US). Are there any links to vanilla issues or is there something that we can do? Because without lithium a lot of other stuff is pretty slow.

rpetersen27 avatar Oct 18 '22 14:10 rpetersen27

Can you check whether adding the line mixin.world=false to the lithium config file (lithium.properties in config folder) followed by restarting the server causes a difference / works around the issue?

2No2Name avatar Oct 18 '22 14:10 2No2Name

Sorry, for the late answer, but I wanted to carefully check with this. We had this setting running for about two days. I became a little better such that people won't timeout anymore and the loading screen appears longer instead of people falling through the world. Anyways, the culprit seemed to be the server-performance. Especially CPU usage spiked regardless of the setting. I wasn't been able to see these spikes on any monitoring, because the spikes where too short. But some manual metric gathering unrevealed the issue. We then turned down the render and simulation distance and everything is better now (with or without mixin.world=false). Anyways, thanks for the support here.

rpetersen27 avatar Oct 24 '22 09:10 rpetersen27