TickThreading - concurrent entity/tile entity ticks and other optimisations

  • 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

Kusinagie

New Member
Jul 29, 2019
10
0
0
Hmm didn't work for me Nallar, I'm on windows if that matters.
what I've done is come up with this:
Note:Starting and stopping the server is not something i want to do with this though its probably easy to add in if you like.
Also I'm not auto downloading the mod from the net though if you like you can probably add that in as well.
Another also, this bat is set up to be in the same folder as the server jar. Then i just made a shortcut on the desktop
@echo off
set serverFolder=%~dp0
::%~dp0 Somehow says hey this is the bat file's path location
@echo on
del "%serverFolder%\mods\TickThreading.jar"
::deletes your current version of TickThreading
del /q "%serverFolder%\patchedMods\"
::deletes everything in the Patched folder
copy "C:\The file\Path were\You downloaded\Latest version\TickThreading.jar" "%serverFolder%\mods\"
PATCHME.cmd
::Now it runs the patchme for the new version, still need to hit enter when its done though
::Not sure if i can auto do that need to look more online

I know i don't really need to delete the patchedmods contents, but i had an issue a while back when i updated and the solution was to delete the patched mods and re-ptach. So now i do it everytime just as a safeguard.
 

saki2fifty

New Member
Jul 29, 2019
73
0
0
I see two files for downloading, and am curious what the difference is.

TickThreading-1.4.7-1.0.0.1870.jar and
TickThreading.jar

I assume the first one is for v.1.4.7 (let me know if not), but what is the other one?
 

nallar

New Member
Jul 29, 2019
270
0
0
Hmm didn't work for me Nallar, I'm on windows if that matters.
what I've done is come up with this:
Note:Starting and stopping the server is not something i want to do with this though its probably easy to add in if you like.
Also I'm not auto downloading the mod from the net though if you like you can probably add that in as well.
Another also, this bat is set up to be in the same folder as the server jar. Then i just made a shortcut on the desktop
@echo off
set serverFolder=%~dp0
::%~dp0 Somehow says hey this is the bat file's path location
@echo on
del "%serverFolder%\mods\TickThreading.jar"
::deletes your current version of TickThreading
del /q "%serverFolder%\patchedMods\"
::deletes everything in the Patched folder
copy "C:\The file\Path were\You downloaded\Latest version\TickThreading.jar" "%serverFolder%\mods\"
PATCHME.cmd
::Now it runs the patchme for the new version, still need to hit enter when its done though
::Not sure if i can auto do that need to look more online

I know i don't really need to delete the patchedmods contents, but i had an issue a while back when i updated and the solution was to delete the patched mods and re-ptach. So now i do it everytime just as a safeguard.

Mine won't work on windows, would need to change the ':'s to ';'s, and run it under a cygwin shell.[DOUBLEPOST=1371322400][/DOUBLEPOST]
Ah, ok so I guess this never happened then... :)

Changed the plan to get 1.4.7 stable first, as many people are still using it.
 

Robbo905

New Member
Jul 29, 2019
170
0
0
Can you explain how TT's alternative mob spawning works? Spawn eggs, /spawnmob commands and some normal spawning (especially prevalent in the End) seems to be not working, as if the server was in Peaceful mode. I was wondering if TT's mob spawning method might conflict with another mod or plugin? Thanks.
 

nallar

New Member
Jul 29, 2019
270
0
0
Can you explain how TT's alternative mob spawning works? Spawn eggs, /spawnmob commands and some normal spawning (especially prevalent in the End) seems to be not working, as if the server was in Peaceful mode. I was wondering if TT's mob spawning method might conflict with another mod or plugin? Thanks.

There's a bug which causes mobs to despawn when near to creative mode players, not sure what's causing it.
 

nallar

New Member
Jul 29, 2019
270
0
0
Can you explain how TT's alternative mob spawning works? Spawn eggs, /spawnmob commands and some normal spawning (especially prevalent in the End) seems to be not working, as if the server was in Peaceful mode. I was wondering if TT's mob spawning method might conflict with another mod or plugin? Thanks.

Found the problem, should be fixed in latest.
 

cpy

New Member
Jul 29, 2019
42
0
0
So in 1.4.7 v1.0.0.1927
If it is still for 1.4.7 then i have this error when using wand of equal trade form thaumcraft

Code:
[SEVERE] [TickThreading] Recursive TC add.
java.lang.Throwable
    at thaumcraft.common.WorldTicker.addSwapper(WorldTicker.java)
    at thaumcraft.common.items.wands.ItemWandTrade.onBlockStartBreak(ItemWandTrade.java:88)
    at ir.b(ItemInWorldManager.java:296)
    at ir.a(ItemInWorldManager.java:205)
    at iv.a(NetServerHandler.java:510)
    at ei.a(SourceFile:46)
    at cg.i(TcpConnection.java:347)
    at cg.readNetworkPacket(TcpConnection.java:71)
    at ch.run(ReplaceTcpReaderThread.java:22)
 

Slind

Well-Known Member
Mar 8, 2013
492
73
53
Does someone now if it is better to use one AMD FX-8350 or two AMD Opteron 4284 with tick threading ?
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Does someone now if it is better to use one AMD FX-8350 or two AMD Opteron 4284 with tick threading ?


I can't comment on which one is best for Tick Threading exactly, but I would go with the Opteron's myself. They are Bulldozer processors, quite powerful and thats a total of 16 cores, if you have enough RAM and quite fast storage you could run more than 1 FTB server on that hardware.

Edit: Brand new those are $300 US processors, if you don't already have a board to match, this is basically top of the line. http://www.newegg.ca/Product/Product.aspx?Item=N82E16813182318 Just remember good server quality parts are going to end up costing you double or triple what desktop memory would, but you get some insane performance.
 

nallar

New Member
Jul 29, 2019
270
0
0
So in 1.4.7 v1.0.0.1927
If it is still for 1.4.7 then i have this error when using wand of equal trade form thaumcraft

Code:
[SEVERE] [TickThreading] Recursive TC add.
java.lang.Throwable
    at thaumcraft.common.WorldTicker.addSwapper(WorldTicker.java)
    at thaumcraft.common.items.wands.ItemWandTrade.onBlockStartBreak(ItemWandTrade.java:88)
    at ir.b(ItemInWorldManager.java:296)
    at ir.a(ItemInWorldManager.java:205)
    at iv.a(NetServerHandler.java:510)
    at ei.a(SourceFile:46)
    at cg.i(TcpConnection.java:347)
    at cg.readNetworkPacket(TcpConnection.java:71)
    at ch.run(ReplaceTcpReaderThread.java:22)

The 1.5.2 bulds are a) still broken, b) on a separate part of the build service.

That was a TT bug, fixed in latest.
 

tiff

New Member
Jul 29, 2019
164
0
0
Thank you nallar this is running great on my ultimate server now not sure why mobs we not responding but i seem to have fixed the issue, or rather you did lol
 

saki2fifty

New Member
Jul 29, 2019
73
0
0
Releasing the first 1.5.2 build today. It will not work. :)
The 1.5.2 bulds are a) still broken, b) on a separate part of the build service.

Awesome! Even if it's broke for now, it's great that we know you're working on it. Gonna create another VM to test this out... and will be watching the updates! Best news yet today.

I'm curious though what performance gains other server admin's are getting with real world players by using 1.4.7.

What is your top player count, entity count, etc? Do you ever experience any "lag" as a player? etc. What are your server specs? I have an enterprise class server that i'm using that I feel (know) is not being utilized.

.
 

cpy

New Member
Jul 29, 2019
42
0
0
I never had many player on my server so i never went above 20% of cpu usage.
 

saki2fifty

New Member
Jul 29, 2019
73
0
0
Another question... With all of the updates / fixes that you have been applying, are those things already fixed in 1.5.2? Will both versions be updated when there is an update?

Thx!
 

Jared39

New Member
Jul 29, 2019
125
0
0
Every 5 minutes to 10 seconds of a person joining my server it says the world is unstable and closes server. I don't know what is going on and I can't post an error because it gives no errors! I tried looking in the config but there is no option on closing server if world becomes unstable. I don't have where it is supposed to shutdown on Deadlock and I don't think it is a deadlock.

Please help because this will really help my server but I just can't have it shutting down all the time.
 

nallar

New Member
Jul 29, 2019
270
0
0
Every 5 minutes to 10 seconds of a person joining my server it says the world is unstable and closes server. I don't know what is going on and I can't post an error because it gives no errors! I tried looking in the config but there is no option on closing server if world becomes unstable. I don't have where it is supposed to shutdown on Deadlock and I don't think it is a deadlock.

Please help because this will really help my server but I just can't have it shutting down all the time.

There is an error, the server shuts down because a world is unstable only if worlds repeatedly fail to tick, and in that case it should have logged an error hundreds of times. Paste a full console log, logging must be broken if there's no error.[DOUBLEPOST=1371598065][/DOUBLEPOST]
Another question... With all of the updates / fixes that you have been applying, are those things already fixed in 1.5.2? Will both versions be updated when there is an update?

Thx!

Any fixes which apply to both 1.4.7 and 1.5.2 will be included in both.