High TPS due to DedicatedServer.updateTimeLightAndEntities()80.54%
Just as the title says. I am not quite sure what is causing the actual problem itself and I will post the spark link along with this post so that the more code savvy members can see a better depth of the problem.
Spark Link: https://spark.lucko.me/hafHnvAWOB
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
83 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 selke#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 selke
im aware i have too many mods . just looking for what exactly to cut peformance wise
and im really bad at interpreting the reports
Too many entities, deuf is quite laggy
what cpu are you using?
AMD Ryzen 9 7950X 16 Core CPU
server has a total of 40GB of DDR5 RAM available
Radeon RX 7900 XT gfx card
do I need to remove entity mods or can I limit spawns with another mod
(sorry for double ping should've turned it off second time)
I'm also probably lacking in performance mods in general . just pulled up a few to eyeball
I just get scared because half the performance mods for forge 1.16 just break each other
ig I can binary mod search
In your user_jvm_args.txt, add this
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20
Also
Don’t allocate so much RAMo ?
Only allocate maybe 12-14gb max
Spark says your server is only using 4 at that point so 12 is usually fine
where is this
Don’t you have a txt file called user JVM args
i have 64gb total
its not in my server no
I locally host this
what do you run to start the server?
a start.bat file I made
Doesn’t mean you have to use all of it
Send the contents
java -Xmx40960M -Xms8192M -jar forge-1.16.5-36.2.42.jar nogui
pause
right
I've been doin this for a few years but I am . very very bad at it and I have never seeked out help
so I do the most monkey brain shit with "ah yes more ram"
java -Xms11264M -Xmx11264M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar forge-1.16.5-36.2.42.jar nogui
replace your java line with that ^kks
can I keep the pause
I like when it stops to . read
yeah that’s fine
gucci ?
hell yeah
Also
Also
please get Roadrunner or Performant (either)
can i up the server to 16
go for it
I truly have. so much ram
do 16000M
well
16 like. 240
have you seen the server use that much?
lemme do math
depends on the server
I just run fatass packs all the time and make new ones every 6 months or so
and I legitimately will Never approach capping out my ram
I typically keep the same start.bat file so I just try to make it good
you typically want to avoid allocating more than 12GB…
because you run into perf issues, however if you know it will use more, give more, but don’t give like 64gb if you know it will only use 20
oh i see
okay
you set it to 11 right
set the Xms and Xmx to 16384
thats more than reasonable then
alr
this
doesn't matter which ?
pick one
I’d do performant
but your choice
perfor
YEAHHH
client & server
or just server
CurseForge
Performant
Lag begone! Increases Performance, less entity lag less rubberbanding, more players on the server
17.9M Downloads | Mods
both if you want
alr got
kks
okok . sick
server definitely, client for singleplayer
anything else to add & get clowned on
lemme take a look
I’m on mobile
would you like a full mod list
no dw
spark tellls me
o
although I might miss some
get:
AI Improvements
FUCK
I KNEW IT
Connectivity if not already
Clumps
i always get greedy and skip AI improvements because the head turning is awesome 😔 👊
i got clumps
Fast Async World Save
alr have
:3
uhh
krypton. sucks
right
In server.properties, what is
sync-chunk-writes
set to
it’s alright…true
you on an SSD or a HDD?
ssd
im not a loser
set it to false then
o
i guess i am a loser
Get FastSuite
alr have
and the other fast stuff
LazyDFU if not already
furnace table etc.
yep
got
damn it
do you have create?
create mod*
yes 😔 👊
and a few compats for it
get
starlight x create
modgot it
will this uhh
break dynamic lighting in any way
its a totaldarkness server so dynamic lighting is really important
shouldn’t
if it does just yeet it
kks
but that’s everything I have so far
so uh
you’re good to try start up
you are my goat
lol
i will mess w/ this and potentially hit you up later if you dont mind
sure
i have. Never had any help on this shit i just eyeball it 💀
tyty
it’s almost midnight but just ping me in here or DMs (don’t care) and I’ll help as soon as I can
sick as fuck
gochu
I hope it boots correctly
may have made a typo
xd
it booted wonderfully
i actually got so cooked its insane
I'll post another profiler later when I have 5+ players online
okay!