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
Thorn
ThornOP5d ago
let me get a spark profile
Thorn
ThornOP5d ago
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.
Thorn
ThornOP5d ago
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
Tamz
Tamz5d ago
1 looks fine 2 wtf is this
No description
Tamz
Tamz5d ago
4-6mspt is basically impossible without having a Really expensive server cpu and folia running as long as mspt is under 35 thats perfect
Thorn
ThornOP5d ago
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
Lunaiskey
Lunaiskey5d ago
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
Thorn
ThornOP5d ago
it feels easiest to baseline when doing nothing just bcs there is very little variables
Lunaiskey
Lunaiskey5d ago
tbh the biggest tick eaters are worldgen, entity ticking and usually redstone depending on scale
Thorn
ThornOP5d ago
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
Lunaiskey
Lunaiskey5d ago
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
Thorn
ThornOP5d ago
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?
Lunaiskey
Lunaiskey5d ago
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
Thorn
ThornOP5d ago
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
Lunaiskey
Lunaiskey5d ago
that seems very high, can you show a report of that specifically if you can atleast
Thorn
ThornOP5d ago
imma speed start a spark profiler
Thorn
ThornOP5d ago
https://spark.lucko.me/w9Z8QMmhAp ehh this doesnt really show it
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Thorn
ThornOP5d ago
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
Lunaiskey
Lunaiskey5d ago
yes the entire amount is allocated at runtime, but its currently only using 3 of the 12 available too it
blobfish
blobfish5d ago
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
Thorn
ThornOP5d ago
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
goosBanny
goosBanny4d ago
simulation distance 10 is wild-
Tamz
Tamz4d ago
what cpu do you have thats on the server @Thorn pretty low
Thorn
ThornOP4d ago
I set view distance to 16 in server properties I5 12400f
Tamz
Tamz4d ago
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
Thorn
ThornOP4d ago
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
Tamz
Tamz4d ago
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
Thorn
ThornOP4d ago
Isn’t spawn a 128 radius sphere around player
Tamz
Tamz4d ago
Yes, but activation distance is dependant on the sim distance more then that
Thorn
ThornOP4d ago
So lowering or raising won’t change spawn rates I thought bcs no spawn attempts happen outside of that area
Tamz
Tamz4d ago
you CAN have mobs spawn beyond that, ive seen that happen
Thorn
ThornOP4d ago
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
Tamz
Tamz4d ago
:thumb:
Thorn
ThornOP4d ago
Wait is sim distance a seperate thing than view distance in config? Soz I don’t do much actual serverside work
Tamz
Tamz4d ago
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
Thorn
ThornOP4d ago
Tyvm I was gonna try running mc server soft or pterodactyl but too much effort to learn a new interface Lola Lols
Tamz
Tamz4d ago
its really easy to use ptero
Thorn
ThornOP4d ago
Oh maybe I will tickle the toes of this titillating tool
Tamz
Tamz4d ago
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:
Thorn
ThornOP4d ago
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
Tamz
Tamz4d ago
^
Thorn
ThornOP4d ago
Hates
Tamz
Tamz4d ago
the debian / ubunutu is what youd use its really common, and highly usable
Thorn
ThornOP4d ago
Ok
Tamz
Tamz4d ago
the distro part is more of an Arch thing then debian based systems
Thorn
ThornOP4d ago
Learning learning

Did you find this page helpful?