Sunday, May 01, 2011

schedtool and chrt on Fedora 15

schedtool and chrt are used to change the realtime priority of a process.

On Fedora 15, if you get an "operation not permitted" error when you use these tools, even as root, here's a fix for it.

Run the following command at a shell terminal.


sudo sysctl -w  kernel.sched_rt_runtime_us=-1

You can add the command to /etc/rc.local to run automatically on reboot. 

Or, you can also add the following to /etc/sysctl.conf.

kernel.sched_rt_runtime_us=-1

nirik on #fedora on IRC helped me out with this. Thanks to him/her.

0 comments:

Post a Comment