Configuring real-time scheduler with docker in balena os

Can real time scheduling offered by docker work in Balena OS?

This flag and functionality seem to be available in moby, so by analysis that means we inherit the functionality by default in balena-engine, which is built on moby:

If you can think of a simple test case, we could deploy it and find out empirically.

Did this end up going anywhere? I’m interested in the possibility of a real-time scheduler for one of my containers

Hi there, do you have a simple test or use case for this?

Hi there, just wanted to check in quickly, and see if you had a sample or test for this that we could run?

It would be really great if we add real-time scheduler support to Balena since that will allow us to create a better division of CPU time between the different containers. What’s currently lacking I think is that the kernel that is part of Balena OS is not configured to have real-time group scheduling enabled:

/proc# zcat config.gz |grep CONFIG_RT_
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_RT_MUTEXES=y

FYI, you can support this request: