Skip to content

Download, compile and install

Juri Lelli edited this page Oct 3, 2016 · 7 revisions

!!! OUTDATED INSTRUCTIONS !!!

Downloading Instructions

Cloning the kernel sources

  • branch on top of the last PREEMPT_RT version (currently 3.2.13-rt23)

    `git clone git://github.com/jlelli/sched-deadline.git`
    

Compilation Instructions

Configuration

There is no need to enable any particular menuconfig switch to have the new SCHED_DEADLINE policy in place.

To enable DEADLINE group scheduling the following options need to be set as shown below:

CONFIG_EXPERIMENTAL = y
CONFIG_GROUP_SCHED = y
CONFIG_CGROUPS = y
CONFIG_USER_SCHED = n (if it is still there!)
CONFIG_CGROUP_SCHED = y

TODO -> insert an image?

Some other recommended (but not strictly required) configuration settings:

CONFIG_HIGH_RES_TIMERS = y
CONFIG_PREEMPT = y
CONFIG_HZ_1000 = y

Compilation and Installation

Just compile and install the kernel as usual (i.e., make, make-kpkg, etc.)

Compile and install the modified schedtool with the classical make && make install as prescribed by the README and INSTALL files.

Clone this wiki locally