TPS Dips (Spark Profiler Analysis)
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
40 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 zaraem#0
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
You have 1 thread
your view & sim distance is too high, 8 view and 6 sim max.
your GC is dying
Gc migh5 be due to cpu tbh
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?
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
You accidently pinned it im assuming
that's 60% of your lag
i did pin it
datapacks
Is cpu pinning set to 0
yes
Right thats 1 thread
The 0th thread
try find plugin alternatives for datapacks
OH
that makes sense
datapacks are poorly optimised
and are lagging your server to death
Skull
LMFAO
ya but
am i tweakin
cpu pinning should definitely
He... also has 1 thread
be a big component
ima turn that off and see how it goes
appreciate it yall
no really?
Cpu pinning mistake
the issue still applies
Seen it multiple times
datapacks ain't optimised
also uh
don't allocate 23gb to the server
12 max
aight
i just did that cause i didnt know what else to do
but ya the 1 thread was abig catch ty
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Okay time to finally optimize this
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
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
You can follow these guides to optimize your server
Admincraft Canned Responses
use eternity's guide ^
it's a datapack using like 70% of a tick
im on purpur
how do i tell which
thank u
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
https://docs.bloom.host/datapacks/#disclaimer + https://misode.github.io/report/
also would follow these two to find what datapack is causing it
thanks