Problem Descent of the TPS. In Direwolf20 server [1.6.4]

Josecordob91

New Member
Jul 29, 2019
19
0
0
Good afternoon fellow.

Yesterday we opened our Direwolf20 [1.6.4] server, everything goes perfect, except that sometimes the TPS down to between 11-15.

The average online user is 15. When you run the / gc command returns the following information to us (with 11 people online):

Code:
27.03 19:27:35 [Server] INFO Nether "DIM-1": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO The End "DIM1": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "DIM-100": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "DIM-19": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "DIM7": 699 chunks, 384 entities, 740 tiles.
27.03 19:27:35 [Server] INFO World "DIM20": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "world": 3,234 chunks, 1,056 entities, 24,657 tiles.
27.03 19:27:35 [Server] INFO Free memory: 6,271 MB.
27.03 19:27:35 [Server] INFO Allocated memory: 9,733 MB.
27.03 19:27:35 [Server] INFO Maximum memory: 9,733 MB.
27.03 19:27:35 [Server] INFO Current TPS = 15.662
27.03 19:27:35 [Server] INFO Uptime: 1 hour 5 minutes 29 seconds


We are struck by the fact of "24,657 tiles" and believe that perhaps the reason for the decline of TPS.



These are the data from our server:

SO:
Debian 7 64Bits
CPU: 8x Intel Xeon E3-1245 V2 3.4Ghz
RAM: 12GB
Java 7 Last build
MCPC build: #251 (http://ci.md-5.net/job/MCPC-Plus-164/lastBuild/)

start command:

Code:
command = "{JAVA}" -d64 -server -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=32 -XX:+AggressiveOpts -XX:UseSSE=4 -XX:PermSize=128m -XX:MaxPermSize=256m -Xincgc -jar "{JAR}" nogui

Mods:

Code:
1.6.2_Jammy_Furniture_Mod_V4.5.zip
1.6.4-SortFix-1.0.jar
BILLUND1.01.zip
BiblioCraft[v1.5.5].zip
BiblioWoods[BiomesOPlenty][v1.3].zip
BiblioWoods[Forestry][v1.3].zip
BiblioWoods[Natura][v1.1].zip
BiomesOPlenty-universal-1.6.4-1.2.1.416.jar
Calclavia Core-1.1.1.160-main.jar
Carpenter's Blocks v2.0.4 - MC 1.6+.zip
CoFHCore-2.0.0.2.jar
CodeChickenCore 0.9.0.9.jar
ComputerCraft1.58.zip
DenPipes-1.6.4-2.1.18.jar
DenPipes-Emerald-1.6.4-1.1.6.jar
DenPipes-Forestry-1.6.4-1.1.8.jar
EnderStorage 1.4.3.6.jar
Evoc_1.0.0a.jar
Factorization-0.8.29.jar
ForgePerms-1.6.1.7 WithoutPEX.jar
Forge_NBTEditv1.6.4.0.zip
GateCopy-1.6.4-3.1.4.jar
GravityGun2.0.0.zip
HatStand2.1.0.zip
Hats2.1.4.zip
IC2NuclearControl-1.6.2e-ic2-experimental.zip
InfiniBows-1.6.4-universal-coremod-1.2.0.14.jar
InventoryTweaks-MC1.6.2-1.56-b77.jar
LogisticsPipes-MC1.6.4-0.7.4.dev.102.jar
MineFactoryReloaded-2.7.5-352.jar
MobiusCore_1.0.5.jar
Morph-Beta-0.7.1.zip
MyTown-1.6.1.16.jar
MyTownLib.jar
NEIPlugins-1.1.0.6.jar  
NotEnoughItems 1.6.1.9.jar
OpenBlocks-1.2.5.jar
OpenModsLib-0.2.jar
OpenPeripheral-0.2.1-preview8.jar  
OpenPeripheralCore-0.3.1.jar
Opis_1.1.3a_alpha.zip
PluginsforForestry-1.6.4-3.2.30.jar
PortalGun2.0.2.zip
PowerConverters-1.6.4-39.zip
PowerCrystalsCore-1.1.8-9.jar
ProjectRedBase-1.6.4-4.2.2.19.jar
ProjectRedCompat-1.6.4-4.2.2.19.jar
ProjectRedIntegration-1.6.4-4.2.2.19.jar
ProjectRedLighting-1.6.4-4.2.2.19.jar
ProjectRedMechanical-1.6.4-4.2.2.19.jar
ProjectRedWorld-1.6.4-4.2.2.19.jar
Railcraft_1.6.4-8.3.2.0.jar
RedstoneArsenal-1.0.0.0.jar
SGCraft-Reloaded-0.1.0-forge9.11.1.933-snapshot-82-patch-2.jar  
SoulShards-2.0.15-universal-srg.jar
StevesCarts2.0.0.b3.zip
TConstruct_mc1.6.4_1.5.2.6.jar
TMechworks_mc1.6.4_0.1.4.2.jar
Thaumcraft4.1.0e.zip
ThaumicTinkerer-2.3-103.jar
ThaumicTinkererKAMI_j6.jar
ThermalExpansion-3.0.0.2.jar
Translocator 1.1.0.15.jar
Universal-Electricity-3.1.0.54-core.jar
WR-CBE 1.4.0.7.jar
Waila_1.5.1a.zip
appeng-rv14-finale3-mc16x.jar
autoutils-1.6.4-1.0.1.jar
binnie-mods-1.8.0.jar
buildcraft-A-1.6.4-4.2.2.jar
buildcraft-Z-additional-buildcraft-objects-1.0.6.182.jar
compactsolars-universal-1.6.4-4.4.19.224.zip
denLib-1.6.4-3.1.35.jar
extrautils-1.0.3a.zip
flatsigns-1.6.2-universal-1.4.0.15.jar
forestry-A-2.3.1.1.jar
gregtechmod.zip
iChunUtil2.4.0.zip
industrialcraft-2_2.0.354-experimental.jar
ironchest-universal-1.6.4-5.4.1.702.zip
magicbees-2.1.11.jar
mod_AdvancedSolarPanels_3_4_7_IC_EXP.zip
mod_zGraviSuite_1_9_9a_MC_1_6_4_IC_EXP.zip
mystcraft-uni-1.6.4-0.10.12.01.zip.disabled
neiaddons-1.6.2-1.9.4.r51.jar
obsidiplates-1.6.2-universal-2.0.0.15.jar
qCraft1.02_mc164.zip
slick-util.jar
switches-1.6.4-universal-coremod-1.3.0.25.jar
twilightforest-1.20.2.jar
vending-1.6.4-1.1.1.jar

Plugins:
Code:
Announcer.jar
AuthMe.jar
BOSEconomy.jar
BanItem.jar
BiomeEdit-1.0.jar
Buycraft.jar
ChestShop.jar
ChunkKeeper_1.2b.jar
Citizens.jar
Clearlag.jar
CoreProtect_2.0.8.jar
Essentials.jar
EssentialsChat.jar
EssentialsSpawn.jar
FakeSlots.jar
ForgePermsCBBridge-1.1.15.jar
GameModeInventories.jar
InfinityDispenser.jar
JacobIRC-3.3.jar
Jobs.jar
KeepItems.jar
Lift.jar
Lockette.jar
PermissionsEx.jar
PickBoat-0.5.jar
PlayerHeads.jar
PluginReloader.jar
SafeCreeper.jar  
SimpleVoteListener.jar
Spectate.jar
TreeAssist.jar 
Vault.jar
Votifier.jar
WorldBorder.jar
WorldEdit.jar
WorldGuard.jar


Thanks in advance, regards, IFDS.[DOUBLEPOST=1395945698][/DOUBLEPOST]Otherwise, the only "strange" that we see in our Multicraft panel, is this message every X time:

Code:
[Server] INFO :[AbsorptionAmount:0.0,ActiveEffects:0 entries of type TAG_End,Age:0,Anger:0,AttackTime:0,Attributes:4 entries of type TAG_Compound,BatFlags:0,CanPickUpLoot:1,CustomName:,CustomNameVisible:0,DeathTime:0,DropChances:5 entries of type TAG_Float,Equipment:5 entries of type TAG_Compound,Fire:0,HealF:32767.0,Health:32767,HurtTime:0,Leashed:0,MorphNBTProtocolNumber:1,PersistenceRequired:1]
 

Josecordob91

New Member
Jul 29, 2019
19
0
0
Yes, yesterday started using OPIS, and we see nothing strange in the server. We may not find the region "overloaded".

Any other plugin / mod to help us?
 

Wagon153

New Member
Jul 29, 2019
3,148
-3
1
You say occasionally the TPS dips down. Does it stay down or does it go back up?
 

Josecordob91

New Member
Jul 29, 2019
19
0
0
It depends.

Sometimes we have 20 users online, and TPS are 20. Sometimes people TPS 17 down to 15, and up and down continuously between 20 and 15.

Although last night, 20 people online, the TPS remained 12-15.


Thanks for lending always helps.
 

Wagon153

New Member
Jul 29, 2019
3,148
-3
1
Perhaps they are generating chunks?
Although, 20000 tile entities is a lot. My server is between 2000-4000.
 

Josecordob91

New Member
Jul 29, 2019
19
0
0
What exactly are the tiles? Machines; blocks; signs?

To us it seems too many "tiles", but do not know how to control it.

That modpack using? Direwolf? How many people on your server online loaded 4000 "tiles"?
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
The very command you are using could drop the TPS slightly, check the TPS with /tps and see if it is as low. Gc runs the java garbage collector and causes lag as it clears up unused ram.[DOUBLEPOST=1396387859][/DOUBLEPOST]
What exactly are the tiles? Machines; blocks; signs?

To us it seems too many "tiles", but do not know how to control it.

That modpack using? Direwolf? How many people on your server online loaded 4000 "tiles"?
Tiles are thing in chests, items in inventory etc. tile entity.[DOUBLEPOST=1396387896][/DOUBLEPOST]However entities are mobs and stuff which is a more serious issue if you have a lot.
 

Josecordob91

New Member
Jul 29, 2019
19
0
0
The very command you are using could drop the TPS slightly, check the TPS with /tps and see if it is as low. Gc runs the java garbage collector and causes lag as it clears up unused ram.[DOUBLEPOST=1396387859][/DOUBLEPOST]
Tiles are thing in chests, items in inventory etc. tile entity.[DOUBLEPOST=1396387896][/DOUBLEPOST]However entities are mobs and stuff which is a more serious issue if you have a lot.

Yes, it's true. But how I can handle this, with +20 users online? There are times when I have loaded 5,000 chuncks , and 30,000 tiles.

The friend Wagon153 said to have between 2,000-4,000 tiles, we do not know how to do this.
 

Redruzerkruzer

New Member
Jul 29, 2019
147
0
1
Very odd, are you using SSD or HDD? If you are using a low-grade SSD, or a HDD, when players explore or teleport, this may cause the tps drop. As for opis, do /opis_start wait 250 ticks, then do /opis_te. Anything over 50 is not good. From what i see, you should not be having any tps drops due to those tile entities. They are not an issue as far as i can see. I know on my server i have loaded ~15k chunks and easily over 45k tile entities at once without a TPS drop. (Using better hardware, but what you have should be able to run what i run just fine, so im basing it off of this). Also, i suggest doubling your permgen allocation as i have found that it helps a lot.

On a side note: running the /gc command should not lag you at all. Nor should it cause freezing, crashing, or any affect to the client. It also certainly should not drop the TPS. /tps (From what i have tested) never works or gives an accurate reading. For example i did /tps, and it said 20. I did /gc and it said 17 (During an entity spike).

On another note: How the hell are you using 3.5 gigs of RAM? I sometimes run 30+ people on at once, and i barely use 2 gigs. Very good chance you have memory leaks which could be causing slight issues.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Very odd, are you using SSD or HDD? If you are using a low-grade SSD, or a HDD, when players explore or teleport, this may cause the tps drop. As for opis, do /opis_start wait 250 ticks, then do /opis_te. Anything over 50 is not good. From what i see, you should not be having any tps drops due to those tile entities. They are not an issue as far as i can see. I know on my server i have loaded ~15k chunks and easily over 45k tile entities at once without a TPS drop. (Using better hardware, but what you have should be able to run what i run just fine, so im basing it off of this). Also, i suggest doubling your permgen allocation as i have found that it helps a lot.

On a side note: running the /gc command should not lag you at all. Nor should it cause freezing, crashing, or any affect to the client. It also certainly should not drop the TPS. /tps (From what i have tested) never works or gives an accurate reading. For example i did /tps, and it said 20. I did /gc and it said 17 (During an entity spike).

On another note: How the hell are you using 3.5 gigs of RAM? I sometimes run 30+ people on at once, and i barely use 2 gigs. Very good chance you have memory leaks which could be causing slight issues.
I have a unleashed server using 24 GB of ram and a monster server using 9-15. What are you doing with 2? Also what plugin is that /gc command comming from? Gc should not give TPS, ever. It runs the java garbage collector. Now for a more accurate reading of you servers performance- run this command in SSH "htop" and post a pic here of what you see.
 

Redruzerkruzer

New Member
Jul 29, 2019
147
0
1
I have 16 gigs dedicated to my monster server, but i only use 2. And the /gc command comes from essentials. Which shows tps, enitities, uptime, mem usage, and loaded chunks for all worlds. All of which are accurate readings.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
For accurate ram usage use a server wrapper or the "top" command in ssh or "htop" depending on the OS, server wrappers, well most, use the same info from the top command which is a crap load more accurate then essentials.
Also the /tps command from bukkit/spigot/mcpc is a lot more accurate then essentials just because of the way the way it works. I'll leave google to explain why.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
I have tested it, and found that in my experience /tps is total BS and is never accurate.
You mean compared against essentials gc multi command for general use and decided to choose essentials because it does more? /tps is as accurate as your gonna get without external programs essentials was the one wrong.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Good afternoon fellow.

Yesterday we opened our Direwolf20 [1.6.4] server, everything goes perfect, except that sometimes the TPS down to between 11-15.

The average online user is 15. When you run the / gc command returns the following information to us (with 11 people online):

Code:
27.03 19:27:35 [Server] INFO Nether "DIM-1": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO The End "DIM1": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "DIM-100": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "DIM-19": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "DIM7": 699 chunks, 384 entities, 740 tiles.
27.03 19:27:35 [Server] INFO World "DIM20": 0 chunks, 0 entities, 0 tiles.
27.03 19:27:35 [Server] INFO World "world": 3,234 chunks, 1,056 entities, 24,657 tiles.
27.03 19:27:35 [Server] INFO Free memory: 6,271 MB.
27.03 19:27:35 [Server] INFO Allocated memory: 9,733 MB.
27.03 19:27:35 [Server] INFO Maximum memory: 9,733 MB.
27.03 19:27:35 [Server] INFO Current TPS = 15.662
27.03 19:27:35 [Server] INFO Uptime: 1 hour 5 minutes 29 seconds


We are struck by the fact of "24,657 tiles" and believe that perhaps the reason for the decline of TPS.



These are the data from our server:

SO:
Debian 7 64Bits
CPU: 8x Intel Xeon E3-1245 V2 3.4Ghz
RAM: 12GB
Java 7 Last build
MCPC build: #251 (http://ci.md-5.net/job/MCPC-Plus-164/lastBuild/)

start command:

Code:
command = "{JAVA}" -d64 -server -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=32 -XX:+AggressiveOpts -XX:UseSSE=4 -XX:PermSize=128m -XX:MaxPermSize=256m -Xincgc -jar "{JAR}" nogui

Mods:

Code:
1.6.2_Jammy_Furniture_Mod_V4.5.zip
1.6.4-SortFix-1.0.jar
BILLUND1.01.zip
BiblioCraft[v1.5.5].zip
BiblioWoods[BiomesOPlenty][v1.3].zip
BiblioWoods[Forestry][v1.3].zip
BiblioWoods[Natura][v1.1].zip
BiomesOPlenty-universal-1.6.4-1.2.1.416.jar
Calclavia Core-1.1.1.160-main.jar
Carpenter's Blocks v2.0.4 - MC 1.6+.zip
CoFHCore-2.0.0.2.jar
CodeChickenCore 0.9.0.9.jar
ComputerCraft1.58.zip
DenPipes-1.6.4-2.1.18.jar
DenPipes-Emerald-1.6.4-1.1.6.jar
DenPipes-Forestry-1.6.4-1.1.8.jar
EnderStorage 1.4.3.6.jar
Evoc_1.0.0a.jar
Factorization-0.8.29.jar
ForgePerms-1.6.1.7 WithoutPEX.jar
Forge_NBTEditv1.6.4.0.zip
GateCopy-1.6.4-3.1.4.jar
GravityGun2.0.0.zip
HatStand2.1.0.zip
Hats2.1.4.zip
IC2NuclearControl-1.6.2e-ic2-experimental.zip
InfiniBows-1.6.4-universal-coremod-1.2.0.14.jar
InventoryTweaks-MC1.6.2-1.56-b77.jar
LogisticsPipes-MC1.6.4-0.7.4.dev.102.jar
MineFactoryReloaded-2.7.5-352.jar
MobiusCore_1.0.5.jar
Morph-Beta-0.7.1.zip
MyTown-1.6.1.16.jar
MyTownLib.jar
NEIPlugins-1.1.0.6.jar 
NotEnoughItems 1.6.1.9.jar
OpenBlocks-1.2.5.jar
OpenModsLib-0.2.jar
OpenPeripheral-0.2.1-preview8.jar 
OpenPeripheralCore-0.3.1.jar
Opis_1.1.3a_alpha.zip
PluginsforForestry-1.6.4-3.2.30.jar
PortalGun2.0.2.zip
PowerConverters-1.6.4-39.zip
PowerCrystalsCore-1.1.8-9.jar
ProjectRedBase-1.6.4-4.2.2.19.jar
ProjectRedCompat-1.6.4-4.2.2.19.jar
ProjectRedIntegration-1.6.4-4.2.2.19.jar
ProjectRedLighting-1.6.4-4.2.2.19.jar
ProjectRedMechanical-1.6.4-4.2.2.19.jar
ProjectRedWorld-1.6.4-4.2.2.19.jar
Railcraft_1.6.4-8.3.2.0.jar
RedstoneArsenal-1.0.0.0.jar
SGCraft-Reloaded-0.1.0-forge9.11.1.933-snapshot-82-patch-2.jar 
SoulShards-2.0.15-universal-srg.jar
StevesCarts2.0.0.b3.zip
TConstruct_mc1.6.4_1.5.2.6.jar
TMechworks_mc1.6.4_0.1.4.2.jar
Thaumcraft4.1.0e.zip
ThaumicTinkerer-2.3-103.jar
ThaumicTinkererKAMI_j6.jar
ThermalExpansion-3.0.0.2.jar
Translocator 1.1.0.15.jar
Universal-Electricity-3.1.0.54-core.jar
WR-CBE 1.4.0.7.jar
Waila_1.5.1a.zip
appeng-rv14-finale3-mc16x.jar
autoutils-1.6.4-1.0.1.jar
binnie-mods-1.8.0.jar
buildcraft-A-1.6.4-4.2.2.jar
buildcraft-Z-additional-buildcraft-objects-1.0.6.182.jar
compactsolars-universal-1.6.4-4.4.19.224.zip
denLib-1.6.4-3.1.35.jar
extrautils-1.0.3a.zip
flatsigns-1.6.2-universal-1.4.0.15.jar
forestry-A-2.3.1.1.jar
gregtechmod.zip
iChunUtil2.4.0.zip
industrialcraft-2_2.0.354-experimental.jar
ironchest-universal-1.6.4-5.4.1.702.zip
magicbees-2.1.11.jar
mod_AdvancedSolarPanels_3_4_7_IC_EXP.zip
mod_zGraviSuite_1_9_9a_MC_1_6_4_IC_EXP.zip
mystcraft-uni-1.6.4-0.10.12.01.zip.disabled
neiaddons-1.6.2-1.9.4.r51.jar
obsidiplates-1.6.2-universal-2.0.0.15.jar
qCraft1.02_mc164.zip
slick-util.jar
switches-1.6.4-universal-coremod-1.3.0.25.jar
twilightforest-1.20.2.jar
vending-1.6.4-1.1.1.jar

Plugins:
Code:
Announcer.jar
AuthMe.jar
BOSEconomy.jar
BanItem.jar
BiomeEdit-1.0.jar
Buycraft.jar
ChestShop.jar
ChunkKeeper_1.2b.jar
Citizens.jar
Clearlag.jar
CoreProtect_2.0.8.jar
Essentials.jar
EssentialsChat.jar
EssentialsSpawn.jar
FakeSlots.jar
ForgePermsCBBridge-1.1.15.jar
GameModeInventories.jar
InfinityDispenser.jar
JacobIRC-3.3.jar
Jobs.jar
KeepItems.jar
Lift.jar
Lockette.jar
PermissionsEx.jar
PickBoat-0.5.jar
PlayerHeads.jar
PluginReloader.jar
SafeCreeper.jar 
SimpleVoteListener.jar
Spectate.jar
TreeAssist.jar
Vault.jar
Votifier.jar
WorldBorder.jar
WorldEdit.jar
WorldGuard.jar


Thanks in advance, regards, IFDS.[DOUBLEPOST=1395945698][/DOUBLEPOST]Otherwise, the only "strange" that we see in our Multicraft panel, is this message every X time:

Code:
[Server] INFO :[AbsorptionAmount:0.0,ActiveEffects:0 entries of type TAG_End,Age:0,Anger:0,AttackTime:0,Attributes:4 entries of type TAG_Compound,BatFlags:0,CanPickUpLoot:1,CustomName:,CustomNameVisible:0,DeathTime:0,DropChances:5 entries of type TAG_Float,Equipment:5 entries of type TAG_Compound,Fire:0,HealF:32767.0,Health:32767,HurtTime:0,Leashed:0,MorphNBTProtocolNumber:1,PersistenceRequired:1]
This is a bit out there but if you are still having issues you could disable opis as it causes some minor lag. Bbt if you could run "htop" in ssh and post the pic here of it.