Create

Create

86M Downloads

Extreme performance issues on Servers

MuteTiefling opened this issue ยท 13 comments

commented

Mod Version: create-mc1.16.3_v0.3e
Forge Version: 36.1.0

Spark Report: https://spark.lucko.me/mqZlbZQ0LV

2021-03-21_22 52 46

The issue started when I built this contraption on the Enigmatica 6 testing server. Due to an issue in the pack, Create sawmills were the only way to process certain blocks, so I set up this mill to bulk process them.

The Tunnels were set to split mode and the saw mills each had a full filter card in them. As soon as I started the machine (even before actually running items through it) TPS dropped from 14 to 4. Turning it off again resolved the TPS issue.

Another case occurred last night where I was using a series of pumps and hose pulleys to generate infinite Deuterium and Tritium to run a Mekanism Fusion reactor. Each fluid well has 8 pumps and 8 hose pulleys pumping out of them and they're all powered by a single furnace engine. Setup shown below. This apparently dropped TPS from 18 to 4 last night while I was AFK. When I was kicked from the server and these chunks unloaded, it immediately resolved back up to 18. I haven't got a spark log for that one currently, however and don't know if one was captured at the time. But if I can get one to you, I will.

2021-03-23_11 46 35

commented

You are probably talking about v0.3.2, and not v0.3.1, which I am running (but which is not OP version). Unfortunately, I can't update Create in my pack, as recipes are heavily tweaked, and the pack's progression rely a lot on the way Create works in 0.3.1. So the issue is probably solved in newer versions, and I used another mod to prevent showing tile entities that can't be seen as a workaround.

commented

Hi, just adding my two cents with a (maybe) small contraption, involving blaze burners, belts (and item rendering on belts), and deployers. I ran a 13s spark profile while looking in the general direction of the contraption, which may be enough to realize where the problem is. I'm playing on Create101 Season 2, but as the pack is heavily relying on Create and automation, I don't even dare to look at my factories when I go to build another one, or pick resources generated by them.
However, it doesn't seem TPS is impacted (I'm playing in singleplayer, but my world used to be multiplayer), my FPS though...

EDIT : i'm playing with create 0.3.1c

Here are screenshots, and the spark profile :
2021-09-19_16 07 26
2021-09-19_16 07 54
https://spark.lucko.me/MbuEgMqZ14

commented

I have no issues at all, I had FPS problems until version c, but d fixed them all. Our server is running 10-20mspt with 2 players online. We have very big machines with many chutes and funnels running too but no tps problems at all.

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

Have a little bit of input to this.
On our Server Funnels that have a filter on them attached to a chest that is not empty generates a lot of Ticks.
Mod used for Lag detection = Observable & Spark

/spark tps was at 12 when at the base, when I leave it's instantly at 20 again

2022-01-16_03
2022-01-16_03

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

commented

Looping back on this, I'm also experiencing lag on our server, seemingly caused by funnels and chutes. Here's a profiling stacktrace:

image

I'm a Java developer but not familiar with minecraft modding. But it seems odd that messages are posted to a message bus when checking if an item is upright on a belt?

commented

I have the same problem as well,sometimes when I start the create machine,my server TPS dropped from 20.0 to 2.5,it is solved when I turn of the machine.I think the huge lag may be caused by single thread blocking.

commented

Seems no spark report was generated for the pumps. Still, seems to be a pretty severe case of lag coming from relatively mild Create contraptions. If someone were doing an expert mode play through of a pack where Create was used heavily early game, I'd expect them to have a lot of issues with lag as a result of so many machines running.

commented

My server is not using this pack,but I tried just to install create in the server without other mods,still the same

commented

Can you run other mods just fine? Could be a server issue since mods do use up a lot of resources.

commented

Server is fine, yes. It's pretty beefy. There are multiple players on all doing their own things, some have gone deep into Astral and Mekanism (fusion level), etc. But Create? That seems to just devour TPS when on. In this case it seems like it was the filters in particular that were the main culprit. Unclear what might be the cause with the pump setup.