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
Admincraft Meta
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
1who¡ssus?
1who¡ssus?2y ago
@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
ProGamingDk
ProGamingDk2y ago
clock speed doesnt really matter in itself but yeah thats a shitty cpu
1who¡ssus?
1who¡ssus?2y ago
I'm judging on the year
ProGamingDk
ProGamingDk2y ago
have u pregenned?
1who¡ssus?
1who¡ssus?2y ago
You pregenerated terrain?
ProGamingDk
ProGamingDk2y ago
@EFriseer
1who¡ssus?
1who¡ssus?2y ago
Oh my we thought of the same thing
EFriseer
EFriseerOP2y ago
No I didn't
1who¡ssus?
1who¡ssus?2y ago
Then you should
ProGamingDk
ProGamingDk2y ago
u should
1who¡ssus?
1who¡ssus?2y ago
I did this on a server even on a 9th gen i9 which is a pretty good processor
EFriseer
EFriseerOP2y ago
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
1who¡ssus?
1who¡ssus?2y ago
You're on modded?
EFriseer
EFriseerOP2y ago
Yes
1who¡ssus?
1who¡ssus?2y ago
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
ProGamingDk
ProGamingDk2y ago
^^
1who¡ssus?
1who¡ssus?2y ago
What's your host?
EFriseer
EFriseerOP2y ago
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
1who¡ssus?
1who¡ssus?2y ago
Interesting Yea
EFriseer
EFriseerOP2y ago
I limited the chunks to 8 and that helped a bit That's something I'm gonna have to look at.
1who¡ssus?
1who¡ssus?2y ago
Actually what's your version
EFriseer
EFriseerOP2y ago
Of Minecraft?
1who¡ssus?
1who¡ssus?2y ago
Yeah
EFriseer
EFriseerOP2y ago
1.19.2 Forge
1who¡ssus?
1who¡ssus?2y ago
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
EFriseer
EFriseerOP2y ago
To be more precise Forge 1.19.2-43.2.8
1who¡ssus?
1who¡ssus?2y ago
And the sync thing to false
EFriseer
EFriseerOP2y ago
Ok. I'm gonna edit those and I'll tell you if I see any difference
1who¡ssus?
1who¡ssus?2y ago
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.
EFriseer
EFriseerOP2y ago
Idk about the ones on the list but I'm using some mods that claim to reduce the load but it's meh.
1who¡ssus?
1who¡ssus?2y ago
Oh sorry it actually does have many mods for forge What mods?
EFriseer
EFriseerOP2y ago
I don't remember all of them but one is Ferrite Core
1who¡ssus?
1who¡ssus?2y ago
That mod is based on memory optimizations It's good
EFriseer
EFriseerOP2y ago
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
1who¡ssus?
1who¡ssus?2y ago
That's it
EFriseer
EFriseerOP2y ago
It's at 4
1who¡ssus?
1who¡ssus?2y ago
Isn't that client side tho 😅 That mod stops rendering entities behind walls
EFriseer
EFriseerOP2y ago
🤔 might be Dimensional Threading Reforged and Fastload from this list seems useful
1who¡ssus?
1who¡ssus?2y ago
I haven't tried dimensional threading, make a backup just in case but if it works it'll help a lot
EFriseer
EFriseerOP2y ago
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%
1who¡ssus?
1who¡ssus?2y ago
Glad to hear that
EFriseer
EFriseerOP2y ago
I have a question now... What Simulation Distance exactly does and would it be even better if I set it to 1?
1who¡ssus?
1who¡ssus?2y ago
Min is 3
Discount Milk
Discount Milk2y ago
Simulation distance is the area around the players in which game logic is allowed to happen In number of chunks
1who¡ssus?
1who¡ssus?2y ago
Like ticking
Discount Milk
Discount Milk2y ago
Exactly
1who¡ssus?
1who¡ssus?2y ago
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
EFriseer
EFriseerOP2y ago
We have chunk loaders yet 🙃 And there are around 10 or 15 active
1who¡ssus?
1who¡ssus?2y ago
Okey @EFriseer how did it went?
EFriseer
EFriseerOP2y ago
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!
1who¡ssus?
1who¡ssus?2y ago
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
EFriseer
EFriseerOP2y ago
No we don't use anything for lighting except dynamic lights I'm gonna try all of those tomorrow
1who¡ssus?
1who¡ssus?2y ago
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
1who¡ssus?
1who¡ssus?2y ago
You use rubidium extras right?
EFriseer
EFriseerOP2y ago
And Rubidium aswell
1who¡ssus?
1who¡ssus?2y ago
Nice No optifine then. That's good So for shaders you're on oculus? Or you don't like shaders
EFriseer
EFriseerOP2y ago
Yeah no optifine because it's incompatible with the version of Immersive Engeneering that the server has
1who¡ssus?
1who¡ssus?2y ago
I'd avoid optifine always
EFriseer
EFriseerOP2y ago
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
1who¡ssus?
1who¡ssus?2y ago
I see What specs?
EFriseer
EFriseerOP2y ago
Ryzen 7 2700X, 16Gb 2400mhz, GTX1660 and obviously Minecraft an the system are in an SSD
1who¡ssus?
1who¡ssus?2y ago
I hope you did not placed rubidium or this mod in the server 😅😅😅 It's alrighty but the CPU CPU is naaaahhh
EFriseer
EFriseerOP2y ago
Nope. It crashed the only time I forgot it on the server Yeah I know
1who¡ssus?
1who¡ssus?2y ago
You should upgrade it
EFriseer
EFriseerOP2y ago
It's on the list of upgrades really needed
1who¡ssus?
1who¡ssus?2y ago
Sum Ryzen 5 5600X Or something like that The GPU still goes strong tho
EFriseer
EFriseerOP2y ago
I'm still deciding but I'll choose either a Ryzen 7 7700X3D or an I7 last gen
1who¡ssus?
1who¡ssus?2y ago
That's a good choice but.. won't the GPU bottleneck?
EFriseer
EFriseerOP2y ago
Not by much
1who¡ssus?
1who¡ssus?2y ago
You'll have to update mobo if you move to Intel
EFriseer
EFriseerOP2y ago
It will be fine as I mostly use MSFS and it requires quite a lot of CPU I'll have to even for 7700X3D
1who¡ssus?
1who¡ssus?2y ago
Oh yeah that's true I'm glad the 2012 Intel xeon is still rocking lol Do you actually get 20 TPS?
EFriseer
EFriseerOP2y ago
What are TPS?
ProGamingDk
ProGamingDk2y ago
Ticks per second 20 is what u want
EFriseer
EFriseerOP2y ago
Oh Idk
1who¡ssus?
1who¡ssus?2y ago
Do you have spark? It's a performance profiler
EFriseer
EFriseerOP2y ago
The console doesn't tell me it is running ticks behind so I guess so No I don't
1who¡ssus?
1who¡ssus?2y ago
You should get it, it's good for profiling E.g. you can use commands like /spark tps
Carl-bot
Carl-bot2y ago
Spark Profiler
Spark can be used to see why your server or client is lagging. https://spark.lucko.me/
From An unknown user
Admincraft Canned Responses
1who¡ssus?
1who¡ssus?2y ago
Hey Carl
EFriseer
EFriseerOP2y ago
Oh I've seen this one before
1who¡ssus?
1who¡ssus?2y ago
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
EFriseer
EFriseerOP2y ago
I could add them all tomorrow
1who¡ssus?
1who¡ssus?2y ago
& hardware + software stats Yup

Did you find this page helpful?