Mass Entity Processors not processing in parallel ?

Nerbert Fekkes
Fri, 15 Sep 2023 13:13:55 +0000
AI

Hello!

We’re using Mass Entities at the moment and while looking into optimizing the performance of this (as some processors were taking a lot of time), we noticed that the execution of this isn’t really done in parallel.

We’ve spotted bAllowParallelExecution, which can be set via the commandline arguments (e.g. “ParallelMassQueries=…”), but in the code the settings aren’t used at all.
It used to be handled in FMassEntityQuery::ParallelForEachEntityChunk, but this seems to have been removed in 5.1.
Can someone tell us why this was removed or if this has been refactored into something else?

Any insight/tips on what we could do to ensure we are running these processors in parallel as much as possible is very much welcome. (for example, is it possible to have huge amounts of entities being processed on multiple threads rather than having all handled on one thread?).

2 posts - 2 participants