Hi,
Got a problem with priorities within nerves bundle.
I have an erlang port that needs to run with a high priority. It’s archived with sched_setscheduler.
On the raspbian when I run the application with sudo everything was fine.
The problem is with nerves bundle. It looks like priority won’t change.
What can I do about it?
Thanks for help.
The Nerves systems for the Raspberry Pis derive their configuration from Raspbian and I didn’t see anything offhand that would prevent sched_setscheduler with SCHED_RR or SCHED_FIFO from working (assuming that’s what you’re doing). Could you submit an issue against nerves_system_rpi3 or whichever system your having trouble with. If you could post a simple example that would let us reproduce the issue, that would be very helpful.
2 Likes
It turns out that everything works great. I was looking at the wrong numbers from the /proc fs.
Thanks for help!