This repository contains the PIE scheduler from Linux patched so it can be used with https://github.com/henrist/aqmt
When building, we need to add the common
directory of the aqmt
repository to the inclusion path.
Building:
CPATH=/path/to/aqmt/common make
Loading kernel module:
sudo make load
The scheduler will now be available as a qdisc with the name pie
.
Note that if you had pie
available already this will shadow that
module, so this will be used instead.
Unloading:
sudo make unload
The branch kernel-reference
contains copies of commits from
the Linux kernel. This is merged into master to produce the latest
patched version.
To update:
# produce patches
cd path-to-linux-tree
cd net/sched
# modify the range to fit
git format-patch -o /tmp/sched e5a4b17da..HEAD -- sch_pie.c
# update this repo
git checkout kernel-reference
git am -p3 /tmp/sched/*.patch
git checkout master
git merge kernel-reference
Push both branches after reviewing.