Soft'N'Design Software
/
projects
/
debian6500.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
force constant cpu frequencies (2)
[debian6500.git]
/
master
/
opt
/
cluster
/
slave
/
etc
/
rc.local
diff --git
a/master/opt/cluster/slave/etc/rc.local
b/master/opt/cluster/slave/etc/rc.local
index 563698d0bf4d39777571457c9781530eac98af42..facfb7e0a1828cffb8fb66cbc90ab4363bc93733 100755
(executable)
--- a/
master/opt/cluster/slave/etc/rc.local
+++ b/
master/opt/cluster/slave/etc/rc.local
@@
-8,20
+8,13
@@
#
# In order to enable or disable this script just change the execution
# bits.
#
# 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
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
exit 0