Menu

linux-rt

Compile linux realtime kernel

In order not underloading Advanced Gtk+ Sequencer there's recommended a fully realtime kernel configured at clock speed of 1000 Hz. You have to pay attention that there's enough disk space left, about 6-7 GB used. On debian GNU/Linux do the following:
The example below assumes you have at least 4 virtual processors and was set therefor as concurrency level value.

export CONCURRENCY_LEVEL=4
mkdir Downloads
cd Downloads
su -c "apt-get install libzlib1g-dev libncurses5-dev kernel-package make gcc-4.9"
wget -c ftp://ftp.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.12-rt9.patch.gz
wget -c ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.14.12.tar.gz
wget -c http://ags.sf.net/config-3.14.12-rt9
tar -xzf linux-3.14.12.tar.gz
cd linux-3.14.12
lesspipe ../patch-3.14.12-rt9.patch.gz | patch -p1
make-kpkg clean
cp ../config-3.14.12-rt9 .config
make menuconfig
make-kpkg --initrd --revision="01.00" kernel-image kernel-headers
cd ..
su -c "dpkg -i linux-image-3.14.12-rt9_01.00_amd64.deb linux-headers-3.14.12-rt9_01.00_amd64.deb"
reboot

Related

Wiki: development

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.