scripts: Disable turbo boost in prep_benchmarks.sh
This reduces the potential for jitter. Change-Id: I736aceec7551be7033c8d2a6f433c64aba1903c0 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/393830 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
5318d33318
commit
7343354b3e
@ -7,6 +7,12 @@ function configure_performance() {
|
||||
done
|
||||
echo "Done"
|
||||
|
||||
if [ -f "/sys/devices/system/cpu/intel_pstate/no_turbo" ]; then
|
||||
echo -n "Disabling Turbo Boost..."
|
||||
echo -n 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
|
||||
echo "Done"
|
||||
fi
|
||||
|
||||
echo -n "Disabling irqbalance service..."
|
||||
service irqbalance stop 2> /dev/null
|
||||
echo "Done"
|
||||
|
Loading…
Reference in New Issue
Block a user