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

HaoSs

New Member
Jul 29, 2019
290
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
 
Last edited:

Xile

New Member
Jul 29, 2019
100
0
0
^^^ my only bottleneck ATM is when people make tons and tons of machines...I'm talking hundreds in one base. And then they load them all up. And if multiple people do that at once it can hammer the CPU pretty bad. But with tickthreading that should remedy that for the most part. Also if you run into ram issues. Clearlagg has a nice feature called /lagg GC. It frees up tons of ram if u need. Can be run on a cronjob or something if needed.
 

HaoSs

New Member
Jul 29, 2019
290
0
0
depend on machines. sometimes a damn hopper uses more resources then a AE crafting system
 

Xile

New Member
Jul 29, 2019
100
0
0
depend on machines. sometimes a damn hopper uses more resources then a AE crafting system
Lol ikr. I've increased the ticks for hopper transfer to ease that a bit :p. But Yea. Sometimes...there will be a block lagging like crazy in opis. And breaking it and moving it to a different spot fixes it Lol.
 

iMontouch

New Member
Jul 29, 2019
147
0
0
I am not sure if this problem occured before, I searched for it, but found nothing.

I am playing the Beyond Reality pack. This is my start script:
Code:
#!/bin/bash
java -Xmx2G -XX:MaxPermSize=256M -jar ftbserverT.jar --serverJar=ftbserver.jar nogui
ftbserverT.jar is the newest TT jar. ftbserver.jar is the mcpc server jar from BR.

The server is running fine without using TT.

I think, that this is the part that is crashing it (since its the last thing before it shuts down):
http://pastebin.com/Z43Yk3Zp

Since the full logfile has 1,5 MB, I cant upload it to pastebin as one link. Therefore, Ive splitted it:
http://pastebin.com/A0RckrjK
http://pastebin.com/6FzrH2H2
http://pastebin.com/sd2JXhhH
http://pastebin.com/mnejuR9q

Thats all, I guess.. any help would be nice! :)
 

iShot

New Member
Jul 29, 2019
9
0
0
Does this TT work decent together with Agrarian Skies? Anyone experience?
Whill this give me te ability to find the chunks that have clogged impulse itemducts which causes the huge TPS drops?
 

HaoSs

New Member
Jul 29, 2019
290
0
0
no. it does not. i just said 2 post ago its in early alpha . You may want to try the tickprofiler part. ( you can find it separated from the mod ) or opis. to detect lag
 
Last edited:

iShot

New Member
Jul 29, 2019
9
0
0
no. id toes not. i just said 2 post ago its in early alpha . You may want to try the tickprofiler part. ( you can find it separated from the mod ) or opis. to detect lag
The problem is that backed up pipes/itemducts can't be found in opis, you can see that the tick handler is causing the lag but you're not able to see where most of the lag is comming from.
If you have any suggestion I'd be happy to hear about them!
 

HaoSs

New Member
Jul 29, 2019
290
0
0
well. it think is to late for you. But i use prism pcpc version to track place/break for items. You will probably need a wipe if you want this to work. Also you can only see the placed items. not the one that is " clogged " . you will have to TP to the item and test . with is not really a fix

Test tickprofiler . do a profile and post it on github for nallar to see. i may be able to update tickprofiler with a better way to detect the specific problem.
 

campermangreg

New Member
Jul 29, 2019
8
0
0
Does this work on Linux as i tried it using the recommended launch parameters and it worked fine on windows but didn't want to work on Linux :(
 

Trec93

New Member
Jul 29, 2019
24
0
0
I am so happy that you decided to continue working on the project!

you guys stop asking whether it works or not at the moment it's unstable don't expect anything at the moment, last thing you wanna do is complain.

Nallar you should add some donation button as I would like to donate something for your great work.