-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededspice: 🌶️🌶️Expected difficulty: mediumExpected difficulty: mediumw̷̞̋h̴̞́a̴͉͒t̵̳̏?̴͉̔?̵̣͛?̶̻̅I don't even know what is happening!I don't even know what is happening!
Description
Currently, we run all ML on the Compute pool, but as slow models can run over multiple cycles, we ideally want them to be executed from the AsyncCompute pool. This in theory also makes sure that the Compute pool keeps low contention and we miss our control cycle deadline (82Hz/12ms) less. However, when we actually make this change we see our cycle time shoot up to almost 30ms in Rerun.
Current ideas:
- It could be that the
AsyncComputepool is out of threads and these blocking tasks create a giant backlog. Would it make sense to instead spawn them inside theblockingcrate'sblocking::unblock?
Investigation tips:
sindri run --timingsflag to look at profiler output- Task pool thread division can be configured in bevy
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededspice: 🌶️🌶️Expected difficulty: mediumExpected difficulty: mediumw̷̞̋h̴̞́a̴͉͒t̵̳̏?̴͉̔?̵̣͛?̶̻̅I don't even know what is happening!I don't even know what is happening!