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
Admincraft Meta
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
ProGamingDk
ProGamingDk4w ago
pufferfish dab should help a lot, less chickens etc will help aswell
SilentBot
SilentBot4w ago
Entities appear to be the main thing killing your server
ProGamingDk
ProGamingDk4w ago
^^
SilentBot
SilentBot4w ago
I didn't know about DAB, that's pretty useful I'm used to just lowering the overall ticking, rather than it being gradual
SamsSide
SamsSideOP4w ago
DAB is only for pufferfish+ though right? And it a version out for 1.21.1
ProGamingDk
ProGamingDk4w ago
no DAB is a pufferfish config option, purpur has pufferfish patches oh dab is enabled odd
SilentBot
SilentBot4w ago
Maybe just too big of farms or trading halls? With players near
SamsSide
SamsSideOP4w ago
Yeah I was going to say I have it enabled but I just thought it didn't work as it was + only lol
ProGamingDk
ProGamingDk4w ago
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
SilentBot
SilentBot4w ago
Yeah
SamsSide
SamsSideOP4w ago
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
SilentBot
SilentBot4w ago
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
SilentBot4w ago
will lobotomize villagers which can't pathfind e.g. which are stuck in trading halls
SamsSide
SamsSideOP4w ago
Purpur has this built in right? I enabled it today in the config and it should be active on next restart
SilentBot
SilentBot4w ago
Yeah the other tick-rates settings would be nice, but it's not recommended to change them when DAB is enabled
SamsSide
SamsSideOP4w ago
I've been following this exact guide but not using the harshest values. May just have to now
SilentBot
SilentBot4w ago
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)
SamsSide
SamsSideOP4w ago
Yep from what I've seen it is trading halls inside of large bases I'll defiantly do that haha
ProGamingDk
ProGamingDk4w ago
!optimize
Carl-bot
Carl-bot4w ago
You can follow these guides to optimize your server
Admincraft Canned Responses
ProGamingDk
ProGamingDk4w ago
eternitys is better generally
SilentBot
SilentBot4w ago
Yeah, though only covers paper/bukkit configs I believe?
ProGamingDk
ProGamingDk4w ago
ah, i usually recommend pufferfish config "guide" and eternity

Did you find this page helpful?