arne schober
152872a3ae
FEM - Linux Desktop Platform is still inlining (DLL)EXPORT marked functions, therefor we prevent inlining on all Destop Platforms
...
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18705977 via CL 18705984 via CL 18705985 via CL 18706158 via CL 18706183 via CL 18706254
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18706276 by arne schober in ue5-main branch]
2022-01-24 02:44:43 -05:00
arne schober
0599bc1541
FEM - Move GetActiveTask as it is a Property of the Task.
...
#preflight trivial
#ROBOMERGE-OWNER: arne.schober
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18705843 via CL 18705878 via CL 18705880 via CL 18705980 via CL 18705982 via CL 18706248
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18706268 by arne schober in ue5-main branch]
2022-01-24 02:44:12 -05:00
arne schober
a261a4f55b
FEM - Using the Concurrent Linear Allocator in multiple TaskGraph related systems to reduce Memory fragmentation, hitches and provide a slight performance boost.
...
#RB Ben.Woodhouse, Danny.Couture
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18673418 via CL 18673478 via CL 18673481 via CL 18674312 via CL 18674344 via CL 18674390
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)
[CL 18679696 by arne schober in ue5-main branch]
2022-01-20 15:21:08 -05:00
arne schober
b0eabe8570
REL - Automatically Inherit Task Properties
...
#preflight 61ce97074c0560d4d0da3935
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 18498256 in //UE5/Release-5.0/... via CL 18498258
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)
[CL 18498259 by arne schober in ue5-release-engine-test branch]
2021-12-31 00:52:19 -05:00
catalin dragoiu
9b4d51dda0
Make the TaskId from TaskTrace 64 bit. Breaks compatibility with older traces containing Task events.
...
#jira UE-136060,UE-135668
#rb Andriy.Tylychko
#preflight 61af651c370808520303356a
#ROBOMERGE-AUTHOR: catalin.dragoiu
#ROBOMERGE-SOURCE: CL 18394965 in //UE5/Release-5.0/... via CL 18394982
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)
[CL 18394994 by catalin dragoiu in ue5-release-engine-test branch]
2021-12-07 10:07:15 -05:00
andriy tylychko
1fe69b04c3
cosmetic: replaced FThread constructor parameter bool bIsForkable by more explicit enum EForkable
...
#preflight 61ae305a0263140fa8a5c4cc
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 18383183 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v896-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
[CL 18383202 by andriy tylychko in ue5-release-engine-test branch]
2021-12-06 11:23:40 -05:00
jeanfrancois dube
9a24033623
GC optimization: delay call to FMemory::Trim after unhashing is done instead of doing it right after the reachability pass, and also don't wait on memory trimming task thread to finish.
...
This has the side-effect of releasing unused OS pages to the next GC (since they are released from the per-thread calls to FlushCurrentThreadCache, but doesn't has a noticeable impact on internal demo.
In practice, this makes FMemory::Trim detached from the GC reachability pass, and takes ~4ms instead of ~10-50ms depending on the other threads workload.
Original code by PJ.Kack.
#rb kenzo.terelst, richard.malo
#lockdown jeff.farris
#preflight 61697646823b7b0001acfb3a
#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 17829574 via CL 18002912 via CL 18368846 via CL 18368871
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
[CL 18368879 by jeanfrancois dube in ue5-release-engine-test branch]
2021-12-03 10:48:40 -05:00
andriy tylychko
f4d171806c
TaskGraph: starting reserve workers regardless if GConfig is already initialized or not
...
#jira UE-135569
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 18257764 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
[CL 18257778 by andriy tylychko in ue5-release-engine-test branch]
2021-11-22 09:16:44 -05:00
andriy tylychko
2f50e97a6a
config option to disable reserve workers. reserve workers don't provide any perf improvement on consoles so are disabled by default
...
#rb francis.hurteau
#preflight 6194e42be05315f64f00b96c
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 18221777 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
[CL 18221791 by andriy tylychko in ue5-release-engine-test branch]
2021-11-17 06:50:32 -05:00
andriy tylychko
587844fc00
TaskGraph: fixed WaitUntilTasksComplete to tolerate null tasks
...
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 17816950 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v881-17767770)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0
[CL 17816965 by andriy tylychko in ue5-release-engine-test branch]
2021-10-14 11:40:03 -04:00
aurel cordonnier
a12d56ff31
Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
...
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485
[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
andriy tylychko
d44e571545
fixed reserve workers stalling on exit
...
[FYI] arne.schober
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 17628182 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
[CL 17628190 by andriy tylychko in ue5-release-engine-test branch]
2021-09-27 04:46:56 -04:00
devin doucette
b06c7a60f1
Experimental UE::FLazyEvent that allocates an event only when necessary
...
#rb Andriy.Tylychko
#preflight 6148ec33286e3b0001f0f2b9
#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 17608991 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)
[CL 17608999 by devin doucette in ue5-release-engine-test branch]
2021-09-23 11:48:38 -04:00
arne schober
398721f211
U5 - adding extra verfication constraints.
...
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 17543261 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
[CL 17543280 by arne schober in ue5-release-engine-test branch]
2021-09-16 15:26:30 -04:00
arne schober
db71e3f7cb
U5 - fix cases of early drowsing state.
...
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 17542302 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
[CL 17542308 by arne schober in ue5-release-engine-test branch]
2021-09-16 14:26:58 -04:00
arne schober
5360e123e0
U5 - try to have workers go into drowsing early so that when wakup occurs we don't have to hard trigger sleeping workers instead.
...
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 17534653 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
[CL 17534665 by arne schober in ue5-release-engine-test branch]
2021-09-16 02:42:49 -04:00
andriy tylychko
d7b45a28dc
Tasks: traced waiting, plus a minor refactoring
...
#ROBOMERGE-SOURCE: CL 17318026 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)
[CL 17318048 by andriy tylychko in ue5-release-engine-test branch]
2021-08-26 10:48:23 -04:00
dan phillips
71c34f44a4
Add thread priority defaults for Task and TaskBP threads
...
#jira none
[FYI] ben.woodhouse
#ROBOMERGE-SOURCE: CL 17119067 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)
#ROBOMERGE[bot1]: dev-enginemerge-test
[CL 17119075 by dan phillips in ue5-release-engine-test branch]
2021-08-10 13:06:56 -04:00
dan phillips
eb2aa73d60
Add setting of affinity and priority for the task graph when starting workers
...
#jira none
#ROBOMERGE-SOURCE: CL 17089496 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)
#ROBOMERGE[bot1]: dev-enginemerge-test
[CL 17089520 by dan phillips in ue5-release-engine-test branch]
2021-08-06 18:20:25 -04:00
andriy tylychko
f70ac54143
the fix proposed by Arne Schober to match reserve worker's priority to the priority of the blocked worker it's replacing
...
[FYI] arne.schober
#jira UE-119594
#ROBOMERGE-SOURCE: CL 17081478 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)
[CL 17081501 by andriy tylychko in ue5-release-engine-test branch]
2021-08-06 06:39:47 -04:00
arne schober
ef56d89c0c
fix macos alignment restrictions
...
#ROBOMERGE-SOURCE: CL 17046482 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v848-17036448)
[CL 17046492 by arne schober in ue5-release-engine-test branch]
2021-08-04 00:54:37 -04:00
arne schober
78eac24afe
Implemented Taskaffinity to launch a job on a specific worker. This uses a seperate queue for every worker to work. We had to introduce an extra sleeping state to ensure that the worker will try to check the queues again without necessarily adding itself again to the sleepstack when drowsing.
...
Also fixing some issues with the throttle stealing that could lead to drowsing workers not properly waking up in certain situations.
#ROBOMERGE-SOURCE: CL 17044019 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v848-17036448)
[CL 17044020 by arne schober in ue5-release-engine-test branch]
2021-08-03 21:00:54 -04:00
christopher waters
9d45f03ead
Allowing configuration of Task priorities from configs.
...
#jira none
#rb Andriy.Tylychko, Ben.Woodhouse
#preflight 6102efe84cd7930001c05a98
#ROBOMERGE-SOURCE: CL 17016621 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)
#ROBOMERGE[bot1]: EMT
[CL 17016639 by christopher waters in ue5-release-engine-test branch]
2021-08-02 11:41:36 -04:00
christopher waters
72b7e407d7
Setting correct background task affinities.
...
#jira none
#rb arne.schober
#preflight 60fb28225eeb86000108d6bb
#ROBOMERGE-SOURCE: CL 16945775 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
#ROBOMERGE[bot1]: Dev-PerfTest
[CL 16945783 by christopher waters in ue5-release-engine-test branch]
2021-07-23 23:59:21 -04:00
andriy tylychko
d336789bd1
TaskGraph: fixed Oodle texture compression on low core count machines when the new scheduler wasn't picking up all tasks (courtesy of Arne Schober)
...
[FYI] Zousar.Shaker
[FYI] arne.schober
#jira UE-119594
#ROBOMERGE-SOURCE: CL 16922241 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)
[CL 16922250 by andriy tylychko in ue5-release-engine-test branch]
2021-07-22 07:06:03 -04:00