DW 20 1.10 on Ubuntu 16.04 performance issues

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

FocalFury

New Member
Jul 29, 2019
25
0
0
Hi all,
I have a DW20 1.10 instance set up on a Ubuntu 16.04 virtual machine. I've given it 4 cores and 8GB of RAM for starters.

I'm noticing that there is very high lag when loading new chunks, noticeable to fellow players where blocks delay in breaking.

Using htop I notice that really there is only ever 1 core that will spike and max out, the rest do nothing. It would make sense that this is where the lag is coming from.

Are there any arguments/parameters to include in the serverstart.sh or any tips that someone could offer to improve performance.

Seems to be a lack of linux info but I'm hoping someone can steer me in the right direction.

Let me know if you need any extra information.
 
Minecraft is single threaded and thus Will only use 1 thread Most of the Time.
The garbage collector May Run on a seperate thread though.

How much ram does the vm has and how much of that is allocated to the server?
 
I think there will always be lag when generating chunks. But how many other VMs are you running and what the host server's CPU specs? You have to keep in mind that with VMs you are not giving 100% of CPU core to minecraft and if you have other VMs running they will also want their share of CPU.

I don't run any VMs on my server and I still get chunk generation lag and it is dedicated server box out of OVH.com. I'm running an Intel Xeon E3 at 3.2GHz w/32 GB RAM and raid 0 config on some SSD drives and I still get generation lag. BTW: It depends on the pack but with the 1.10 packs I've giving minecraft 6GB.
 
I think there will always be lag when generating chunks. But how many other VMs are you running and what the host server's CPU specs? You have to keep in mind that with VMs you are not giving 100% of CPU core to minecraft and if you have other VMs running they will also want their share of CPU.

I don't run any VMs on my server and I still get chunk generation lag and it is dedicated server box out of OVH.com. I'm running an Intel Xeon E3 at 3.2GHz w/32 GB RAM and raid 0 config on some SSD drives and I still get generation lag. BTW: It depends on the pack but with the 1.10 packs I've giving minecraft 6GB.
Definitely not coming close to maxing any specs. There are plenty of VM's but I'm a Network Admin and we're not close to any type of limits.
I will probably just pregenerate the world
 
Additionally to pregenerating the world I can also recommend changing the java arguments, the ones that ship with the pack are rather outdated and used to be good when java7 was still a thing
I'm using these myself

Code:
-XX:+AggressiveOpts -XX:+UseLargePages -XX:+UseG1GC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=3
 
  • Like
Reactions: Marenthyu
Additionally to pregenerating the world I can also recommend changing the java arguments, the ones that ship with the pack are rather outdated and used to be good when java7 was still a thing
I'm using these myself

Code:
-XX:+AggressiveOpts -XX:+UseLargePages -XX:+UseG1GC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=3

Thanks to this!
I've been having these Issues for a while now with 1.10 servers and so far, adding these arguments seem to have fixed it. (running Ubuntu trusty, 14.04)