TPS Dips (Spark Profiler Analysis)

spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
40 Replies
Admincraft Meta
Admincraft Meta11mo 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 zaraem#0
Admincraft Meta
Admincraft Meta11mo 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 4217-Spigot-146439e-68603b1 (1.21). Latest currently is 1.20.6.
❌ Threads
You only have 1 thread(s).
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml. Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml. Recommended: 4.
❌ spawn-limits.monsters
Decrease this in bukkit.yml. Recommended: 15.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml. Recommended: 5.
❌ spawn-limits.ambient
Decrease this in bukkit.yml. Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml. Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml. Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml. Recommended: 12.
Plus 36 more recommendations
Click the buttons below to see more
Requested by zaraem#0 • Page 1 of 4
ProGamingDk
ProGamingDk11mo ago
You have 1 thread
Skullians
Skullians11mo ago
your view & sim distance is too high, 8 view and 6 sim max. your GC is dying
ProGamingDk
ProGamingDk11mo ago
Gc migh5 be due to cpu tbh
Skullians
Skullians11mo ago
true don't use spigot 1.21, you should really wait until paper 1.21 comes out seeing as it is more performance and isn't a rush job do you have any datapacks?
takeout
takeoutOP11mo ago
im using an i5-12450h to host, running it on pterodactyl panel. Just realized it says I have only one thread yes quite a few
ProGamingDk
ProGamingDk11mo ago
You accidently pinned it im assuming
Skullians
Skullians11mo ago
that's 60% of your lag
takeout
takeoutOP11mo ago
i did pin it
Skullians
Skullians11mo ago
datapacks
ProGamingDk
ProGamingDk11mo ago
Is cpu pinning set to 0
takeout
takeoutOP11mo ago
yes
ProGamingDk
ProGamingDk11mo ago
Right thats 1 thread The 0th thread
Skullians
Skullians11mo ago
try find plugin alternatives for datapacks
takeout
takeoutOP11mo ago
OH that makes sense
Skullians
Skullians11mo ago
datapacks are poorly optimised and are lagging your server to death
ProGamingDk
ProGamingDk11mo ago
Skull
takeout
takeoutOP11mo ago
LMFAO ya but
Skullians
Skullians11mo ago
am i tweakin
takeout
takeoutOP11mo ago
cpu pinning should definitely
ProGamingDk
ProGamingDk11mo ago
He... also has 1 thread
takeout
takeoutOP11mo ago
be a big component ima turn that off and see how it goes appreciate it yall
Skullians
Skullians11mo ago
no really?
ProGamingDk
ProGamingDk11mo ago
Cpu pinning mistake
Skullians
Skullians11mo ago
the issue still applies
ProGamingDk
ProGamingDk11mo ago
Seen it multiple times
Skullians
Skullians11mo ago
datapacks ain't optimised also uh don't allocate 23gb to the server 12 max
takeout
takeoutOP11mo ago
aight i just did that cause i didnt know what else to do but ya the 1 thread was abig catch ty
takeout
takeoutOP11mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
takeout
takeoutOP11mo ago
Okay time to finally optimize this
Admincraft Meta
Admincraft Meta11mo 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.
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml. Recommended: 400.
❌ spawn-limits.monsters
Decrease this in bukkit.yml. Recommended: 15.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml. Recommended: 5.
❌ spawn-limits.ambient
Decrease this in bukkit.yml. Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml. Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml. Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml. Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml. Recommended: 16.
❌ entity-activation-range.wake-up-inactive.villagers-for
Decrease this in spigot.yml. Recommended: 20.
❌ entity-activation-range.wake-up-inactive.flying-monsters-for
Decrease this in spigot.yml. Recommended: 60.
Plus 34 more recommendations
Click the buttons below to see more
Requested by zaraem#0 • Page 1 of 4
Skullians
Skullians11mo ago
Please... please don't use bukkit / spigot if you're intending to use 1.21 NOW, use paper's experimental builds. also if you want to optimise !optimise
Carl-bot
Carl-bot11mo ago
You can follow these guides to optimize your server
Admincraft Canned Responses
Skullians
Skullians11mo ago
use eternity's guide ^
Snow Kit
Snow Kit11mo ago
it's a datapack using like 70% of a tick
No description
takeout
takeoutOP11mo ago
im on purpur how do i tell which thank u
Skullians
Skullians11mo ago
oh, spark didn't say and that's why you uh also have 158 villagers which is kind of a lot your view & sim is too high, 8 view and 6 sim maximum no idea how you have 117 chest carts your GC isn't too great imo i would try decrease how much RAM you're allocating maybe 8-10gb also remove the AlwaysPreTouch flag
Snow Kit
Snow Kit11mo ago
https://docs.bloom.host/datapacks/#disclaimer + https://misode.github.io/report/ also would follow these two to find what datapack is causing it
takeout
takeoutOP11mo ago
thanks

Did you find this page helpful?