New server arguments

  • 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

solidmoose

New Member
Jul 29, 2019
27
0
0
Hey guys, my friends and I started an attack of the B team server a few days ago and it's loads of fun.(I know its not a FTB modpack, but it still uses a majority of the same mods and I like you guys better than the technic forum :D) Since I'm the one who manages and runs the server, I was wondering if there were some better JVM arguments I could add to the startup file, as the server tps is always from 25-30 on a server with around 5 people. The server specs are as follows:


CPU Intel® Core™ i5-3570S @ 3.10GHz
Disks 1 x 1000GB SATA
RAM 2 x 8192 MB
OS Ubuntu 14.04 LTS



It's a dedicated server from Kimsufi hosted in Canada. Before this server, I ran a few FTB packs, including TPPI and my tps was always around 10 even with a couple more people online. The FTB servers had JVM arguments added to the startup but I can't find which ones I used. Thanks in advance guys.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Server TPS doesn't drop below 20 until time per tick is 50ms. Can you please share the following:

The exact contents of your startup file.

Your Cauldron version if applicable.

What version of Java you are running.
 

solidmoose

New Member
Jul 29, 2019
27
0
0
Server TPS doesn't drop below 20 until time per tick is 50ms. Can you please share the following:

The exact contents of your startup file.

Your Cauldron version if applicable.

What version of Java you are running.

Startup file
java -Xms2048M -Xmx7168M -XX:permSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:+BindGCTaskThreadsToCPUs -jar BTeam.jar nogui

no MCPC+/Cauldron

Java version from console
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)


5 players online at the moment and here's the tps
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim 21 : Mean tick time: 0.103 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim 9 : Mean tick time: 0.022 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim -38 : Mean tick time: 0.014 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim -127 : Mean tick time: 0.013 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim -1 : Mean tick time: 0.891 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim 1 : Mean tick time: 0.019 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim -100 : Mean tick time: 0.015 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Dim 0 : Mean tick time: 24.243 ms. Mean TPS: 20.000
2014-07-10 23:48:22 [INFO] [Minecraft-Server] Overall : Mean tick time: 31.297 ms. Mean TPS: 20.000
As you can see, its a bit high. This is only our 3rd day of playing so there are no huge builds or insane amount of machines or anything really. mostly just wood and stone buildings and such.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
I would suggest getting rid of those special JVM arguments for now and sticking with this unless you notice a very large difference:

Code:
java -server -Xms2048M -Xmx7168M -XX:PermSize=256m -XX:+DisableExplicitGC -jar BTeam.jar nogui

You may want to try Cauldron to see how much it improves TPS.

Lastly, if you don't have Opis installed, install it and run it. Its great for pinpointing source of tick lag.
 

solidmoose

New Member
Jul 29, 2019
27
0
0
I would suggest getting rid of those special JVM arguments for now and sticking with this unless you notice a very large difference:

Code:
java -server -Xms2048M -Xmx7168M -XX:PermSize=256m -XX:+DisableExplicitGC -jar BTeam.jar nogui

You may want to try Cauldron to see how much it improves TPS.

Lastly, if you don't have Opis installed, install it and run it. Its great for pinpointing source of tick lag.

Thanks. I'll try those arguments now. I've installed opis on the server and I run it regularly. I'll look into Cauldron
 

solidmoose

New Member
Jul 29, 2019
27
0
0
I would suggest getting rid of those special JVM arguments for now and sticking with this unless you notice a very large difference:

Code:
java -server -Xms2048M -Xmx7168M -XX:PermSize=256m -XX:+DisableExplicitGC -jar BTeam.jar nogui
You may want to try Cauldron to see how much it improves TPS.

Lastly, if you don't have Opis installed, install it and run it. Its great for pinpointing source of tick lag.


So I've been using those args that you suggested all day today and the tps is relatively unchanged. When no one is on it goes down to 5 so there's not something wrong with it. Its just when people log in it shoots back up to 25-30 and the lag does get noticeable at times. Here's a tps report with two people logged in doing normal things like building their houses and stuff.

Code:
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -100 : Mean tick time: 0.094 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 21 : Mean tick time: 0.022 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -127 : Mean tick time: 0.016 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -38 : Mean tick time: 0.016 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 9 : Mean tick time: 0.016 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -1 : Mean tick time: 0.963 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -28 : Mean tick time: 5.656 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 1 : Mean tick time: 0.027 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 0 : Mean tick time: 12.646 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Overall : Mean tick time: 24.870 ms. Mean TPS: 20.000
I really don't know what's up with these numbers. I ran opis and there's really nothing that's causing any problems at all. My only conclusion would be that I need some different args. I had this same problem before. High tps constantly, and I can't for the life of me remember what arguments I used. They were perfect. Ran tppi pack at 11 mean tick time with 5-10 people online.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
So I've been using those args that you suggested all day today and the tps is relatively unchanged. When no one is on it goes down to 5 so there's not something wrong with it. Its just when people log in it shoots back up to 25-30 and the lag does get noticeable at times. Here's a tps report with two people logged in doing normal things like building their houses and stuff.

Code:
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -100 : Mean tick time: 0.094 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 21 : Mean tick time: 0.022 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -127 : Mean tick time: 0.016 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -38 : Mean tick time: 0.016 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 9 : Mean tick time: 0.016 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -1 : Mean tick time: 0.963 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim -28 : Mean tick time: 5.656 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 1 : Mean tick time: 0.027 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Dim 0 : Mean tick time: 12.646 ms. Mean TPS: 20.000
2014-07-12 00:21:39 [INFO] [Minecraft-Server] Overall : Mean tick time: 24.870 ms. Mean TPS: 20.000
I really don't know what's up with these numbers. I ran opis and there's really nothing that's causing any problems at all. My only conclusion would be that I need some different args. I had this same problem before. High tps constantly, and I can't for the life of me remember what arguments I used. They were perfect. Ran tppi pack at 11 mean tick time with 5-10 people online.

Well those times are not that bad honestly, 20TPS across the board. I would guess its a difference between the B-Team pack and TPPI. When you ran Opis, what where the results? Any particular chunks causing issues, a significant amount of entities laying around? Try switching the server to peaceful for an hour or two and see how that works.
 

solidmoose

New Member
Jul 29, 2019
27
0
0
Well those times are not that bad honestly, 20TPS across the board. I would guess its a difference between the B-Team pack and TPPI. When you ran Opis, what where the results? Any particular chunks causing issues, a significant amount of entities laying around? Try switching the server to peaceful for an hour or two and see how that works.

Code:
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -100 : Mean tick time: 0.122 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 21 : Mean tick time: 0.021 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -127 : Mean tick time: 180.135 ms. Mean TPS: 5.551
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -38 : Mean tick time: 0.047 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 9 : Mean tick time: 0.019 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -1 : Mean tick time: 0.700 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -28 : Mean tick time: 0.044 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 1 : Mean tick time: 0.017 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -29 : Mean tick time: 0.027 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 0 : Mean tick time: 17.954 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Overall : Mean tick time: 203.214 ms. Mean TPS: 4.921

See, this is what I don't understand. There are 3 players online and none of them are exploring or doing anything intensive, but the mean tick time is insane.
 

Jammie

New Member
Jul 29, 2019
133
0
0
Code:
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -100 : Mean tick time: 0.122 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 21 : Mean tick time: 0.021 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -127 : Mean tick time: 180.135 ms. Mean TPS: 5.551
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -38 : Mean tick time: 0.047 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 9 : Mean tick time: 0.019 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -1 : Mean tick time: 0.700 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -28 : Mean tick time: 0.044 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 1 : Mean tick time: 0.017 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim -29 : Mean tick time: 0.027 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Dim 0 : Mean tick time: 17.954 ms. Mean TPS: 20.000
2014-07-12 05:22:48 [INFO] [Minecraft-Server] Overall : Mean tick time: 203.214 ms. Mean TPS: 4.921

See, this is what I don't understand. There are 3 players online and none of them are exploring or doing anything intensive, but the mean tick time is insane.

It's DIM -127 doing it. I'm not familiar with the pack but I would try taking a backup of that dim then resetting it to see if it fixes the problem. May I ask what dimesion that is? I know Attack Of The B Team has Galaticraft in it, which wasn't included in FTB packs for it's potential to create TPS issues.
 
  • Like
Reactions: Wagon153