DefaultEcs
DefaultEcs copied to clipboard
find out why ASystem runs like crap with multithreading on my phone (except when there is a debugger)
Seem to be related to DVFS
playing around with SpinCount of the WorkerBarrier ManualResetEventSlim did not change anything.
have you found root cause? I may look into in some time at future.
what are steps for repro?
guess, there is to much parallelism(up to for loop like spins)? may some primitives on mono are badly written?
I only observe this problem when running on my phone or my surface go when they are unplugged. I should be able to create a small project showing this when I get back in a couple of day if you are interested. The tasks take forever to execute while there is almost nothing to process, as if the mobile cpu were severly underclocked (but ut run fine in mono thread). Using thread or thread pool didn't change anything.