Todd Lipcon has submitted this change and it was merged. Change subject: tpch: switch CPU to performance mode before running benchmark ......................................................................
tpch: switch CPU to performance mode before running benchmark For benchmarks, it's important to disable frequency scaling to get consistent results. We were already doing this for the main benchmarks script, but not for the tpch test. One of our benchmark slaves was set to 'performance' mode whereas another is set to 'ondemand' which resulted in about a 2x difference in performance on this benchmark. This refactors out some code for setting the frequency governor and uses it in the TPCH script. Change-Id: If917950cef028470d0e603475a236847b1cccd46 Reviewed-on: http://gerrit.cloudera.org:8080/1910 Reviewed-by: Jean-Daniel Cryans Tested-by: Todd Lipcon <[email protected]> --- M src/kudu/scripts/benchmarks.sh A src/kudu/scripts/ensure_cpu_scaling.sh M src/kudu/scripts/tpch.sh 3 files changed, 36 insertions(+), 23 deletions(-) Approvals: Jean-Daniel Cryans: Looks good to me, approved Todd Lipcon: Verified -- To view, visit http://gerrit.cloudera.org:8080/1910 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: If917950cef028470d0e603475a236847b1cccd46 Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans Gerrit-Reviewer: Todd Lipcon <[email protected]>
