summaryrefslogtreecommitdiff
path: root/system/rtirq/README
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-01-16 07:07:43 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:03 -0600
commited455ab7ee2dfc67e40346ec8904fb860154d482 (patch)
tree2a2fe5dadacd6190ed2c9bf0f1be701f9e59967d /system/rtirq/README
parent669d3f8e8d4b713a2f4848564802a3874c4ea079 (diff)
downloadslackbuilds-ed455ab7ee2dfc67e40346ec8904fb860154d482.tar.gz
system/rtirq: Added (set priorities on kernel IRQ threads).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rtirq/README')
-rw-r--r--system/rtirq/README38
1 files changed, 38 insertions, 0 deletions
diff --git a/system/rtirq/README b/system/rtirq/README
new file mode 100644
index 0000000000..17f6b1cd99
--- /dev/null
+++ b/system/rtirq/README
@@ -0,0 +1,38 @@
+rtirq (set priorities on kernel IRQ threads)
+
+The rtirq script is a bash script written by Rui Nuno Capela which works
+in conjunction with the IRQ threading facility of the Linux kernel. The
+script takes advantage of the fact that the kernel can use threads for
+IRQs management, and as such these threads (like any other thread running
+on your system) can be given maximum priority in an effort to minimize
+the latency of audio peripherals.
+
+Modern kernels (3.0 and newer) incorporate IRQ threads, so there's no
+need for a patched kernel on Slackware 14.0 or newer. Older systems
+would need the realtime kernel patch.
+
+The script is installed as /etc/rc.d/rc.rtirq. To actually run it at
+boot time, add code like this to /etc/rc.d/rc.local:
+
+if [ -x /etc/rc.d/rc.rtirq ]; then
+ /etc/rc.d/rc.rtirq start
+fi
+
+The script can be disabled with "chmod -x /etc/rc.d/rc.rtirq".
+
+To enable IRQ threads, the option 'append="threadirqs"' needs to be
+added to the kernel section in /etc/lilo.conf. Example:
+
+# Linux bootable partition config begins
+image = /boot/vmlinuz-huge-3.10.17
+ root = /dev/sda1
+ label = Linux
+ append = "threadirqs"
+ read-only
+# Linux bootable partition config ends
+
+If there's already an 'append', add a space and 'threadirqs', like so:
+ append = "noapic acpi=off threadirqs"
+
+Don't forget to run lilo after editing lilo.conf. The threadirqs option
+will take effect on the next reboot.