3 ms·
RT tasks get prioritized over normal ones but only up to a configurable fraction of CPU time slices. If you need even more guarantees than that another option
by the8472 8y ago
RT tasks get prioritized over normal ones but only up to a configurable fraction of CPU time slices.
If you need even more guarantees than that another option is to pin tasks to a set of CPU cores to isolate workloads from each other. The kernel can also be told to not use certain cores for interrupt handling or kernel-internal tasks. So with some effort it's possible to almost entirely dedicate a core to a single thread.
- glenrivard 8y agoIn Zircon interrupt handlers can happen from user space. So you would have to make sure the process was not scheduled on a core you want no interrupt handlers scheduled.