Reduce CPU load.
As the title says do you guys know any mod or trick or file to edit in order to reduce the load on my server? My server has an Intel Xeon E3-1220 v6 with a clock of 3.6ghz, it isn't really fast but it kinda works. Now and then tho the server has some big stutters especially when someone goes into another dimension or tps himself far away.
86 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 efriseer#0
@ProGamingDK what's your thoughts on this xeon CPU?
Oh it's from 2011 ;-;
That processor is kinda old ngl I don't expect a great singlecore performance from it
Ok so you can reduce in the server.properties the virtual render distance to 3
clock speed doesnt really matter in itself
but yeah thats a shitty cpu
I'm judging on the year
have u pregenned?
You pregenerated terrain?
@EFriseer
Oh my we thought of the same thing
No I didn't
Then you should
u should
I did this on a server even on a 9th gen i9 which is a pretty good processor
Well... The world now has been running for around 1 and a half years and we explored everything in the range of around 10k blocks around where our homes are so I don't know if it's really needed now
You're on modded?
Yes
This can help a bit if you haven't done it
In the server.properties there's something called sync chunk writes
Making it false is often recommended
^^
What's your host?
The cpu is quite old because it was an old server that the agency where my father worked used H24 for a bit and then shutted it down because they didn't need it anymore.
Home
Interesting
Yea
I limited the chunks to 8 and that helped a bit
That's something I'm gonna have to look at.
Actually what's your version
Of Minecraft?
Yeah
1.19.2
Forge
Oh cool
So there's something called virtual render distance or something like that in the server.properties
In your hardware I would limit it to 3
To be more precise Forge 1.19.2-43.2.8
And the sync thing to false
Ok. I'm gonna edit those and I'll tell you if I see any difference
There's also many optimization mods that I'm unaware if you're using them but they're pretty good
https://github.com/TheUsefulLists/UsefulMods
GitHub
GitHub - TheUsefulLists/UsefulMods: Just a list of useful mods
Just a list of useful mods. Contribute to TheUsefulLists/UsefulMods development by creating an account on GitHub.
Idk about the ones on the list but I'm using some mods that claim to reduce the load but it's meh.
Oh sorry it actually does have many mods for forge
What mods?
I don't remember all of them but one is Ferrite Core
That mod is based on memory optimizations
It's good
EntityCulling is another one
Actually on the server those 2 are the only ones
On the client we use Rubidum aswell but that has nothing to do with the server lag
I don't see this one... Unless you mean Simulation Distance
That's it
It's at 4
Isn't that client side tho 😅
That mod stops rendering entities behind walls
🤔 might be
Dimensional Threading Reforged and Fastload from this list seems useful
I haven't tried dimensional threading, make a backup just in case but if it works it'll help a lot
Always have a backup. I lost too many servers yet
Oh wow
Just those things decreased the cpu load by a lot
Now it doesn't go over 50% while before it used to spike at 100%
Glad to hear that
I have a question now... What Simulation Distance exactly does and would it be even better if I set it to 1?
Min is 3
Simulation distance is the area around the players in which game logic is allowed to happen
In number of chunks
Like ticking
Exactly
With such an old processor you should leave it at 3
You can add a mod that adds chunk loaders if y'all have farms
But
It's not a good idea
We have chunk loaders yet 🙃
And there are around 10 or 15 active
Okey
@EFriseer how did it went?
We tested it for some hours and I have to admit that it really did a lot! It never ever went again over 75% of load and I even tried to stress test it by teleporting myself between different dimensions quite fast and it really worked perfectly fine so yeah. The 2 mods and the settings you suggested worked!
I'm glad 🙂
Do you use starlight?
Or a mod that optimizes lighting?
@EFriseer
If you don't then you should use starlight
It's pretty good
https://legacy.curseforge.com/minecraft/mc-mods/chunk-sending-forge-fabric and this mod
& from the same dev you could also try smooth chunk saving
No we don't use anything for lighting except dynamic lights
I'm gonna try all of those tomorrow
Dynamic lights? Lamb dynamic lights?
You know that mod is client side only right 😅
Coool
They're server side only
Clients do not need them
You use rubidium extras right?
And Rubidium aswell
Nice
No optifine then. That's good
So for shaders you're on oculus?
Or you don't like shaders
Yeah no optifine because it's incompatible with the version of Immersive Engeneering that the server has
I'd avoid optifine always
We have Oculus but I personally don't use them as my pc can't really handle much. Every shader just drops my fps to 30 or less
I see
What specs?
Ryzen 7 2700X, 16Gb 2400mhz, GTX1660 and obviously Minecraft an the system are in an SSD
I hope you did not placed rubidium or this mod in the server 😅😅😅
It's alrighty but the CPU
CPU is naaaahhh
Nope. It crashed the only time I forgot it on the server
Yeah I know
You should upgrade it
It's on the list of upgrades really needed
Sum Ryzen 5 5600X
Or something like that
The GPU still goes strong tho
I'm still deciding but I'll choose either a Ryzen 7 7700X3D or an I7 last gen
That's a good choice but.. won't the GPU bottleneck?
Not by much
You'll have to update mobo if you move to Intel
It will be fine as I mostly use MSFS and it requires quite a lot of CPU
I'll have to even for 7700X3D
Oh yeah that's true
I'm glad the 2012 Intel xeon is still rocking lol
Do you actually get 20 TPS?
What are TPS?
Ticks per second
20 is what u want
Oh Idk
Do you have spark?
It's a performance profiler
The console doesn't tell me it is running ticks behind so I guess so
No I don't
You should get it, it's good for profiling
E.g. you can use commands like
/spark tps
Spark Profiler
Spark can be used to see why your server or client is lagging.
https://spark.lucko.me/
Admincraft Canned Responses
Hey Carl
Oh I've seen this one before
Or
Spark health (to see memory usage and such)
Or
Spark gcmonitor (to see the collection rate of the garbage collector)
And the best one
Spark profiler start
The coolest one because it shows everything related to the server execution & the server settings
I could add them all tomorrow
& hardware + software stats
Yup