Browse Source

master This line NEVER worked.

I think this was causing all sorts of issues with
uwsgi (and any others relying on these settings).
Mike Smith 11 years ago
parent
commit
24d9e4c57a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      toolset/benchmark/benchmarker.py

+ 2 - 1
toolset/benchmark/benchmarker.py

@@ -402,7 +402,8 @@ class Benchmarker:
     try:
       if os.name == 'nt':
         return True
-      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"])
+      # 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 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(" "))