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
Please use a paste service next time!!
https://mclo.gs/vVC4F0J
Requested by <@303963122509676547>
send a spark profile instead
https://www.curseforge.com/minecraft/mc-mods/spark/files/3542217
okay
initializing the profiler crashes the server
Nice. There's a newer version of spark for Sponge, if you care about also installing sponge on your server
sponge crashes the server
Can you show the crash logs?
remove foamfix
sponge implements the same things as foamfix
tried that
i still get the same error
what's the crash saying then when you add sponge?
Or spark, pls post logs
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
I'm gonna guess that it's tick dynamic crashing it with sponge
aight
it worked this time, let me try spark now
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.
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
spark is only a profiler, not a performance mod
i meant sponge haha
honestly, no clue what sponge really changes
i see, well, whatever it changed, it worked lol
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.
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