Problem Mindcrack and TPS

  • 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

powergitt

New Member
Jul 29, 2019
28
0
0
Hey

I've been running a server for quite some while. We recently had a bunch of performance issues on the server. I tried to combat the lag as good as I could, but the tickrate was nowhere near 20.

Today, I got the new hardware for the server, intel 4770k and was hoping for a big boost in performance. The server seems to run fine, but the tickrate is still pritty low, it varies from 12 to 17, not 20.

So my question is, am I doing some fundamentally wrong? There is about 20 players on my server. Some of them are pritty advanced and have a lot of machines.

A little more info on software and hardware:
Intel(R) Core(TM) i7-4770K
16 GB Ram
Ubuntu 13.04 Server (no gui)
Java version: 1.7.0 u21

ServerStart.sh:
Code:
java -server -Xmn2G -Xms8G -Xmx14G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp mcpc.jar -jar mcpc.jar

I also tried to install nallars tick profiler to see if there was something spesific, the only thing i can find is the "generic pipe" and straw golem, but I have no idea where they are...
Code:
                  Single Entity | Time/Tick |    %
  TileEntityRouter -104,52,-29:0 |    1.307 | 1.450
factory.TilePump -802,97,227:-1 |    1.008 | 1.118
TileLogicPointer 1323,47,-1798:0 |    0.568 | 0.631
factory.TilePump 113,49,-818:-1 |    0.487 | 0.541
TileLogicPointer 563,36,-2176:0 |    0.483 | 0.536
  Chunk | Time/Tick |    %
  -7, -2 |    1.657 | 1.838
79, -119 |    1.435 | 1.593
80, -121 |    1.257 | 1.395
79, -121 |    1.182 | 1.312
78, -119 |    1.114 | 1.237
All Entities of Type | Time/Tick |    %
    TileGenericPipe |    8.435 | 9.360
    EntityGolemStraw |    6.996 | 7.764
    machine.TileTube |    6.884 | 7.640
  TileConduitLiquid |    4.399 | 4.881
    TileLogicPointer |    4.170 | 4.627
  Average Entity of Type | Time/tick | Calls
        EntityGolemStraw |    0.292 |  6504
      EntityMiningLaser |    0.215 |  116
        factory.TilePump |    0.096 |  5691
  player.EntityPlayerMP |    0.047 |  4607
GT_TileEntity_ChargeOMat |    0.025 |  542
 
Unless you actually know what those extra parameters in your startup file do, you don't need them. Java usually defaults to the options best suited for your needs.

Try this: java -server -Xms14G -Xmx14G -jar mcpc.jar nogui
 
I'm having exactly the same problem as you, looking at my TPS chart it fluctuates a lot and I cannot find the source of the lag.

We have TickThreading installed, but it doesn't seem to make much of a difference.

If anyone has some tips or a solution, I'd love to hear it.
 
Do you have the same script I have in my above comment? I edited it to add the nogui part, I found that can cause a bit of lag and spikes in CPU usage.