Customization with Minecraft - Tos drops alot around 8players on server

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.0.12 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Starting

Problem Description

Issue

As we continue to unlock new dimensions aswell. Whenever a player.goes into the nether tps drops alot. Not only that. There are alot on entities spawning due to custome mobs and cobblemon.

I have sparks and I could post a link to my latest profiler if someone willing help to diagnose it. I need help understanding what’s going on

Thank you

Reproduction Steps

  • 8players join forge version 47.3.0 (1.20.1) modded server
  • Tps starts to drop to 13 to 15 tps
  • I’ve tried to tweak some configuration for entity spawn rates and I pregen chunks aswell put a world border up

I also host big servers for me and my friends with big player counts (sometimes ranging to 30 players) and I didn’t really find a way to fix it.

If you look at Nether portal – Minecraft Wiki under section Chunk loading, Portal search and Portal creation, minecraft has to do a lot of big calculations.
As far as I noticed, keeping the chunks near the portal loaded (in the nether and in the overworld) with either a chunk loader Plugin or with a normal chunk loader does fix the issue.

Additionally, having already 1 chunk (or a region or whatever you want) loaded in the nether and in the overworld (either by players, plugins etc.) also helped getting the lag spikes get down for me.

Maybe there is a solution, but I invested many days into a way and didn’t find any. Maybe you do tho :slight_smile:

Yeah, that sounds like it would be related to chunkloading.
One sanity check you can make is to see if the server-side render distance is too high, the default is 10. (the player entering the new area would be loading a whole bunch of chunks at once)

sim distance is 4 and view is at 7, we have the chunky mod to help pregren everything we want in a selected radius. and we pregen before anyone enter the other dims.

Oofta that’s a bit rough. You’ll want to read through the CPU usage in Spark to see if there’s a mod taking up more than its fair share while loading.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.