[LITMUS^RT] Boot Parameter Option

Geoffrey Tran gtran at isi.edu
Tue Sep 8 03:19:23 CEST 2015


Hi 

Okay thanks, I'll take a look.  I thought this was the case, but will go double check with the person
I was working with before.  Otherwise, it is mentioned in the liblitmus documentation at:
https://github.com/LITMUS-RT/liblitmus

"* showsched
  Print the name of the currently active scheduler. Schedulers are selected at
  boot time with the "rtsched=<NAME>" kernel parameter."

Thanks,
Geoffrey

----- Original Message -----
> From: "Björn Brandenburg" <bbb at mpi-sws.org>
> To: "Geoffrey Tran" <gtran at isi.edu>, litmus-dev at lists.litmus-rt.org
> Sent: Monday, September 7, 2015 12:43:13 AM
> Subject: Re: [LITMUS^RT] Boot Parameter Option
> 
> 
> > 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