[LITMUS^RT] Boot Parameter Option

Björn Brandenburg bbb at mpi-sws.org
Mon Sep 7 09:43:13 CEST 2015


> On 04 Sep 2015, at 22:49, Geoffrey Tran <gtran at isi.edu> wrote:
> 
> Hello all,
> 
> Just a quick question, does the rtsched boot parameter still 
> work?  I have tried the following:
> 
> root at ubuntu:~# cat /proc/cmdline
> BOOT_IMAGE=/vmlinuz-4.1.3 root=/dev/mapper/ubuntu--vg-root ro splash quiet rtsched=gsn_edf vt.handoff=7
> 
> root at ubuntu:~# cat /proc/cmdline
> BOOT_IMAGE=/vmlinuz-4.1.3 root=/dev/mapper/ubuntu--vg-root ro splash quiet rtsched=GSN-EDF vt.handoff=7
> 
> However neither result in the scheduler being set correctly at boot.
> I recall that this did work in one of the previous 2014.x versions.
> 
> Any advice would be appreciated. 

I cannot recall ever supporting such a boot parameter. 

However, you can easily support it yourself. Just add an init script that checks /proc/cmdline for rtsched and calls setsched with the extracted argument (e.g., with bash + sed).

Regards,
Björn





More information about the litmus-dev mailing list