Identifying Lag Cause

spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
12 Replies
Admincraft Meta
Admincraft Meta6mo ago
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 hankerngl#0
Admincraft Meta
Admincraft Meta6mo ago
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❓INFO
You are using 1.21. Latest currently is 1.21.1.
❌ arrow-despawn-rate
Decrease this in spigot.yml. Recommended: 300.
Requested by hankerngl
SilentBot
SilentBot6mo ago
Entities are taking up 40% of your ticks, some sort of command handler taking up 10%
hankerngl
hankernglOP6mo ago
how am I supposed to do to fix it? I believe 8 Dedicated Threads of a 5800X should be able to handle atleast 30-40 players smoothly.
Cooleg
Cooleg6mo ago
things get harder when you also add 539 villagers into the mix though as one example of your lag issues
hankerngl
hankernglOP6mo ago
We can't really afford to reduce the amount of villagers as it's an SMP Server So, we should upgrade to better hardware?
SilentBot
SilentBot6mo ago
Change the villager logic if that's acceptable, cull them if that's acceptable, attempt to address the other sources of lag, or update to better single threaded performance 8 threads means nothing when most of the logic is single threaded
hankerngl
hankernglOP6mo ago
How do I do that?
SilentBot
SilentBot6mo ago
Paper Chan hideout
Paper chan's Little Guide to Minecraft Server Optimization!
The most complete Minecraft server optimization guide with everything you need to know about running a Paper Minecraft server plus Paper Chan!
SilentBot
SilentBot6mo ago
There's a few mentions of villager optimisations here too: https://github.com/YouHaveTrouble/minecraft-optimization
GitHub
GitHub - YouHaveTrouble/minecraft-optimization: Minecraft server op...
Minecraft server optimization guide. Contribute to YouHaveTrouble/minecraft-optimization development by creating an account on GitHub.
SilentBot
SilentBot6mo ago
Just be aware that these aren't magic numbers, and changes can significantly affect how mobs/the server function
hankerngl
hankernglOP6mo ago
Anything to make the server a bit smoother, we'll warn the users beforehand.

Did you find this page helpful?