Chunk overload problem

So, we are did a server for a semi-big project (150 players in one world) and we have problem with too many chunks generated, even with pregened chunks. Is it solvable? Specs: AMD Ryzen 7 PRO 8700GE 64 GB DDR5 RAM
No description
46 Replies
Admincraft Meta
Admincraft Meta7mo 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 lolsshow#0
Skullians
Skullians7mo ago
send the entire spark report
LolsShow (SERVING IN ARMY!)
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta7mo 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.animals
Decrease this in bukkit.yml. Recommended: 5.
❌ 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.
❌ entity-activation-range.wake-up-inactive.animals-for
Decrease this in spigot.yml. Recommended: 40.
❌ entity-activation-range.wake-up-inactive.monsters-max-per-tick
Decrease this in spigot.yml. Recommended: 4.
❌ entity-activation-range.wake-up-inactive.flying-monsters-max-per-tick
Decrease this in spigot.yml. Recommended: 1.
❌ entity-activation-range.wake-up-inactive.animals-max-per-tick
Decrease this in spigot.yml. Recommended: 2.
❌ entity-activation-range.wake-up-inactive.monsters-for
Decrease this in spigot.yml. Recommended: 60.
❌ chunks.max-auto-save-chunks-per-tick
Decrease this in config/paper-world-defaults.yml. Recommended: 6.
❌ mobs.villager.spawn-iron-golem.radius
Increase this in purpur.yml. Recommended: 5.
Requested by lolsshow#0
LolsShow (SERVING IN ARMY!)
damn my tech did NOT do shit :pepecross:
Skullians
Skullians7mo ago
!optimise
Carl-bot
Carl-bot7mo ago
You can follow these guides to optimize your server
Admincraft Canned Responses
Skullians
Skullians7mo ago
check out eternity's guide ^ don't go by the bot well first of all your sim and view is too high 8 view, 6 sim max maybe 6 view 4 sim is Horizon a custom server software?
LolsShow (SERVING IN ARMY!)
Our fork, yeah
Skullians
Skullians7mo ago
interesting your GC is absolutely dying by the way
LolsShow (SERVING IN ARMY!)
OOOO, that's maybe the thing but general optimization is needed for sure
Skullians
Skullians7mo ago
mhm you have a LOT of entities 1099 sheep is probably too high and i can't lie 659 chest minecarts is also very high you should consider reducing your passive and hostile mobcaps also, i'm assuming your server software is a fork of paper 1.21? can you give a general idea of what you did on your fork? Did you apply any performance patches?
LolsShow (SERVING IN ARMY!)
Horizon is abomination that contains Purpur, Pufferfish, Leaves, LinearPurpur and others. It is restored all of the vanilla behavior in redstone and other components, keeping the optimization (i mean, if we did the general opt)
Skullians
Skullians7mo ago
right well... Paper has not yet implemented all their performance patches for 1.21, so you're possibly missing out on that. As someone who has tested Leaves, it sucks for restoring vanilla behaviour. and paper builds are experimental
LolsShow (SERVING IN ARMY!)
Eh, kinda, but still it is actively supported and they fixing stuff really fast, so... Time'll tell
Skullians
Skullians7mo ago
and since those forks are directly or indirectly based off paper it's not going to help but realistically you just need to optimise trying to maintain vanilla compatibility while having that many players is not really practical as some major performance patches do sacrifice the vanilla functionality removing them won't help
LolsShow (SERVING IN ARMY!)
We'll try to get workarounds, but, need to get the optimization from the guide first btw chunks are generating flawlessly
Skullians
Skullians7mo ago
you pregenerated correct?
Skullians
Skullians7mo ago
did you set a worldborder
LolsShow (SERVING IN ARMY!)
yep 10k
Skullians
Skullians7mo ago
alright, good
LolsShow (SERVING IN ARMY!)
Okay, so, after testing stuff our TPS is not that abnoxious but still bad 96 people - 13 TPS i'll send Spark in a min
LolsShow (SERVING IN ARMY!)
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta7mo 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.
❌ 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.
❌ entity-activation-range.wake-up-inactive.animals-for
Decrease this in spigot.yml. Recommended: 40.
❌ entity-activation-range.wake-up-inactive.monsters-max-per-tick
Decrease this in spigot.yml. Recommended: 4.
❌ entity-activation-range.wake-up-inactive.flying-monsters-max-per-tick
Decrease this in spigot.yml. Recommended: 1.
❌ entity-activation-range.wake-up-inactive.animals-max-per-tick
Decrease this in spigot.yml. Recommended: 2.
❌ entity-activation-range.wake-up-inactive.monsters-for
Decrease this in spigot.yml. Recommended: 60.
❌ chunks.max-auto-save-chunks-per-tick
Decrease this in config/paper-world-defaults.yml. Recommended: 6.
❌ mobs.villager.spawn-iron-golem.radius
Increase this in purpur.yml. Recommended: 5.
Requested by lolsshow#0
Skullians
Skullians7mo ago
What is matrix?
LolsShow (SERVING IN ARMY!)
Anti-Cheat
LolsShow (SERVING IN ARMY!)
BuiltByBit
Matrix AntiCheat
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
LolsShow (SERVING IN ARMY!)
We wanted to use it with ISeeYou, but, forget to implement it after testing LMAO
Skullians
Skullians7mo ago
Not familiar but I’ve heard its performance isn’t the greatest… laggiest plugin on your server but 3% for 100 players isn’t bad
LolsShow (SERVING IN ARMY!)
yeah that's fair tbh for anti-cheat this beafy. I guess problem are in other thing that we let slide
ProGamingDk
ProGamingDk7mo ago
your latest report had 0 gc issues youre also using 24 gb of swap ... is velocity on the same machine?, and also is the proxy offline-mode or did you set it incorrectly in paper-global.yml
LolsShow (SERVING IN ARMY!)
yes and no
ProGamingDk
ProGamingDk7mo ago
set network compression to -1 then in server.properties youre double compressing
LolsShow (SERVING IN ARMY!)
mhm btw how it actually corelates with TPS?
ProGamingDk
ProGamingDk7mo ago
well it helps with ping etc its just general good practice
LolsShow (SERVING IN ARMY!)
ah yeah that's fair
ProGamingDk
ProGamingDk7mo ago
so if proxy isnt offline-mode set online-mode to true in paper-global.yml under velocity but yeah youre using quite a lot of swap
LolsShow (SERVING IN ARMY!)
👍 How to get rid of it?
ProGamingDk
ProGamingDk7mo ago
well start by reducing programs etc running on the machine, you're currently using 75 or so gb of ram memory and swap combined then disable swap by googling the correct command/method
Skullians
Skullians7mo ago
^^^^^^^^^
Eternal
Eternal7mo ago
it's a good starting point
Skullians
Skullians7mo ago
well yeah
Eternal
Eternal7mo ago
sure blindly following isn't a good idea though it still increases performance

Did you find this page helpful?