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
46 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 lolsshow#0
send the entire spark report
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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
damn my tech did NOT do shit :pepecross:
!optimise
You can follow these guides to optimize your server
Admincraft Canned Responses
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?
Our fork, yeah
interesting
your GC is absolutely dying by the way
OOOO, that's maybe the thing
but general optimization is needed for sure
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?
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)
Horizon Documentation Help
Horizon | Horizon Documentation
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
Eh, kinda, but still it is actively supported and they fixing stuff really fast, so... Time'll tell
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
We'll try to get workarounds, but, need to get the optimization from the guide first
btw chunks are generating flawlessly
you pregenerated correct?
yep
did you set a worldborder
yep
10k
alright, good
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
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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
What is matrix?
Anti-Cheat
BuiltByBit
Matrix AntiCheat
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
We wanted to use it with ISeeYou, but, forget to implement it after testing LMAO
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
yeah that's fair tbh for anti-cheat this beafy. I guess problem are in other thing that we let slide
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
yes and no
set network compression to -1 then in server.properties
youre double compressing
mhm
btw how it actually corelates with TPS?
well it helps with ping etc
its just general good practice
ah yeah that's fair
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
👍
How to get rid of it?
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
^^^^^^^^^
it's a good starting point
well yeah
sure blindly following isn't a good idea though it still increases performance