things to do additionally
------------------------------------------------------------------------------
enable realtime clock
----------------------
for the realtime clock to work, you've got to load these modules:
modprobe rtc_core
modprobe rtc_cmos
you should then have a device
/dev/rtc0
then change the max-user-frequency of rtc (default is only 64):
echo 2048 > /sys/class/rtc/rtc0/max_user_freq
test:
cat /sys/class/rtc/rtc0/max_user_freq
and maybe of hpet as well (?)
echo 2048 > /proc/sys/dev/hpet/max-user-freq
(Is hpet emulated by rtc ?)
------------------------------------------------------------------------------
set realtime priorities
-----------------------
install scheduling tools (/usr/bin/chrt)
apt-get install schedutils
or
apt-get install schedtool
install,setup and run the rtirq script by Rui Nuno Capela
download:
wget
http://www.rncbc.org/jack/rtirq-20071012.tar.gz