From a299db21b201b76f169a7b2c89844a1a18bfef49 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Mon, 21 Sep 2015 20:00:43 +0200 Subject: [PATCH] force constant cpu frequencies (2) --- master/opt/cluster/acq/etc/rc.local | 3 +++ master/opt/cluster/lite/etc/rc.local | 3 +++ master/opt/cluster/slave/etc/rc.local | 3 +++ 3 files changed, 9 insertions(+) diff --git a/master/opt/cluster/acq/etc/rc.local b/master/opt/cluster/acq/etc/rc.local index 9ae4012..38c1c6a 100755 --- a/master/opt/cluster/acq/etc/rc.local +++ b/master/opt/cluster/acq/etc/rc.local @@ -26,6 +26,9 @@ for i in $(seq 2 5); do grep -q $interface /root/ip.addr || { ifdown $interface; ifup $interface; } done +# remove acpi cpu frequence controler +modprobe -r acpi_cpufreq + for i in $(seq 1 25); do echo TRC6500 done diff --git a/master/opt/cluster/lite/etc/rc.local b/master/opt/cluster/lite/etc/rc.local index ce08c1e..7ae4c43 100755 --- a/master/opt/cluster/lite/etc/rc.local +++ b/master/opt/cluster/lite/etc/rc.local @@ -29,6 +29,9 @@ for i in $(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc/interrupts); do [ $l -eq ${#core[*]} ] && l=1 done +# 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 diff --git a/master/opt/cluster/slave/etc/rc.local b/master/opt/cluster/slave/etc/rc.local index 9268f57..facfb7e 100755 --- a/master/opt/cluster/slave/etc/rc.local +++ b/master/opt/cluster/slave/etc/rc.local @@ -9,6 +9,9 @@ # In order to enable or disable this script just change the execution # bits. +# 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 -- 2.30.2