Browse Source

Merge branch 'master' of https://github.com/TechEmpower/FrameworkBenchmarks

James Yen 11 years ago
parent
commit
ce4889c8e7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      toolset/benchmark/benchmarker.py

+ 1 - 2
toolset/benchmark/benchmarker.py

@@ -402,8 +402,7 @@ class Benchmarker:
     try:
       if os.name == 'nt':
         return True
-      # This doesn't seem to ever run correctly, which causes the rest to not be run.
-      #subprocess.check_call(["sudo","bash","-c","cd /sys/devices/system/cpu; ls -d cpu*|while read x; do echo performance > $x/cpufreq/scaling_governor; done"])
+      subprocess.check_call(["sudo","bash","-c","cd /sys/devices/system/cpu; ls -d cpu[0-9]*|while read x; do echo performance > $x/cpufreq/scaling_governor; done"])
       subprocess.check_call("sudo sysctl -w net.ipv4.tcp_max_syn_backlog=65535".rsplit(" "))
       subprocess.check_call("sudo sysctl -w net.core.somaxconn=65535".rsplit(" "))
       subprocess.check_call("sudo -s ulimit -n 65535".rsplit(" "))