Managing MSPT & TPS - Multiple Worlds
I've added in a resource world via the MyWorld plugin and it doesn't seem to be jiving with the server. I've made some changes to bukkit.yml and use a farm limited to kill off large mob farms but it looks like we're getting hit pretty hard. It's worth noting everything is silky smooth when the resource world is gone. I've also pre-generated the chunks in the main world and the resource world with chunky.
I suppose my question is this: What's the best way to implement a resource world? Split the server and have it run on it's own core? Or are there some settings I can further adjust without causing too much chaos with mob farms and such?
https://spark.lucko.me/IzQ4avxOGt
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
24 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 specimen197#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.
❌ 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.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
❌ 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.
❌ entity-activation-range.wake-up-inactive.villagers-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
Requested by specimen197#0 • Page 1 of 4
I’ve never seen this before: the leaves block are lagging your server quite a lot
Oh? Can you snapshot where that's located? I glossed over it
LevelTicks.tick();
I can’t send a link to the process as I’m on mobile
Just luck at the parts underneath that
ooooo interesting
Do you have like a tree farm running or a plugin / datapack with fast leaf decay?
Not that I'm aware of no. I did use a generator for the resource world, called TerraformGenerator. It's possible it's coming from that
custom trees?
Indeed, it runs "big" versions of vanilla trees. I can yeet those out pretty easily
that could be it if its leaf blocks
Mhmm, also those leaves are decaying en-mass as well as I just found out, which I can also fix
I'll mark this as closed, then. Odd issue for sure. Thanks guys!
ofc (how tf did i manage to help fix this but ima js go with it) hope it all works
in 1.21 mojang fucked up and made block ticking a lot more expensive
wtf
but that’s actually ridiculous
and.. LEAVES?
block ticking :P
insane
ok so I just looked at the profiler

grief defender is fucking you over
I didn’t expand far enough .-.
how tf is it doing that
Bare with me, following along lol. From your screenshot (I also pulled this up on my screen) - Are you able to see what grief defender is doing to cause the spikes? Or is this something I need to reach out to the dev for?
the developer should have the skills to read a spark profiler so sending him the spark alone should be enough
its specifically with updating his block cache
Understood, thank you for taking another look!