torsdagen den 14 april 2011 16.01.52 skrev Lennart Börjeson:
SInce upgrading to 11.4, I no longer seem to be able to use real-time scheduling. If I just try something like:
chrt -r 1 ls
I get
chrt: failed to set pid 0's policy: Operation not permitted.
[...]
What am I missing? What might I have lost in the upgrade from 11.3 -> 11.4?
Found it. The reason is "group RT scheduling", cf. /usr/src/linux/Documentation/scheduler/sched-rt-group.txt. As I understand this document, I need to configure control groups for real-time scheduling, cf. /usr/src/linux/Documentation/cgroups/cgroups.txt, but this seems to be a work in progress. Rather than messing with it, I just disabled group rt scheduling: sysctl -w kernel.sched_rt_runtime_us=-1 Voilá! -- Lennart Börjeson -- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org