Optimizations for server requested please
https://spark.lucko.me/4bV8etPed8 Any further info needed let me know will provide.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
77 Replies
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 o.cta#0
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 o.cta#0
JVMs are a little all over the place but have provided a heavy improvement to the server regardless on how silly they might appear
I am for sure looking for suggestions on how to change them though
if any new jvm would benefit the server
Less memory
8 or 10 GB of ram. 18 GB allocated is too much
What modpack?
Prominence II?
This might sound incongruent but you can run your server with java 21 and it's a bit better than java 17
interesting

Just pointed out that
ah mb
cobblemon ig?

this seems to be the issue 😛

(it should be a ticking entity fixed but ehh, it's using pretty much half of the cpu)
Nah
:thonk:
It states it's not lag but it's reported to use lots of CPU thread because neurina is a mod about making sure crashing entities don't brick your server
So neurina checks ticking entities but it's not causing lag
The process also states not the cause of lag
no.
my bad dawg
didnt see admincraft pet response before lol
but yeah its a redirect
it has to catch ticking entities
sync-chunk-writes: true make this false
It's a bit laggy for my taste
The tps sometimes drop no?
Even with the good hardware and the software
I have a bloated AF fabric server with not as good resources and it doesn't even tps drop that much lol
no its bigchadguys+
i think its redirect
where is this
is it a jvm
what is it
Server properties
what does it do
which you dont want

Which is mid
anything else anyone can recommend
Just check the whole channel
You have a mod list?
CurseForge
BigChadGuys Plus (w/ Cobblemon!)
Stardew Valley meets Pokémon! Prepare for a comfy and cozy adventure with over 1,600 quests!
716.8K Downloads | Modpacks
extra mods ontop
owner of modpack said performant worked better for him then stock lithium and servercore so i changed it it boosted frames heavily
Performant?
yes
a paid mod from patreon
Patreon
Get more from Sam(Someaddons) on Patreon
creating Minecraft mods: Minecolonies,Performant Dynamic View a
have a question
max world size
if its set to 15000 does that mean its 30000 in total
if you are planning to limit the world size, that won't matter tbh, just pre render the chunks and you are good to go 😄
yeah i already do that
world border is set to 30,000
just want to limit it in server properties too
ah ok
have a question
if 18 GB is to much allocated then what happens to the other 10 gb i paid for?
does it actually touch that at all
if i do
10 GB and have 20 GB
wouldnt lowering the amount of ram available make it worse?
im not really smart with this kind of thing
i made all the suggestions though
I made all the suggestions, and I went to go check spark it looks like we have bad GC, im sure its in relation to our JVMs
if anyone has any suggestions
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: Fabric
Requested by o.cta#0
it def helped but there are some concerning things in the spark
u got lots of items on the ground
also open profilers arent helpful. Wait for the server to lag, then run a timed profiler (only while its lagging) and share it here
!spark
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
Admincraft Canned Responses
run that command in the embed from above ^
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: Fabric
Requested by o.cta#0
i have no idea how to read these
but i assume all the red stuff is bad
so the GC stuff
Ooooo
Performant by some addon
Might be the next lithium
1st you don't need that much memory for a MC server
Might as well use the memory for another server? Lol
Even heavy Minecraft servers can go fine with 8 or 10 GB of ram, 16 GB is a hard limit and 18 is too much
Remove -XX:+AlwaysPreTouch from your JVM flags, since you're probably in a host
your GC is dying
what does this do
i am in a paid host
Real
Preallocate memory
last time it was removed it seemed to have a negative affect
Big bad usually
It could cause crashes
Since it's a docker environment
Prob lowering xmx will help if you haven't & set xms to a small number like 256M
i have a new set of jvms that seem to have helped even more then the last set these are more straight forward but old GC is always a big issue for some reason
-Xms12621M -Xmx12621M -Duser.timezone=America/New_York -Dterminal.jline=false -Dterminal.ansi=true --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=50 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=1 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=80 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:+UseStringDeduplication -XX:SoftRefLRUPolicyMSPerMB=0
the jvms you see for xms and xmx i cant change one and make it different then the other
Weird

it only lets me put this here
if [[ 12621 -gt 20480 ]]; then echo "ERROR: Your allocated memory cannot exceed your server memory."; else java -Xms12621M -Xmx12621M -Duser.timezone=America/New_York -Dterminal.jline=false -Dterminal.ansi=true --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=50 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=1 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=80 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:+UseStringDeduplication -XX:SoftRefLRUPolicyMSPerMB=0 -jar fabric-server-launch.jar; fi
JVM = the java virtual machine
JVM flags = this thing
ya
that
Just wondering your server still lags?
I also tend to have big old gc collections but they don't affect perf that much in my case
lag seems to have improved significantly after applying all your suggestions
ill send the new spark report in 5 minutes
actually idk if this one will come up as expired for you
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
❌ Processing Error
The bot cannot process this Spark profile. Please use an alternative Spark profile.
Requested by o.cta#0
yeah
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: Fabric
Requested by o.cta#0
this one is too short to really measure GC old i think
but it runs really smoothly
have you tried installing something like lithium?
Also that
not sure how we missed that
removed lithium in place of performant has been worth it, i know a lot of people prefer lithium but performant has been a godsend
recommended by the man who made the modpack
i think i got a lot of the issues under control
Interesting. I’ve always gone under the impression that lithium > performant but yeah, I do know lithium can cause some issues
I don't see where I can download it for fabric latest version
uh
for some reason it only goes up to 1.16.5
they do support up to 1.20.1
newer versions are patreon locked
@TurboVadim ^^
soo lithium is better at least because of open source
what the fuck since when?
since 1.16.5
i assume
well
i have downloaded performant several times for newer versions
I have been downloading from Patreon
I Hope it uses safe methods so it doesn't break shit like optifine
only one issue I’ve encountered with performant is immortal illusioners
But it seems like a conflict between performant and another mod not performant itself