diff options
author | van Hauser <vh@thc.org> | 2021-02-02 14:41:31 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2021-02-02 14:41:31 +0100 |
commit | 6be3896bfa48baacc17dce764c47a7ff0d4b1b82 (patch) | |
tree | 8ecc204433cc69947094f44cfeeb5fd160977c3a | |
parent | 1f71b85426f837ebcae8381897d44a3a67c73a4f (diff) | |
download | afl++-6be3896bfa48baacc17dce764c47a7ff0d4b1b82.tar.gz |
linux performance option
-rwxr-xr-x | afl-system-config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/afl-system-config b/afl-system-config index 456cccac..d5e5ceae 100755 --- a/afl-system-config +++ b/afl-system-config @@ -34,6 +34,7 @@ if [ "$PLATFORM" = "Linux" ] ; then test -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor test -e /sys/devices/system/cpu/intel_pstate/no_turbo && echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo test -e /sys/devices/system/cpu/cpufreq/boost && echo 1 > /sys/devices/system/cpu/cpufreq/boost + test -e /sys/devices/system/cpu/intel_pstate/max_perf_pct && echo 100 > /sys/devices/system/cpu/intel_pstate/max_perf_pct } > /dev/null echo Settings applied. dmesg | egrep -q 'nospectre_v2|spectre_v2=off' || { |