Mod-Induced TPS Lag on Server
grahamfoxrollup opened this issue ยท 13 comments
Issue type:
- ๐ Performance issue
Short description:
The profiler indicates that a large portion of the server's resources are being consumed by tasks related to block state management. This is leading to a significant slowdown in-game performance, affecting the overall player experience. It seems that the mod's operations on block states are quite intensive, causing the server to struggle with maintaining smooth gameplay.
I believe this issue might be due to the mod's intensive processing demands, which are overwhelming the server's capacity to handle block management efficiently. I hope this information helps in identifying and resolving the performance issue.
Steps to reproduce the problem:
I am unable to provide exact steps to reproduce this issue as it seems to occur under regular gameplay conditions without a specific set of actions. However, to assist in diagnosing and resolving this problem, I can provide the server save file. This file should offer a real-world context of the mod's performance impact on the server.
Versions:
- This mod: v1.20.3
- Minecraft: 1.20.1
- Forge: 47.2.17
Profiler output:
@rubensworks
Oh..
Yesterday that bug was repeats at afternoon, but stopped repeat at evening.
Does it make sense to create issue, if i can't repeat that bug now?
@stripwire If it occurs again in the future, perhaps you can create an issue then.
@stripwire Thanks for your findings. Could you create a separate issue for it at https://github.com/CyclopsMC/IntegratedCrafting/ ?
Craft stuff in Integrated Dynamics networks. Contribute to CyclopsMC/IntegratedCrafting development by creating an account on GitHub.
I have same issue.
And yay, i found the source of overload!
Overload was caused by the crafter looking for craft items.
Without cards that request crafting, server has stopped printing overload messages, but spark still informs about high load caused by integrated dynamics.
Thanks for /integrateddynamics networkdiagnostics
And i don't understand why that not caused CPU load, but just caused low TPS?
May be this related to high memory usage rate?
getting an unknown command when attempting to use this. does safemode need to be enabled?
You must be operator on the server in order to use this command.
After that, the chat will show you a hyperlink on which you can click to view the diagnostics in a web browser window.
that command isn't recognized regardless of permissions
It might be just one (or several) parts leading to excessive tick times.
Could you check the network diagnostics using /integrateddynamics networkdiagnostics
?
That should help us to identify which operations cause performance issues.
I'm having similar issues with ID on my server and would love to help contribute. I've run /integrateddynamics networkdiagnostics ... does this print a report somewhere?
/integrateddynamics networkdiagnostics
getting an unknown command when attempting to use this. does safemode need to be enabled?
getting an unknown command when attempting to use this. does safemode need to be enabled?
You must be operator on the server in order to use this command.
After that, the chat will show you a hyperlink on which you can click to view the diagnostics in a web browser window.
Hmm, that's weird. You should only require op-permissions: https://github.com/CyclopsMC/IntegratedDynamics/blob/master-1.20/src/main/java/org/cyclops/integrateddynamics/command/CommandNetworkDiagnostics.java#L42-L48
Can you access any of the other /integrateddynamics
commands? (e.g. via auto-complete)