[PlanetCCRMA] Script to set 2.6 RT features

Rui Nuno Capela rncbc@rncbc.org
Tue Sep 14 16:38:02 2004


Hi Steve,

> attaching a simple script to turn on all the 2.6 RT goodness, the line
> that detects which IRQd things are soundcards (RTDEVS=...) is dodgy, but
> it works for the card I care about, not sure what it should do really. I
> CAnt find a list of active soundcard driver names that consistently
> matches the ones used in /proc/irq/. Perhaps it should just poll them
> all.
>

Just a note regarding this setting:

  echo 3 > /proc/sys/kernel/voluntary_preempt

This has been split on most recent VP patches to sum up as:

  echo 1 > /proc/sys/kernel/voluntary_preempt
  echo 1 > /proc/sys/kernel/softirq_preempt
  echo 1 > /proc/sys/kernel/hardirq_preempt

So be warned to change your script(s) as for the next planet FC2 kernel
upgrade, as soon as Nando gets back ;)

Cheers,
-- 
rncbc aka Rui Nuno Capela
rncbc@rncbc.org