How can i improve my MSPT
My server runs 9-12 mspt with a tick warp test but i am aiming for about 4-6mspt so i have the most amount of room to run farms below 50mspt, i am running 12400f with 32 gigs of 3200mhz ddr4 ram and a void world idles and tick sprints at about 0.4-0.8mspt with same mods and datapacks as the world i am loading
46 Replies
let me get a spark profile
https://spark.lucko.me/3WU6qVM16l here is the last spark profile i did the beginning had a tick sprint running
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
also sorry for another post i have been troubleshootiung for a while and last post got almost no interaction and was inactive for like 3 days
1 looks fine
2 wtf is this

4-6mspt is basically impossible without having a Really expensive server cpu and folia running
as long as mspt is under 35 thats perfect
tick sprint at the beginning is wqhtat the graph is showing
i can run regular vanilla world like 5-8 mspt and this world is superflat so it technically should run better as less terrain to gen so thats why im confused also i understand 11mspt is fine but bcs i want to run farms i want to maximize the amount of room i have for farms to be loaded, it will be like 5mspt from carpet bot+whatever lag the farm produces so with 12mspt i will only be able to run a few farms
tbh as long as you dont hit 50mspt your good, trying for small amounts of mspt while your server is doing basically nothing seems like a waste of time, really you should try on work on it when it is doing alot
it feels easiest to baseline when doing nothing just bcs there is very little variables
tbh the biggest tick eaters are worldgen, entity ticking and usually redstone depending on scale
yeah but if i load an ms and bee farm and like a few other farms i have a lot of randomization
like a cobble or tree farm will have small spike from item entities and tnt entities bee farm will have largish spike from bees leaving hive and ms will have largish spike from hopper locking and unlocking
i dont think that cobble and tree farms would have a massive impact on mspt due to the fact their entity counts are very small and they are item entities, they dont do too much other then sit in 1 location and are checking if there is a valid player target
yueah i was just trying to find instances of variables
hmm maybe its fine
tmc has corrupted my brain
but are there any preformance tweaks you may recommend to reduce loading lag when starting server up and first loading it up?
play on your server, benchmark your farms and see if theres anything that are doing very heavy things that you can actually see as being big issues.
legit thats a very tiny thing, ofcourse theres gunna bit a bit of time spent to load stuff but its such a tiny performance hit thats its not even really benchmarkable
like investing in better hardware to host your server on is always a good shout, the best cpu by its single thread benchmark that you can afford
when i first load i am at 300mspt for first 5-10 seconds then 40+ for like 30 seconds till it is warmed up
hmm ok
sorry for my ignorance
that seems very high, can you show a report of that specifically
if you can atleast
imma speed start a spark profiler
https://spark.lucko.me/w9Z8QMmhAp ehh this doesnt really show it
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
one thing is the server doesnt seem to be utilizing the ram given, idk if it doesnt need all the ram but it has 12gigs allocated but it only takes 2.9 gigs
Oh wait is the 12 gigs what is entirely allocated but 2.9 is max until it hits that max amount and needs more and then like 4 is max
yes
the entire amount is allocated at runtime, but its currently only using 3 of the 12 available too it
instead of profiling and optimising without any of the farms, why not profile and optimise when you have the farms because those will need to most optimisation because they will take most of mspt
As I said before I’m just tryna get a healthy baseline and most optimizations that would help with farms will also help with idle
Also tbh idk what the difference between optimizing with and without would be
Aside from actually there being farma
Just realized that message came off as kinda rude with the “as I said before” line and I’m sorry for that
It was not my intention to be rude or entitled for your help or time to read previous messages
simulation distance 10 is wild-
what cpu do you have thats on the server @Thorn
pretty low
I set view distance to 16 in server properties
I5 12400f
i see
if you want stable mspt and tps, lowering view distance and sim can help a lot
especially when its running windows and a i5
What would you recommend? Most of my mspt seems to be coming from spawning according to a carpet profile so view distance can’t really help that’s why I haven’t messed with it too much
more view and sim = more mobs
its based on sim distance mainly as thats the "Work when player in radius" thing
if you have it low, less mobs, less loading
Isn’t spawn a 128 radius sphere around player
Yes, but activation distance is dependant on the sim distance more then that
So lowering or raising won’t change spawn rates I thought bcs no spawn attempts happen outside of that area
you CAN have mobs spawn beyond that, ive seen that happen
I thought only mobs that could exist outside despawn sphere were like mobs that are persistent or force spawned like villagers and elder guardians or pigeons in bastions
Piglins
Ty for the new info
:thumb:
Wait is sim distance a seperate thing than view distance in config?
Soz I don’t do much actual serverside work
yes
they are seperate inside the server.properties file
since you run fabric, I'd highly suggest a mod called Servercore and checking out its config file
does wonders
Tyvm
I was gonna try running mc server soft or pterodactyl but too much effort to learn a new interface Lola
Lols
its really easy to use ptero
Oh maybe I will tickle the toes of this titillating tool
altho its mainly linux compared to Windows compatible
but anyways, if you wanna run a mc server linux is suggested.
Debian 12 / ubuntu 24.04 LTS :yeahyupyupyepyepyupmhmyeah:
Maybe if I save up for a small server I can do that but rn I’m running it off of my pc
And even if I switch to Linux I would use a different distribution
Distro
Argg autocorrect ha free d me
^
Hates
the debian / ubunutu is what youd use
its really common, and highly usable
Ok
the distro part is more of an Arch thing then debian based systems
Learning learning