Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

1.16.1 Server performance question/problems


Recommended Posts

Hello,

 

Im running at my Home a Linux server just for minecraft and a teamspeak. 

 

Im running atm a Modpack called Valhelsia 3 at minecraft version 1.16.1 and forge version 32.0.108.

 

Server specs:

2x Xeon x5670

48GB RAM

300GB SSD

2TB HDD

 

Startarguments for my start script:

java -jar -Xms40G -Xmx40G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch forge-1.16.1-32.0.108.jar nogui

 

My question im still getting can´t keep up messages with that hardware o.O i upgraded 1 cpu and 24 gb ram today to get sure its not because low hardware.

 

Can someone help me getting the JVM arguments right or is it just because minecraft in 1.16.1 is not capable of running a modded server?

 

Some Lines Out of the debug.log

[21Oct2020 12:15:41.072] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2003ms or 40 ticks behind
[21Oct2020 12:15:59.123] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2004ms or 40 ticks behind
[21Oct2020 12:16:25.973] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2004ms or 40 ticks behind
[21Oct2020 12:16:47.928] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2009ms or 40 ticks behind
[21Oct2020 12:17:05.067] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2148ms or 42 ticks behind
[21Oct2020 12:17:22.508] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2489ms or 49 ticks behind
[21Oct2020 12:17:46.172] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2003ms or 40 ticks behind
[21Oct2020 12:18:03.687] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2518ms or 50 ticks behind
[21Oct2020 12:18:21.160] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2491ms or 49 ticks behind
[21Oct2020 12:18:38.876] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2757ms or 55 ticks behind
[21Oct2020 12:19:12.127] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2358ms or 47 ticks behind
[21Oct2020 12:19:31.251] [Server thread/DEBUG] [net.minecraftforge.fml.FMLWorldPersistenceHook/WP]: Gathering id map for writing to world save world
[21Oct2020 12:19:33.881] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 6761ms or 135 ticks behind
[21Oct2020 12:20:18.423] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2004ms or 40 ticks behind
[21Oct2020 12:20:36.176] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2007ms or 40 ticks behind
[21Oct2020 12:20:53.908] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2739ms or 54 ticks behind

 

Sry 4 my English

 

BG Leon

 

 

 

Link to post
Share on other sites

40GB Java heap is something that even professional Java enterprise server managers don't often do.

If you give Java 40GB of Heap it also has to clean up 40GB of heap ("garbage collection"). Such a large heap requires special (and expensive) garbage collection algorithms, which you don't get in the normal JVM.

I would highly recommend to tone it done to something below 10 at most.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.