TPS loss but what is the exact cause?
So usually my server (Fabric 1.21) really only drops to 17 when loading a lot of chunks or entities, but is otherwise fine.
Now, my question isn't "what is causing my server to lag" but "why" is this causing my server to lag?
The culprit of the TPS drop is https://modrinth.com/datapack/witherswrath Wither's Wrath.
Here's the Spark report: https://spark.lucko.me/OlPuMFCxbq
I'm only asking because the most I can figure out is it's to do with command execution... maybe?
Modrinth
Wither's Wrath - Minecraft Data Pack
A revamped fight for the Wither! with parity features from bedrock to original ideas to make the wither fight more challenging.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
6 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by elitesdead#0
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by elitesdead#0
It is functions, which is what is used in datapacks.
(Which usually run commands)
/perf command may help
how should i read what /perf gives me?
and would it only be useful during the TPS drop?
you can drop it into https://misode.github.io/report and look at the profiling section
It would be beneficial
but if you want to fix the lag
remove the datapack
after a little investigating, i've found it really (technically) isn't the datapack
rather, after some selective testing
the exact same setup will be met with 20 TPS if there is a normal amount of mobs in the world
(i.e. no one is near a mob farm)
but uh, i can't figure out a way to combat that