A
Admincraft8mo ago
Lux

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
Admincraft Meta
Admincraft Meta8mo 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 o.cta#0
Admincraft Meta
Admincraft Meta8mo 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 o.cta#0
Lux
LuxOP8mo ago
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
CtrlAltDelMe
CtrlAltDelMe8mo ago
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
MrDadone
MrDadone8mo ago
interesting
No description
CtrlAltDelMe
CtrlAltDelMe8mo ago
Just pointed out that
MrDadone
MrDadone8mo ago
ah mb
MrDadone
MrDadone8mo ago
cobblemon ig?
No description
MrDadone
MrDadone8mo ago
this seems to be the issue 😛
No description
MrDadone
MrDadone8mo ago
(it should be a ticking entity fixed but ehh, it's using pretty much half of the cpu)
CtrlAltDelMe
CtrlAltDelMe8mo ago
Nah
MrDadone
MrDadone8mo ago
:thonk:
CtrlAltDelMe
CtrlAltDelMe8mo ago
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
ProGamingDk
ProGamingDk8mo ago
no.
MrDadone
MrDadone8mo ago
my bad dawg
ProGamingDk
ProGamingDk8mo ago
didnt see admincraft pet response before lol but yeah its a redirect it has to catch ticking entities
CtrlAltDelMe
CtrlAltDelMe8mo ago
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
Lux
LuxOP8mo ago
no its bigchadguys+ i think its redirect where is this is it a jvm what is it
CtrlAltDelMe
CtrlAltDelMe8mo ago
Server properties
Lux
LuxOP8mo ago
what does it do
ProGamingDk
ProGamingDk8mo ago
which you dont want
No description
CtrlAltDelMe
CtrlAltDelMe8mo ago
Which is mid
Lux
LuxOP8mo ago
anything else anyone can recommend
CtrlAltDelMe
CtrlAltDelMe8mo ago
Just check the whole channel You have a mod list?
Lux
LuxOP8mo ago
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
Lux
LuxOP8mo ago
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
CtrlAltDelMe
CtrlAltDelMe8mo ago
Performant?
Lux
LuxOP8mo ago
yes a paid mod from patreon
Lux
LuxOP8mo ago
Patreon
Get more from Sam(Someaddons) on Patreon
creating Minecraft mods: Minecolonies,Performant Dynamic View a
Lux
LuxOP8mo ago
have a question max world size if its set to 15000 does that mean its 30000 in total
MrDadone
MrDadone8mo ago
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 😄
Lux
LuxOP8mo ago
yeah i already do that world border is set to 30,000 just want to limit it in server properties too
MrDadone
MrDadone8mo ago
ah ok
Lux
LuxOP8mo ago
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
Lux
LuxOP8mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta8mo 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 o.cta#0
Lux
LuxOP8mo ago
it def helped but there are some concerning things in the spark
QarthO
QarthO8mo ago
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
Carl-bot
Carl-bot8mo ago
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
From An unknown user
Admincraft Canned Responses
QarthO
QarthO8mo ago
run that command in the embed from above ^
Lux
LuxOP8mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta8mo 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 o.cta#0
Lux
LuxOP8mo ago
i have no idea how to read these but i assume all the red stuff is bad so the GC stuff
CtrlAltDelMe
CtrlAltDelMe8mo ago
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
Skullians
Skullians8mo ago
your GC is dying
Lux
LuxOP8mo ago
what does this do i am in a paid host
CtrlAltDelMe
CtrlAltDelMe8mo ago
Real Preallocate memory
Lux
LuxOP8mo ago
last time it was removed it seemed to have a negative affect
CtrlAltDelMe
CtrlAltDelMe8mo ago
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
Lux
LuxOP8mo ago
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
CtrlAltDelMe
CtrlAltDelMe8mo ago
Weird
Lux
LuxOP8mo ago
No description
Lux
LuxOP8mo ago
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
CtrlAltDelMe
CtrlAltDelMe8mo ago
JVM = the java virtual machine JVM flags = this thing
Lux
LuxOP8mo ago
ya that
CtrlAltDelMe
CtrlAltDelMe8mo ago
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
Lux
LuxOP8mo ago
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
Lux
LuxOP8mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta8mo ago
❌ Processing Error
The bot cannot process this Spark profile. Please use an alternative Spark profile.
Requested by o.cta#0
Lux
LuxOP8mo ago
yeah
Lux
LuxOP8mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta8mo 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 o.cta#0
Lux
LuxOP8mo ago
this one is too short to really measure GC old i think but it runs really smoothly
TurboVadim
TurboVadim8mo ago
have you tried installing something like lithium?
Skullians
Skullians8mo ago
Also that not sure how we missed that
Lux
LuxOP8mo ago
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
Skullians
Skullians8mo ago
Interesting. I’ve always gone under the impression that lithium > performant but yeah, I do know lithium can cause some issues
TurboVadim
TurboVadim7mo ago
I don't see where I can download it for fabric latest version
Skullians
Skullians7mo ago
uh for some reason it only goes up to 1.16.5 they do support up to 1.20.1
ProGamingDk
ProGamingDk7mo ago
newer versions are patreon locked @TurboVadim ^^
TurboVadim
TurboVadim7mo ago
soo lithium is better at least because of open source
Skullians
Skullians7mo ago
what the fuck since when?
ProGamingDk
ProGamingDk7mo ago
since 1.16.5 i assume
Skullians
Skullians7mo ago
well i have downloaded performant several times for newer versions
Lux
LuxOP7mo ago
I have been downloading from Patreon
CtrlAltDelMe
CtrlAltDelMe7mo ago
I Hope it uses safe methods so it doesn't break shit like optifine
Lux
LuxOP7mo ago
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

Did you find this page helpful?