TickThreading - concurrent entity/tile entity ticks and other optimisations

nallar

New Member
Jul 29, 2019
270
0
0
Sure, I had to roll back to #834, but I have a spare server I can redeploy #877 to. I didn't see a PM from you though...?
BTW - to repatch to a different version, I need to start with a clean install each time, yes?
Can you try latest? Found an issue, not sure if it's the issue you're having, if it is it's fixed now.
 

TruculentMC

New Member
Jul 29, 2019
130
0
0
Sent you a PM, will update to #886 shortly and check.

edit: looks like 886 is eating memory too, with no one logged in:
Code:
5 mins after startup:
            total      used      free    shared    buffers    cached
Mem:      1526544    1513260      13284          0      4048    170396
-/+ buffers/cache:    1338816    187728
Swap:      2097148      10604    2086544
15 mins after startup:
            total      used      free    shared    buffers    cached
Mem:      1526544    1495228      31316          0        628      11360
-/+ buffers/cache:    1483240      43304
Swap:      2097148    165512    1931636

I noticed that profile c is giving wildly varying results in #877 if I specify 7 as the time parameter. It seems normal with other values or if I leave it unspecified.

Code:
profile c 0 0 9
2013-02-08 14:20:48 [INFO] [Minecraft] Profiling for 9 seconds in Overworld/0
2013-02-08 14:20:58 [INFO] [Minecraft] Obj | Max Time
2013-02-08 14:20:58 [INFO] [Minecraft]
2013-02-08 14:20:58 [INFO] [Minecraft]          Class | Total Time/Tick |      %
2013-02-08 14:20:58 [INFO] [Minecraft] item.EntityItem |          0.195 | 100.000
2013-02-08 14:20:58 [INFO] [Minecraft]          Class | Time/tick | Calls
2013-02-08 14:20:58 [INFO] [Minecraft] item.EntityItem |    0.003 |    68
profile c 0 0 4
2013-02-08 14:21:08 [INFO] [Minecraft] Profiling for 4 seconds in Overworld/0
2013-02-08 14:21:13 [INFO] [Minecraft] Obj | Max Time
2013-02-08 14:21:13 [INFO] [Minecraft]
2013-02-08 14:21:13 [INFO] [Minecraft]          Class | Total Time/Tick |      %
2013-02-08 14:21:13 [INFO] [Minecraft] item.EntityItem |          0.167 | 100.000
2013-02-08 14:21:13 [INFO] [Minecraft]          Class | Time/tick | Calls
2013-02-08 14:21:13 [INFO] [Minecraft] item.EntityItem |    0.003 |    50
profile c 0 0 7
2013-02-08 14:21:26 [INFO] [Minecraft] Profiling for 7 seconds in Overworld/0
2013-02-08 14:21:33 [INFO] [Minecraft] Obj | Max Time
2013-02-08 14:21:33 [INFO] [Minecraft]
2013-02-08 14:21:33 [INFO] [Minecraft]          Class |      Total Time/Tick |      %
[B]2013-02-08 14:21:33 [INFO] [Minecraft] item.EntityItem | 9223372036854775.807 | 100.000[/B]
2013-02-08 14:21:33 [INFO] [Minecraft]          Class | Time/tick | Calls
2013-02-08 14:21:33 [INFO] [Minecraft] item.EntityItem |    0.003 |    72
profile c 0 0
2013-02-08 14:21:48 [INFO] [Minecraft] Profiling for 7 seconds in Overworld/0
2013-02-08 14:21:56 [INFO] [Minecraft] Obj | Max Time
2013-02-08 14:21:56 [INFO] [Minecraft]
2013-02-08 14:21:56 [INFO] [Minecraft]          Class | Total Time/Tick |      %
2013-02-08 14:21:56 [INFO] [Minecraft] item.EntityItem |          0.023 | 100.000
2013-02-08 14:21:56 [INFO] [Minecraft]          Class | Time/tick | Calls
2013-02-08 14:21:56 [INFO] [Minecraft] item.EntityItem |    0.003 |    8
 

Jenral

New Member
Jul 29, 2019
13
0
0
It probably isn't, TT shouldn't cause rendering crashes. Was the person who got that error using optifine?

Myself and another user would both crash when ever we would get near his RedPower frame quarry. I don't know if he is using optifine but I am not. I suspected your mod because we only installed it a few hours ago, and the problem started happening after the last automatic server restart.
 

nallar

New Member
Jul 29, 2019
270
0
0
Myself and another user would both crash when ever we would get near his RedPower frame quarry. I don't know if he is using optifine but I am not. I suspected your mod because we only installed it a few hours ago, and the problem started happening after the last automatic server restart.
It might be causing the tileentity and block updates to get out of sync, so the client's sent a tile entity for the wrong block. Not sure, it's 4AM, I'll look into it tomorrow. Haven't had issues with frame quarries on ftb-craft, so it may be related to a specific block on the quarry.
 

Jenral

New Member
Jul 29, 2019
13
0
0
Could be related to timers. Another player had a problem with them in a different situation. He wasn't crashing though, he had to break and replace his timers.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
The crash with frame quarry's whereby you or any other player cannot get near it for crashing is caused I believe by using iron chests or wrath lamps on the frame quarry, you have to use wooden or enderchests.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
All I know is that it was the recommended build, Jenral will be able to tell you exactly.
 

nallar

New Member
Jul 29, 2019
270
0
0
Post #2: This crash is entirely unrelated to the past crash. It was tested using TT 917 on the same map as before. I was just flying around exploring the map and this happened.

http://pastebin.com/HFhdSV3q

This issue is fixed in latest.

The deadlock in post one wasn't actually a deadlock, looks like the server just took too long unloading a player. Increase the deadlock time in your config, maybe to a minute?

Some of the issues in post #1 are also fixed, but not the golem AI. I'll look into fixing that soon.

hm the spawn is bugged ? i have strange lag. see spawneranimals/searchchunkforspawn
http://img837.imageshack.us/img837/9296/20130211173426.png

Enable TT's fast spawning in its config. It also changes spawning behaviour, but it may be preferable to spending lots of time doing vanilla spawning.[DOUBLEPOST=1360603960][/DOUBLEPOST]
Pastebin.com/UV472Ujj

Need help. Thanks in advance
Looks like the server wasn't deadlocked, it just took too long to do something. Increase the deadlock time in TT's config.

I'll be increasing the default deadlock time, as multiple people have ran into it being too short.
 

HaoSs

New Member
Jul 29, 2019
290
0
0
i have that enabled. but it seems every time someone logs in. spawneranimals/searchchunkforspawn goes up. when i hit 20 players. the load starts to go pass 100 % and tps drops... if i don't limit the spawn number via aperf. the spawn count hits 10k animals.. i had pigs and cows everywhere

this does not happen every time. it goes up and down. now i have 17 players and the load is under 35 %
also the SpawnerAnimals/findChunksForSpawning is at 1296.310
 

nallar

New Member
Jul 29, 2019
270
0
0
You've probably limited the spawning too low with aperf, so it's constantly trying to spawn. Although at > 100% load it should have a 0.3x spawning multiplier, did you configure aperf so that nothing can spawn, or to completely block the spawning of a type of mob? In any case, 250ms is far too high so something odd must be happening.

I've made some tweaks in latest which may fix it.

Just ran into a new error using TT# 921

http://pastebin.com/WHmu0nei

and had a deadlock a few minutes later, set the deadlock time to 90 seconds.

http://pastebin.com/HpJygjvX
Fixed the second error in latest. The first is annoying, but shouldn't break anything. I'll look into it later.