First off:
- RAM: 32 gb RAM corsair vengeance
- Samsung SSD 970 EVO plus running on NVME M.2
So i wanted to make a server where me and my 2-3 friends could play together. I have a server running on the same computer that i am playing Minecraft.
I am experiencing lag in the forms of rubber banding, and "Cant keep up!" when just standing still/loading chunks (moving and exploring new dimensions etc.) Our overworld is skyblock and even then the server displays "Cant keep up! running 7742 ticks behind!"
I have been reading alot on forums and chats and basically done everything - from downloading mods that can help with performance to giving the server more ram.
I stumbled upon a reddit thread that was talking about JDK server istead of regular java (https://old.reddit.com/r/feedthebea...a_vms_and_you_how_to_reduce_your_ram_and_cpu/) - so i siwtched to that - saw a little bit of performance boost but not much
server is currently running with these arguments on a bat file:
:START
@Echo off
java -server -Xincgc -Xmx25G -Xms25G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XXarallelGCThreads=2 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp ftbserver.jar -jar ftbserver.jar nogui
echo Type R to restart or Q to quit.
choice /c rq /n /t 10 /d R
if %errorlevel%==1 echo Restarting server... &goto :start
The last arguments are for easy efficient server restart instead of closing and re-opening the cmd. UwU
I have also switched to JDK as i mentioned.
link: https://adoptopenjdk.net/
( i downloaded OpenJDK 8 (LTS) OpenJ9 version)
I also have played around with server.properties and changed view-distance from 20 to 10
My internet speed is also good, i am running fiber optics so my speedtest is:
3 PING
508 Mbps download
332 Mbps upload
Still i got a bunch of lag and rubberbanding on the server...
I have lately been trying pregenerating chunks - which is basically a way to load chunks before the player has to play on the server for example.
this makes playing on new dimensions and exploring less laggy because the chunks are already loaded...
I used this mod for that: https://www.curseforge.com/minecraft/mc-mods/chunkpregenerator
I figured it would help so i just put it on for a few nights to load all the dimensions we were playing. But i still experienced some lag and "Cant keep up" messages... and thats driving me crazy...
We have been on the server for a while and made a few contraptions and machines - so it might be that but i am not sure...
I figured since i have almost 30 gb allocated to the server and that i have preloaded chunks aswell as run the server with parameters then it will work smoothly..
Is there anything that im missing?
DOes anyone have any tips to what i can add/remove/change to the server as a whole to make it run smoother?
If you want any more info i am more than happy to provide them!
ty
- I'm Running windows 10
- Using my computer to host minecraft server
- Project Ozone version: PO3-3.1.45Aserver
- FTB Version: 14.23.5.2847
- I have added Vanillafix and Chunk-pregenerator to help with performance, along with other mods
- Server specs are:
- RAM: 32 gb RAM corsair vengeance
- Samsung SSD 970 EVO plus running on NVME M.2
So i wanted to make a server where me and my 2-3 friends could play together. I have a server running on the same computer that i am playing Minecraft.
I am experiencing lag in the forms of rubber banding, and "Cant keep up!" when just standing still/loading chunks (moving and exploring new dimensions etc.) Our overworld is skyblock and even then the server displays "Cant keep up! running 7742 ticks behind!"
I have been reading alot on forums and chats and basically done everything - from downloading mods that can help with performance to giving the server more ram.
I stumbled upon a reddit thread that was talking about JDK server istead of regular java (https://old.reddit.com/r/feedthebea...a_vms_and_you_how_to_reduce_your_ram_and_cpu/) - so i siwtched to that - saw a little bit of performance boost but not much
server is currently running with these arguments on a bat file:
:START
@Echo off
java -server -Xincgc -Xmx25G -Xms25G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XXarallelGCThreads=2 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp ftbserver.jar -jar ftbserver.jar nogui
echo Type R to restart or Q to quit.
choice /c rq /n /t 10 /d R
if %errorlevel%==1 echo Restarting server... &goto :start
The last arguments are for easy efficient server restart instead of closing and re-opening the cmd. UwU
I have also switched to JDK as i mentioned.
link: https://adoptopenjdk.net/
( i downloaded OpenJDK 8 (LTS) OpenJ9 version)
I also have played around with server.properties and changed view-distance from 20 to 10
My internet speed is also good, i am running fiber optics so my speedtest is:
3 PING
508 Mbps download
332 Mbps upload
Still i got a bunch of lag and rubberbanding on the server...
I have lately been trying pregenerating chunks - which is basically a way to load chunks before the player has to play on the server for example.
this makes playing on new dimensions and exploring less laggy because the chunks are already loaded...
I used this mod for that: https://www.curseforge.com/minecraft/mc-mods/chunkpregenerator
I figured it would help so i just put it on for a few nights to load all the dimensions we were playing. But i still experienced some lag and "Cant keep up" messages... and thats driving me crazy...
We have been on the server for a while and made a few contraptions and machines - so it might be that but i am not sure...
I figured since i have almost 30 gb allocated to the server and that i have preloaded chunks aswell as run the server with parameters then it will work smoothly..
Is there anything that im missing?
DOes anyone have any tips to what i can add/remove/change to the server as a whole to make it run smoother?
If you want any more info i am more than happy to provide them!
ty