TickThreading - concurrent entity/tile entity ticks and other optimisations

saki2fifty

New Member
Jul 29, 2019
73
0
0
Howdy all! So what mods are compatible with the newest 1.6.4 version? Same as the 1.5.2 version? Is there a specific FTB modpack that you write TT against?

Also, I noticed that on the main TT page, you are supported 1.6 and 1.4.7, but not 1.5.2 any longer... too many problems or just no longer working???

So I might end up doing some tests with the newest and posting the results here...
 

HaoSs

New Member
Jul 29, 2019
290
0
0
there was no version for 1.5.2 . for 1.4.7 TT was made mostly for ultimate, but should work on any pack from ftb. 1.6.4 should also work on all packs.
 

saki2fifty

New Member
Jul 29, 2019
73
0
0
@nallar

Also Nallar, can you add a feature to disable TT completely (if not already) but still able to use the profiler? I ask because I would like to test my server with and without TT to compare the performance before and after help from TT...

Thx!
 

saki2fifty

New Member
Jul 29, 2019
73
0
0
there was no version for 1.5.2 . for 1.4.7 TT was made mostly for ultimate, but should work on any pack from ftb. 1.6.4 should also work on all packs.
:) Actually, there was a version for 1.5.2... I did a lot of testing with that version and posted the results many months back and it was his primary version back then (you can still see the link on OP)... but for some reason he is now no longer supporting it. It seemed very stable and I rarely ran into any problems with it.

So how is 1.6.4... pretty stable?[DOUBLEPOST=1403276230][/DOUBLEPOST]Just looking at his builds regarding 1.5.2, and looks like he stopped working on it a year ago, then made one more build last month with lots of fixes... and apparently all those fixes broke it.
 

HaoSs

New Member
Jul 29, 2019
290
0
0
@nallar

Also Nallar, can you add a feature to disable TT completely (if not already) but still able to use the profiler? I ask because I would like to test my server with and without TT to compare the performance before and after help from TT...

Thx!
you can find only the TT profiler on his build server
 

nallar

New Member
Jul 29, 2019
270
0
0
memory leak ?????

Code:
/usr/bin/java -Xms5120M -Xmx5120M -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=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc -jar mcpc-plus-1.6.4-R2.1-forge965-B262.jar nogui

>12:11:32 [INFO] [Uptime: [ 8 hours 3 minutes 55 seconds [m
>12:11:32 [INFO] [Current TPS = [19.99 [m
>12:11:32 [INFO] [Maximum memory: [4,864 MB. [m
>12:11:32 [INFO] [Allocated memory: [4,864 MB. [m
>12:11:32 [INFO] [Free memory: [2,888 MB. [m

12:18:19 [INFO] CONSOLE issued server command: /uptime
>12:18:19 [INFO] [Uptime: [ 8 hours 10 minutes 42 seconds [m
>12:18:19 [INFO] [Current TPS = [19.97 [m
>12:18:19 [INFO] [Maximum memory: [ 4,864 MB. [m
>12:18:19 [INFO] [Allocated memory: [ 4,864 MB. [m
>12:18:19 [INFO] [Free memory: [m 3,140 MB. [m

you can't make this shit up.

8 plyers on at this time
>12:18:19 [INFO] [Free memory: [m 3,140 MB. [m

Java likes to go up to Xmx even when it doesn't need it, and never frees it. Set Xmx to 3G and it'll probably still work, as you were only using 2G at that point.

edit: Oh, should also mention I won't be working on TT properly either for a while, or ever.

Full-time work over the summer, followed by uni.
 
Last edited:

nallar

New Member
Jul 29, 2019
270
0
0
I've updated the main post to make it more obvious that this is no longer being worked on. I will be making the patcher available as a separate mod for anyone who still needs to use it to patch broken mods, but doesn't want TickThreading.
 

Slind

Well-Known Member
Mar 8, 2013
492
73
53
I've updated the main post to make it more obvious that this is no longer being worked on. I will be making the patcher available as a separate mod for anyone who still needs to use it to patch broken mods, but doesn't want TickThreading.
will you continue the TickProfiler? I know there is opis as replacement but only caused issued from build to build and seems to be frozen for months.
 

nallar

New Member
Jul 29, 2019
270
0
0
will you continue the TickProfiler? I know there is opis as replacement but only caused issued from build to build and seems to be frozen for months.
I hadn't realised that Opis was discontinued, I will update it but probably not add any new features.
 

nallar

New Member
Jul 29, 2019
270
0
0
do you have other project on mind ? or total brake MC stuff :)
Nothing definite just now, I would like to help develop Sponge.

There's a chance I'll create another less ambitious performance mod which doesn't attempt to thread everything, but don't be sad if it never shows up.

I'd also like to try to actually make a proper mod at some point instead of just modding other mods, although that depends on having a good idea for something to do.
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
"Only pain and misery lies this way. Do not try to make a program not designed to be threadsafe threadsafe using only runtime bytecode patching."

Haha, who would have guessed! Thanks for all the hard work, it did sound like an ambitious project.
 

Xaero252

New Member
Jul 29, 2019
10
0
0
How well is TickThreading working with TestPackPleaseIgnore?
I'm trying to get things set up, but I get a crash when players attempt to connect:
Code:
09-22 00:27:38 [INFO] [Minecraft] /192.168.1.187:54551 lost connection
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerChest
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerHopper
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerFurnace
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerDispenser
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerBrewingStand
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerBeacon
09-22 00:27:40 [INFO] [ForgeModLoader] InvTweaks: net.minecraft.inventory.ContainerMerchant
09-22 00:27:40 [INFO] [Minecraft] Xaero252[/192.168.1.187:54552] logged in with entity id 262 at ([world] -250.5, -1.0, -217.5)
09-22 00:27:40 [INFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
09-22 00:27:41 [SEVERE] [ForgeModLoader] Encountered an unexpected exceptionExceptionInInitializerError
java.lang.ExceptionInInitializerError
        at net.minecraft.server.management.ServerConfigurationManager.func_72355_a(ServerConfigurationManager.java:162)
        at net.minecraft.network.NetLoginHandler.completeConnection(NetLoginHandler.java:223)
        at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:168)
        at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:121)
        at net.minecraft.network.NetLoginHandler.func_72529_d(NetLoginHandler.java:198)
        at net.minecraft.network.NetLoginHandler.func_72532_c(NetLoginHandler.java:82)
        at net.minecraft.server.ServerListenThread.func_71766_a(ServerListenThread.java:57)
        at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:36)
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:396)
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:331)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:275)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:164)
        at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: chatSpamThresholdCount
        at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.<init>(AtomicIntegerFieldUpdater.java:284)
        at java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater(AtomicIntegerFieldUpdater.java:76)
        at net.minecraft.network.NetServerHandler.<clinit>(NetServerHandler.java:169)
        ... 13 more
Caused by: java.lang.NoSuchFieldException: chatSpamThresholdCount
        at java.lang.Class.getDeclaredField(Class.java:1948)
        at java.util.concurrent.atomic.AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl.<init>(AtomicIntegerFieldUpdater.java:278)
        ... 15 more
09-22 00:27:41 [SEVERE] [Minecraft] This crash report has been saved to: /home/beast/tppi/./crash-reports/crash-2014-09-22_00.27.41-server.txt
09-22 00:27:41 [INFO] [TickThreading] Saving all player data.
09-22 00:27:41 [INFO] [TickThreading] Done saving player data, now saving 2 worlds.
09-22 00:27:41 [INFO] [TickThreading] World save completed, flushing world data to disk.
09-22 00:27:41 [INFO] [TickThreading] Flushed world data to disk.
09-22 00:28:18 [INFO] [Minecraft] Read timed out
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
How well is TickThreading working with TestPackPleaseIgnore?
I'm trying to get things set up, but I get a crash when players attempt to connect:
TickThreading has always been broken to some degree, it was certainly never ready for 1.6.4 and never will be.