Help diagnosing lag in modded
ello! I am running a modded skyblock server (forge) on a cheap ass vps.
Specs: AMD EPYC 7401P, 16 gb ram, 3 threads
The server runs perfectly fine at 20 tps in skyblock, but the moment someone enters the nether the tps drops to 5-10
It is probably because of the cpu since it is a cheap vps, I have plenty of ram so that is not an issue
Can someone please check if this is just cpu or any mod or something?
Is there any way I can reduce this lag, whether by removing a mod, changing config or any way that doesnt involve upgrading server since I cant afford that atm...
Spark: https://spark.lucko.me/Jt2D0PSa4L
Btw the modpack is a customised version of "Fantasy Skies" with extra mods added
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
72 Replies
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 primordial9470#0
Spark Profile Analysis
â Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by primordial9470#0
1. that CPU is awful for mc. consider making a post in #marketplace
2. do you have any command blocks or datapacks
no datapacks, just a lot of mods
i cant afford any of the hostings in marketplace atm unfortunately, is there any humanly possible way to reduce the lag?
use the /perf command
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)
imma try that out, ty đ
For safety reasons we do not allow executables to be sent as they might contain malware. If you're compiling for someone please DM them and as a reminder. We cannot verify if a compiled jar has not been tampered in any way
uh i cant send the /perf debug file, bot not letting me :')
oh nvm sorry i was supposed to upload the file to misode
oh god my brain is fried with all the information
is there any way i can share it here other than taking all here?
dm it if you want
@Primordial you can try out a mod called dimensional threading
If you have plenty of threads
@Primordial do you know of any mod, command block or datapack that creates Ominous Pearls?
i got 3 threads
uh, i cant find anything like that
are you positive you arenât using command blocks
try disabling it in server.properties?
there could be some mod using it, i'll disable it in config
Well if it was a mod it wouldnât use the command blocks themselves
đ this is trickier than i expected
i found the mod for this
its a mod/datapack named ultris
https://modrinth.com/datapack/ultris
Modrinth
Ultris: Boss Expansion - Minecraft Data Pack
Explore 8 new and exciting bosses to take on across your world, with new structures, items, and stories for you to unravel.
ah yeah
thatâs probably your issue
thanku!
also on further inspection it turns out tps drop is only in nether specifically, not in any other dimensions
there are some other mods that are marked as "mods/datapack" on modrinth, from what i know they are just datapacks exported into mods? i think? probably why there werent any datapacks in the datapacks folder
possibly
mods as data packs are fine iirc
well no, because the ultris âdatapack / modâ was the one causing a big portion of the lag
I donât know if @Primordial was using the datapack or mod ver
the mod version
there you go @1whoÂĄssus?
Owo
that was what i initially thought too, that mods would work differently, but apparently not
(Context: the /perf zip that primordial sent me had ultris related stuff as the laggiest)
Im not surprised, it adds several bosses and items
Try akair flags too
sync-chunk-writes: true
Make this false
You'll see some improvements
I actually have got some akair flags you might wanna try
Only do this if youâre using a HDD
otherwise if youâre using an SSD keep it false
but yeah use Aikar flags
there was another datapack hidden as a resourcepack, "spawn animations"
https://modrinth.com/datapack/spawn-animations
Modrinth
Spawn Animations - Minecraft Data Pack
Hostile mobs dig out of the ground or poof into existence when they spawn!
just removing this thing fixed most of the lag, its not going below 17 tps, even that only when generating chunks
yes that would also cause a lot of lag
Have you not pregenerated?
where can i get more info about aikar flags? idk about them
not yet, gonna do it now
ty
In the generated flags remove the always pre touch flag btw
oh aikar flags is just another name for java args?
yeah theyre a specialised configuration of startup flags
this but remove always pre touch
These supposedly are server oriented akair flags
Oh yeah
Theyâre not âbadâ but they preallocate the memory which can risk OOMs
You must fully pregen your world!!!
do i modify it in the startup?
![No description](https://cdn.answeroverflow.com/1263464899065937982/image.png)
^
no
No? I sometimes modify them here
add it to the user Java args
thereâs a txt file
Send the contents of unix_args rq
i think java args file get ignored if there is a startup command set in pterodactyl?
:nono:
not exactly
Send the contents of unix_args.txt
i copied a generic modpacks's args in the user_jvm_args file before
ahhh
yeah replace them with these in user JVM args
and it should apply
this is the current file
![No description](https://cdn.answeroverflow.com/1263465737306116177/image.png)
theyâre actually fine but remove alwayspretouch
think its mostly the same
mhm
removed
can you send the unix args file content
oof
thatâs userjvmargs
isnât there a unix args file
i dont think there is one for forge
theres a variables.txt
should i change the startup command too?
java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar {{SERVER_JARFILE}}" || printf %s "@unix_args.txt" )
ahh there should be a unix_args according to startup command, i'll make one manually ig
current unix_args file, it was in the libraries directory
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
message.txt
Requested by primordial9470#0
I would just add the aikar flags into the startup command
alright
tysm â¨
for helping my stupid ass
np lol
sorry for my skill issues
those were my skill issues lol
who would've thought there were hidden datapacks in mods and resourcepacks, i would have never thought of that lol
Hi guys, My server is ultra mega laggy i'e tried everything buy idk what to do anymore PLEASE HELP
https://spark.lucko.me/PWGfcG8K54
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
â Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Forge
Requested by dgxrasing#0
!offline
We donât support offline mode
Iâd take a look at Alexâs mobs though
ok thanks, idek why i have it offline lol. I had somebody do the server for me