Server Optimisation
As its been the holidays my SMP server has been getting more active with player counts around 20-30 but the server is starting to lag at even 22 players when it used to be able to do 30 players at 20 TPS back in September on the same hardware.
I've fiddled around with some optimisations such as reducing the per player mob cap but nothing seems to work.
Any advice would be apricated :))
The world is pre generated.
8 Dedicated Logical Cores (5950x)
32GB DDR4
https://spark.lucko.me/vVFgtHnL3m
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 samsside#0
pufferfish dab should help a lot, less chickens etc will help aswell
Entities appear to be the main thing killing your server
^^
I didn't know about DAB, that's pretty useful
I'm used to just lowering the overall ticking, rather than it being gradual
DAB is only for pufferfish+ though right? And it a version out for 1.21.1
no
DAB is a pufferfish config option, purpur has pufferfish patches
oh dab is enabled
odd
Maybe just too big of farms or trading halls?
With players near
Yeah I was going to say I have it enabled but I just thought it didn't work as it was + only lol
yeah, might have to go with heavier optimization for villagers by basically disabling all ai using plugins like villageroptimizer
305 sniffers is a lot lol
Yeah
Yeah I feel like villagers are really killing the performance. I've tried nerfing them by not ticking them outside of 16 blocks
Would you suggest getting some kind of chunk entity limiting plugin then to combat this lmao
I'll have a look into that thanks
Could try something like: https://github.com/YouHaveTrouble/minecraft-optimization?tab=readme-ov-file#villagerlobotomizeenabled
GitHub
GitHub - YouHaveTrouble/minecraft-optimization: Minecraft server op...
Minecraft server optimization guide. Contribute to YouHaveTrouble/minecraft-optimization development by creating an account on GitHub.
will lobotomize villagers which can't pathfind
e.g. which are stuck in trading halls
Purpur has this built in right? I enabled it today in the config and it should be active on next restart
Yeah
the other
tick-rates
settings would be nice, but it's not recommended to change them when DAB is enabledI've been following this exact guide but not using the harshest values. May just have to now
Once the lobotomizing is in place, and you maybe cull some of the 300 sniffers
I'd check if you need to do anything more aggresive
As that handles ~20-30% of your mspt, and should get you back to 20tps
(assuming it is trading halls, and not some other type of villager farm)
Yep from what I've seen it is trading halls inside of large bases
I'll defiantly do that haha
!optimize
You can follow these guides to optimize your server
Admincraft Canned Responses
eternitys is better
generally
Yeah, though only covers paper/bukkit configs I believe?
ah, i usually recommend pufferfish config "guide" and eternity