4 ms·
In embedded systems we often want to dedicate one core to the safety critical parts. It is a major bug if that core is every more than 40% busy (exact number va
by bluGill 6y ago
In embedded systems we often want to dedicate one core to the safety critical parts. It is a major bug if that core is every more than 40% busy (exact number varies, the important part is to leave plenty of headroom in case the real world is more complex than your test situations). We don't care is the ui core gets busy and as a result has lag. (sometimes there is safety ui running on the not busy core)
- c0l0 6y agoYou can to that on Linux today quite easily. All one has to do is booting the kernel with an appropriate "isolcpus"-parameter on its cmdline, and then "manually" scheduling processes onto the isolated cores/CPUs.
- richardwhiuk 6y agoisolcpus sadly isn't complete - some kernel tasks still get scheduled. There was some stuff to improve this - https://lwn.net/Articles/816298/ https://lwn.net/Articles/816298/ - but it wasn't merged into mainline.