force constant cpu frequencies (2)
[debian6500.git] / master / opt / cluster / slave / etc / rc.local
index 563698d0bf4d39777571457c9781530eac98af42..facfb7e0a1828cffb8fb66cbc90ab4363bc93733 100755 (executable)
@@ -8,20 +8,13 @@
 #
 # In order to enable or disable this script just change the execution
 # bits.
-#
-# By default this script does nothing.
 
+# remove acpi cpu frequence controler
+modprobe -r acpi_cpufreq
+
+# fill screen of dummy lines to keep last messages in history
 for i in $(seq 1 25); do
   echo TRC6500
 done
 
-# distribute interrupt for eth0 on core 1-6
-core=(2 4 8 10 20 40)
-l=0
-for i in $(awk '/eth0/ {sub(/:/, ""); print $1}' /proc/interrupts); do
-  echo ${core[$l]} > /proc/irq/$i/smp_affinity
-  let l++
-  [ $l -eq 6 ] && l=1
-done
-
 exit 0