Fabric server 1.20.1 Overloading?

8 Threads Intel Core i9 12900HK 12Gb RAM I have a Fabric server that currently only has 10 active players. I have multiple optimization mods, I've loaded the first 15,000 blocks from spawn in every dimension and the server still gets overloaded. Mods:
54 Replies
Tamz
Tamz3d ago
!spark
Carl-bot
Carl-bot3d ago
Spark Profiler
Spark can be used to see why your server or client is lagging. Users can share a spark report via /spark profiler start --timeout 300 which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support. Download | Website | Docs
From An unknown user
Admincraft Canned Responses
Alvarete666
Alvarete666OP3d ago
On it please give a sec I didn't have it installed previously so I have to reboot and wait for the overload to occur.
Tamz
Tamz3d ago
just make a quick 5 minute profiler, no need to wait for lag Id like to check for something
Alvarete666
Alvarete666OP3d ago
oH OKEY
Alvarete666
Alvarete666OP3d ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Tamz
Tamz3d ago
lower the view distance to 12 or less and itll be fine
Alvarete666
Alvarete666OP2d ago
I will later, rn there is to much people online Okey the server still gets overloaded with 12 render distance and 5 players
Tamz
Tamz2d ago
How much does it get overloaded by?
Alvarete666
Alvarete666OP2d ago
40ticks Im runing a profiler rn
Alvarete666
Alvarete666OP2d ago
No description
Tamz
Tamz2d ago
oh that’s Really not much to worry about
Alvarete666
Alvarete666OP2d ago
I guess so, in fact I can tell the server isn't affected much, but this is happening with 5 people online, I'm a little worried about what will happen to the average 10-12
Alvarete666
Alvarete666OP2d ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Alvarete666
Alvarete666OP2d ago
No description
Alvarete666
Alvarete666OP2d ago
Yeah it doesnt get better Okay, I've been trying things and haven't gotten anywhere. I've increased the RAM, Threads, changed flags, made a backup, and changed mods and datapacks. But when I have 4-5 active players, it starts to overload. At 8-10, the MSPT goes up to 70-80, and from then on, it gets worse.
Skullians
Skullians2d ago
Hey I’ll take a look at your spark in a sec
Snow Kit
Snow Kit2d ago
I'd try to get rid of the command blocks and/or datapacks that you can. Specifically the one running /clear if possible
No description
Snow Kit
Snow Kit2d ago
the commands are taking up about 1/3rd of the total tick time
Skullians
Skullians2d ago
could be datapacks
Snow Kit
Snow Kit2d ago
I did say datapacks :P
Skullians
Skullians2d ago
fuck sorry am tired :(
Snow Kit
Snow Kit2d ago
all good
Alvarete666
Alvarete666OP2d ago
I have 4 bigs datapacks, Terralith, Stellarity, Incendium and BlazeAndCaves Although in reality the first 3 are in mod form All of them are a "fundamental" part of the server, I wouldn't know how to optimize them so that they don't affect performance.
Snow Kit
Snow Kit2d ago
I think minecraft has a command to profile datapacks built in, but removing the ones that are doing /clear should be able to bring your tps up enough
Alvarete666
Alvarete666OP2d ago
Let me run a profiler now
Alvarete666
Alvarete666OP2d ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Arthurmeade12
Arthurmeade122d ago
That looks pretty good to me FYI 16% of the tick is still commands, and ~29% is mobs
Alvarete666
Alvarete666OP21h ago
Okay, I've been checking things out, but I still don't know how to fix it. So, at this point, I realize the problem lies with the mobs and datapacks. But I can't remove the datapacks (even if I wanted to). If I could edit them (I have some knowledge with datapacks), I would try to remove the parts I don't want, but since they're in the form of mods, I can't access them. I reduced the mobcap to 50 but last night when I went to sleep the server overloaded again when the usual 10-12 players came in I can increase the server capacity to my liking but I wouldn't know how to do it effectively, I would appreciate some advice on what I could do.
Skullians
Skullians19h ago
If you can run /perf start we can take a look at the profiling.txt file
Alvarete666
Alvarete666OP19h ago
on it rn im the only one on the sv So idk
Skullians
Skullians16h ago
yeah, stellarity is 17% and incendium is 8% there's not really much you can do about that
Alvarete666
Alvarete666OP16h ago
Can I somehow increase the capacity of the server to make it more efficient?
Skullians
Skullians16h ago
ehm you could get better hardware I guess the issue with these datapacks is that they run a lot of commands every tick so it scales
Snow Kit
Snow Kit16h ago
oh wait, they're on a laptop cpu?
Skullians
Skullians16h ago
i9-12900HK doesn't always mean laptop but you could technically get better single thread perf they're typically in mini PCs
Snow Kit
Snow Kit16h ago
well, it is a mobile cpu
Skullians
Skullians16h ago
oh what oh you're right
Snow Kit
Snow Kit16h ago
yeah
No description
Snow Kit
Snow Kit16h ago
he could also be having his server pushed to the E cores no way to really know though
Alvarete666
Alvarete666OP16h ago
So there is no way then... um okey
Snow Kit
Snow Kit16h ago
is this self hosted, or are you paying for the hosting?
Alvarete666
Alvarete666OP16h ago
Self hosted
Snow Kit
Snow Kit16h ago
you could try to force minecraft to only run on the p cores
Alvarete666
Alvarete666OP16h ago
I have this server on a Pterodactyl panel that I installed on a MiniPC. I don't know how to move the server to the P Cores.
Snow Kit
Snow Kit16h ago
lscpu will tell you which core numbers are which, then you can setup CPU pinning
No description
Alvarete666
Alvarete666OP15h ago
tbh i dont see much XD
Alvarete666
Alvarete666OP15h ago
No description
Alvarete666
Alvarete666OP15h ago
No description
Snow Kit
Snow Kit15h ago
I thought a 12900hk should have 20 threads, not 18 you can just assume it's cores 0-5 idk what number the hyperthreaded cores are
Alvarete666
Alvarete666OP15h ago
I should say that the machine where I have the server is a virtual machine within a proxmox Sorry for the cofusion
Snow Kit
Snow Kit15h ago
oh, then you'd have to setup the cpu pinning on the vm but I honestly have no clue how you'd do that in proxmox lscpu should look different if you run it on the proxmox host though
Alvarete666
Alvarete666OP15h ago
I'll look into it, I had to create a separate Ubuntu virtual machine to add a WireGuard to connect to the machine remotely. That's why I had to move it to Proxmox, mostly for ease.

Did you find this page helpful?