A
Admincraft7mo ago
Zeka

Server TPS very low on a pretty heavily modded Fabric Server

Hey there, I've been having issues today with my MC server. I can't really tell if it's the garbage collector having issues or what but whatever I try, my TPS seems to be averaging at around 12. We have around 9-12 people on the server on launch day, and the server has not been keeping up with the player amount. We're also running around 160 Mods on the server. The server I'm running has 16GB + 6 Cores (Ryzen 9 5950X acording to the Berrybyte which is the host of the dedicated server) I've tried looking at Spark and did find a mod that seemed to cause quite a few issues, but it wasn't enough to get the TPS up again after removing it. Now my question is: What else could be the cause of this? I assume I'm already a bit higher with the server specs than needed. Neither the CPU nor the Memory seem to be maxing out, but I still get the messages of XXX Ticks behind. Here's the Spark Result: https://spark.lucko.me/91UX3zfaeX Hope someone can help me out of here. Thanks!
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
68 Replies
Admincraft Meta
Admincraft Meta7mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by zekayi#0
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 zekayi#0
Skullians
Skullians7mo ago
ValkyrienSkies, apoli and pehkui are one of the laggiest mods
ProGamingDk
ProGamingDk7mo ago
No description
ProGamingDk
ProGamingDk7mo ago
ouch
Skullians
Skullians7mo ago
Do you have any datapacks or command blocks?
ProGamingDk
ProGamingDk7mo ago
20% is used by datapacks/command functions/mods that are just datapacks
Skullians
Skullians7mo ago
Also yeah, your host machine is running out of ram
QarthO
QarthO7mo ago
(or command blocks)
Skullians
Skullians7mo ago
^ consider finding mod alternatives or removing them outright
Zeka
ZekaOP7mo ago
Command blocks no, datapacks possibly only those that are repackaged into Fabric Mods But not actual datapacks loaded into the world
Skullians
Skullians7mo ago
Your view and sim are too high. 8 view 6 sim max Something is running commands
QarthO
QarthO7mo ago
telling ur players to get the bobby mod and cranking that view distance down is op af. players wont even know a difference
Skullians
Skullians7mo ago
^
Zeka
ZekaOP7mo ago
Hm, the modpack I created for them has distant horizons preinstalled, so I don't know how bobby interacts with that Wrong reply, mb
Skullians
Skullians7mo ago
oh if you have DH that’s fine
Zeka
ZekaOP7mo ago
although I should ask the host if theres something he can do about the physical memory running out
Skullians
Skullians7mo ago
I would What host? If you’re willing to share
Zeka
ZekaOP7mo ago
Its Berrybyte, wrote it in the post, might've been buried
Skullians
Skullians7mo ago
oh mb and interesting
Zeka
ZekaOP7mo ago
Honestly, didn't have issues last year when we had a 10G server with lighter mods
Skullians
Skullians7mo ago
Are you sure you have no command blocks running There is something running commsnds
QarthO
QarthO7mo ago
probably just a datapack wrapped as a fabric mod
Zeka
ZekaOP7mo ago
I mean as long as there are no players who have cheated in some command block without any OP, I'm fairly certain there is no command block. Since you asked about datapacks, those would also show up the same as datapacks in spark if they're repackaged as fabric mods?
Skullians
Skullians7mo ago
terratonic maybe? have you pregenerated?
Zeka
ZekaOP7mo ago
That I havent. Was a little overzealous when it came to launching the server so I didn't have Chunky running before letting people in. I did want to try that when most people left the game
Skullians
Skullians7mo ago
I would recommend you do so, and set a worldborder to stop players going further
QarthO
QarthO7mo ago
depending on the size of the server, sometimes its just worth it to be hella laggy for a day while u pregen then be chillin
Skullians
Skullians7mo ago
iirc there is an add on that stops and restarts chunky tasks when players join / leave
Skullians
Skullians7mo ago
Modrinth
Chunky Extension - Minecraft Mod
Ce (Chunky-extend) A small extension for Chunky, auto start and stop Chunky if players are online or offline.
Zeka
ZekaOP7mo ago
Yeah, should be chunky extended, which i also installed, but that one's commands are not doing anything Wrong reply again But terratonic is not installed, nope. Only terralith I am very sure I have some other datapacks wrapped as fabric mods in the server. But I wouldn't think any of them would have this many issues Or rather be ressource intensive
QarthO
QarthO7mo ago
yeah minecraft just isnt optimized at all
Skullians
Skullians7mo ago
Sorry. It’s because I saw ‘tectonic/terratonic’ in spark’s datapacks section yeah datapacks are just not great Pregeneration should help with some lag Consider getting ServerCore
Zeka
ZekaOP7mo ago
Alright so I'll try - informing the host about the memory running dry on his machines - pregenerating during the night/in the morning - check if I can get Chunky Extension running, maybe the version is just old. - see if I have any datapacks that are repackaged as fabric mods - Install ServerCore - Install Noisum - Install Faster Random Any other suggestions?
QarthO
QarthO7mo ago
Does noisum work with terralith?
QarthO
QarthO7mo ago
Modrinth
Noisium - Minecraft Mod
Optimises worldgen performance for a better gameplay experience.
Zeka
ZekaOP7mo ago
Doesn't really seem like it
No description
QarthO
QarthO7mo ago
it says most if not all, then just highlights some popular ones that isnt an exclusive list
Zeka
ZekaOP7mo ago
Actually mb, those are compatibilities that are highlighted yeah I could try getting that as well
QarthO
QarthO7mo ago
i would just always recommend making sure u take backups before adding any mods especially ones that impact the world like this and make sure u backup often!
Zeka
ZekaOP7mo ago
Yeah, thats a given, I got a daily schedule running and I do my own backups when doing bigger changes. Thanks for the headup though! Either way, I guess I should try the list I have right now and hope that we'll be better off later. Unless theres another suggestion, really taking anything right now
QarthO
QarthO7mo ago
this can also help https://modrinth.com/mod/faster-random how technical are your redstoners?
Modrinth
Faster Random - Minecraft Mod
An up to 100X* faster Random Generator implementation for Minecraft, with near vanilla parity.
Zeka
ZekaOP7mo ago
Gotta be honest man, I doubt we have any dedicated redstoners that have gone further than making a simple doorbell
QarthO
QarthO7mo ago
then yeah, check out faster random
Zeka
ZekaOP7mo ago
Alright then, got a sizable list of suggestions. Thanks so much for the quick help by the way. I'll let you guys know if things change! Also just quickly, 16 gigs is fine for this modpack and player base I assume? Asking since nobody mentioned that as being a possible root cause (as in, not too overkill that it overwhelmes the GC)
QarthO
QarthO7mo ago
yeah 16gb is fine just make sure u reach out to ur host and let them know the node ur on is running low on ram
Zeka
ZekaOP7mo ago
Yeah, on it rn, thanks!
Zeka
ZekaOP7mo ago
Hey there, (sadly) I'm back. The pregenerating seems to be running fine enough, but TPS is still averaging at around 12 at around 7 players. Is there anything else I can still do? I remember last year that my hosts CPU was not up to snuff, so is that the case here too? I've done practically everything in the replied message https://spark.lucko.me/qWJWLZd6bs I also cant for the life of me, find out whats supposed to be using commands. I'm 100% sure there is no command block in the world unless some mod adds one that just runs 24/7.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta7mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by zekayi#0
Skullians
Skullians7mo ago
valkyrienskies is really quite laggy, as well as apoli !binary and for the commands, this is your only option
Carl-bot
Carl-bot7mo ago
Binary search your plugins
Remove half of your non-essential (ie not things like PAPI or LuckPerm) plugins and see if the problem is fixed. If it still persists, the cause is in the half still installed. Continue to halve the remaining plugins until you've narrowed it down to a single plugin. Congratulations, you found the culprit.
From An unknown user
Admincraft Canned Responses
ProGamingDk
ProGamingDk7mo ago
no its not to find commands being ran use the vanilla profiler
https://docs.bloom.host/datapacks/#disclaimer + https://misode.github.io/report/ canned message for people to use these to diagnose command function lag/identifying lagging datapacks (can also mention https://minecraft.wiki/w/Commands/perf, but thats more for the command and not actual diagnosing from it)
taken from my suggestion
Skullians
Skullians7mo ago
oh oopsies
Zeka
ZekaOP7mo ago
I'll check this right now Weirdly enough my profiling.txt file is completely empty cant really get rid of apoli, since its part of origins and thats the whole schtick of the server lol Is there any reason why the profiling.txt could be empty Since the vanilla profiler didnt work. i assume the sequential search would only work on the same server with the same configuration?
Zeka
ZekaOP7mo ago
So I've run it again and I actually got an output in the profiler, but this is not very helpful to be honest
Admincraft Meta
Admincraft Meta7mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
profiling.txt
undefined (file was truncated because it was over 10 mb)
Requested by zekayi#0
Zeka
ZekaOP7mo ago
i've only found one person who's had this problem with them never getting an answer
No description
Zeka
ZekaOP7mo ago
and another person on reddit
Skullians
Skullians7mo ago
Do you have some kind of mod that changes the weather Is this a custom modpack
Zeka
ZekaOP7mo ago
It is a custom modpack yes I guess only Fabric Seasons comes to mind when it comes to mods that change the weather I guess I got no choice than to purge mods and see when the profiler stops. Atleast I have the same issue when using the single player profiler Well, it seems like its fixed
Skullians
Skullians7mo ago
by what
Zeka
ZekaOP7mo ago
So basically, I checked if the Thunder2 issue shows up in single player too, and sure enough it does So I binary searched mods that arent Librarys or APIs and slowly narrowed it down to the mod Friends & Foes
Zeka
ZekaOP7mo ago
Modrinth
Friends&Foes (Fabric/Quilt) - Minecraft Mod
Adds outvoted and forgotten mobs from the mob votes in a believable vanilla plus style. (Copper Golem, Glare, Moobloom, Iceologer, Barnacle, Wildfire, Illusioner, Rascal, Tuff Golem)
Skullians
Skullians7mo ago
interesting
Zeka
ZekaOP7mo ago
After removing that mod and stress testing with 12 people, the server now runs at a smooth 20 TPS
Skullians
Skullians7mo ago
great!
Zeka
ZekaOP7mo ago
Anyways, thanks everyone for the help, especially for letting me know about the Vanilla Profiler and the info that it a Datapack-Mod is probably the culprit !close
Admincraft Meta
Admincraft Meta7mo ago
post closed!
The post/thread has been closed!
Requested by zekayi#0

Did you find this page helpful?