Tried to optimize server, still getting 11 TPS with 4/5 people.
Hey everyone! I've been working on a minecraft server again, and in testing phase, the server's running at 11-15 TPS with 5 people on it.
I know I have a ton of mods, but I figured the server would at least run a little better. I turned down view distance, turned down sim distance, installed servercore
What else can I do, to increase TPS and make it more playable for my players?
16 Replies
Okay the bot is not liking my sparkprofiler URLs
what sort of hardware do you have?
Try allocating more CPU threads to the server.
I see that you only have 1 thread allocated to the server
Ill get that for you in a sec!
I thought Java itself was limited to 1 thread, no?
Oh I’m confusing cores with threads nvm
-XX:ParallelGCThreads= right?
Yes but modern server software can utilise additional threads/vcores
Gotya
This was with a simple google search, if it’s something else / additional please let me know :)
Yes
Usually modern CPUs have 2 threads per core
Depends on your cpu model
You can also increase the RAM allocation, if more CPU threads don't resolve the problem.
Well, I wasn’t being hit by RAM restriction on the server, I think it maxed out at 12GB on 13tps
Out of 20GB allocated
Then it means that the RAM isn't the problem
When a server has low TPS/crashes there are a lot of causes.
Intel(R) Core(TM) Ultra 7 155H
Its kind weird that raids are taking up 20% of the load
Just got back and set 2 things
TPS is still slightly under 20 with even just me on the server
Keep in mind i'm using itzg's docker image to run this
Nope, on a NUC
Thanks for taking the time to help btw, appreciate it everyone :luv:
Lemme install those, and restart. I'll report back in 3 mins!
Someone else can probably tell you whether or not minecraft will hurt on a CPU with e cores
I'd assume so but I've never actually tried
https://modrinth.com/mod/vmp-fabric
https://modrinth.com/mod/servercore
Those two might require some configuration but could help
https://modrinth.com/mod/immersive-optimization
As much as I'm aware of, yes
Ecores are generally slower than normal cores
It's a little better now, no TPS drops when 3 players were on, and seems to be running fine.
Thanks so much for your help and tips everyone, I appreciate it!
./close does not work, oops