2 ms·
On Linux you can guarantee (with some effort) that your process / thread will be the only thing running on a core. There's a boot parameter that will let you b
by mtanski 10y ago
On Linux you can guarantee (with some effort) that your process / thread will be the only thing running on a core.
There's a boot parameter that will let you black list CPUs on which to not schedule anything (by default). Then you use tasksel to schedule your process there as well. Finally, you can configure IRQ affinity so also doesn't handle interrupts on that core. It's not a 100% non pre-emptive but pretty close.
I believe there was work being to enable it to be even more accurately 100 but I haven't followed along.