I currently have a Minecraft server running at the host "Host-Unlimited.de" and have problems with lags.
The server runs on Minecraft Forge 1.16.4 and with these mods:
BetterCaves, BuildersAddition, Camera, Dungeons Plus, Gravestone, Just Enough Items, Morpheus, PraticalTools, Sit, Storage Overhaul, Structure-Gel API, Supplementaries, U Team Core, Useful Backpacks, Waystones.
These are the specs:
Intel (R) Xeon (R) CPU E5-2695 v2 @ 2.40GHz with 48 CPU threads
16GB Ram
With the server.properties I turned the render distance down to 6.
It starts to lag from 5 people. The TPS is always below 16.
I can't prerender the world anymore, because it is an already existing world.
When monitoring, you can see that the RAM is always over the limit and that the CPU is "3600%" loaded. That's not normal.
What can I do to minimize the lags and which mods eat up the most CPU and RAM?
I know it would be wiser to ask the host yourself, but they have a lot of requests right now and the community forum doesn't help either.
I look forward to every answer!
Then more memory is needed
You are most likely running out of memory on the server.
Possibly. Do you have to hire more or buy more: /
It is apparently a Vserver.
A VServer is no good, especially for extremely CPU-intensive tasks.
Then prefer a dedicated one with a strong 4/8 core
An MC server is very CPU intensive and mostly in a single core.
You seem to have enough RAM, this shouldn't be a problem.
I suspect the problem lies with the CPU, the CPU only clocks at 2.4GHz
For a Minecraft server, a CPU with fewer cores is recommended for more single core performance, from 3GHz it should be better.
The following mods could help with performance and fix bugs:
https://www.curseforge.com/...performant
https://www.curseforge.com/...ipebuffers
https://www.curseforge.com/...pawner-fix
The best thing to do is to briefly read the information on the mods, performance could already bring good improvements.
Thanks alot.
It's me again. I downloaded the mod Performant server-sided and I just couldn't believe it. The server was completely lag-free and had a TPS of 20. The lags simply disappeared and were so rare.