Can't figure out why server is lagging

I recently built a pc to use as a modded minecraft server and i have it setup at a friend's house. Currently I'm just trying to get it all setup but no matter what i do the server seems to lag, both me and the server are connected to (different) gigabit networks. I have various server optimization mods installed and according to the server its self-reporting 20 TPS, however mobs move very choppily and hits don't always register and when they do they're delayed, one of the server optimization mods i installed severely reduces AI overhead and entity spawning so the mobs themselves shouldn't be the issue, also my game reads the server ping at around 30ms. Any help would be appreciated, attached is the most recent server log
22 Replies
Admincraft Meta
Please use a paste service next time!!
https://mclo.gs/vVC4F0J Requested by <@303963122509676547>
Nyaaaa
NyaaaaOP2y ago
okay initializing the profiler crashes the server
Snow Kit
Snow Kit2y ago
Nice. There's a newer version of spark for Sponge, if you care about also installing sponge on your server
Nyaaaa
NyaaaaOP2y ago
sponge crashes the server
QarthO
QarthO2y ago
Can you show the crash logs?
Snow Kit
Snow Kit2y ago
remove foamfix sponge implements the same things as foamfix
Nyaaaa
NyaaaaOP2y ago
tried that i still get the same error
Snow Kit
Snow Kit2y ago
what's the crash saying then when you add sponge?
QarthO
QarthO2y ago
Or spark, pls post logs
Nyaaaa
NyaaaaOP2y ago
Nyaaaa
NyaaaaOP2y ago
the log from when i ran spark doesnt show a crash, it just says like initializing and please wait, same with the debug log, they both end there. Above is the sponge log tho
Snow Kit
Snow Kit2y ago
I'm gonna guess that it's tick dynamic crashing it with sponge
Nyaaaa
NyaaaaOP2y ago
aight it worked this time, let me try spark now
Snow Kit
Snow Kit2y ago
if you got sponge working, use the sponge (api 7) version of spark, it's much newer https://spark.lucko.me/download
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Nyaaaa
NyaaaaOP2y ago
what exactly does spark change? cuz the server overall is running muchhhh better like theres no lag now not spark sponge* cuz just from looking at the console i can tell sponge is def changing stuff since the output is formatted differently and it cant be from removing the optimization mods, cuz when i had none of them the server lagged
Snow Kit
Snow Kit2y ago
spark is only a profiler, not a performance mod
Nyaaaa
NyaaaaOP2y ago
i meant sponge haha
Snow Kit
Snow Kit2y ago
honestly, no clue what sponge really changes
Nyaaaa
NyaaaaOP2y ago
i see, well, whatever it changed, it worked lol
Snow Kit
Snow Kit2y ago
you can add back foamfix and do this If you're using SpongeForge alongside FoamFix (keep in mind that I do not support it), a common crash related to MixinMutableBlockPos can be fixed by disabling coremod.optimizedBlockPos in config/foamfix.cfg.
Nyaaaa
NyaaaaOP2y ago
i dont think ill need it, i didnt care too much about the specific optimizations, i just wanted the server to be usable yknow cuz it was not before adding sponge

Did you find this page helpful?