Real time scheduling

Im trying to get by with a few real time things gpio bit banging in linux and its going poorly, drastically so as temp throttling kicks in.

(totally related to my last post :slight_smile: ) I realize this is ridiculous in the context of containers, but hey, why not.

I played around with chrt attempting to give my process different scheduling and priority and didnt see any real gain.

I dont know if it matters but it is a multicontiner project, and both containers are privileged.

Any other thoughts on giving one container or process more priority?

hey @jacobrosenthal

If it’s temp throttling caused by your gpio code, I’m not sure there’s much you can do, but if you think the other container is adding more load than it needs to, perhaps try using the CPU flags detailed here: https://docs.docker.com/v17.09/engine/admin/resource_constraints/