Mekanism Additions

Mekanism Additions

24M Downloads

Server Performance Drop when Using Electrolytic Breathing Unit in Water

Kiko-Dev-Tech opened this issue ยท 1 comments

commented

Issue description

Issue Description:
On my All The Mods 9 (ATM9) server, I experience a significant TPS drop whenever I enter water while having an Electrolytic Breathing Unit (EB Unit) installed in my Meka Suit Helmet.

Normal TPS: ~17 TPS
TPS when entering water with EB Unit installed: ~10 TPS

After debugging, I found that:
Uninstalling the EB Unit immediately resolves the issue.
I removed all other modules, leaving only the EB Unit, and the problem still persists.
The issue occurs consistently whenever the EB Unit is active in water.
Setup & Additional Information:
All relevant details, including mod versions, server specs, and test results, can be found here:
๐Ÿ‘‰ Observable Mod Results

Expected Behavior:
The EB Unit should function without causing severe performance degradation.

Logs & Profiling:
If needed, I can provide additional logs, Spark profiler outputs, or further debugging information.

Additional info:
The Ad Astra Space Breathing unit seems to work fine without the problem.

Steps to reproduce

  • Equip a Meka Suit Helmet with an Electrolytic Breathing Unit installed.
  • Enter water.
  • Observe the server TPS drop.
  • Leave Water or Remove the EB Unit and enter water again โ†’ TPS returns to normal.

Minecraft version

1.20.x or earlier (No longer being developed)

NeoForge version

47.3.29 - Forge

Mekanism version

Older

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

commented

Based on the profile there's nothing we can really do...

  1. Using the unit consumes power
  2. Consuming power updates the ItemStack
  3. Advancements run every InventoryChanged trigger in the modpack
  4. as you have so many, performance suffers

Your options unfortunately are really a) stop using it, or b) get a better server