Skip to content

Commit 5d7f04e

Browse files
committed
tmp: Stop tweaking turbo/pstates in perf tests
Writing to the noturbo sysfs immediately locks up the entire instance, so stop doing this for now. Signed-off-by: Patrick Roy <[email protected]>
1 parent 29f99b5 commit 5d7f04e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tools/devtool

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -740,12 +740,6 @@ cmd_test() {
740740

741741
env |grep -P "^(AWS_EMF_|BUILDKITE|CODECOV_)" > env.list
742742
if [[ $performance_tweaks -eq 1 ]]; then
743-
if [[ "$(uname --machine)" == "x86_64" ]]; then
744-
say "Detected CI and performance tests, tuning CPU frequency scaling and idle states for reduced variability"
745-
746-
apply_performance_tweaks
747-
fi
748-
749743
# It seems that even if the tests using huge pages run sequentially on ag=1 agents, right-sizing the huge pages
750744
# pool to the total number of huge pages used across all tests results in spurious failures with pool depletion
751745
# anyway (something else on the host seems to be stealing our huge pages, and we cannot "ear mark" them for
@@ -796,10 +790,6 @@ cmd_test() {
796790

797791
# undo performance tweaks (in case the instance gets recycled for a non-perf test)
798792
if [[ $performance_tweaks -eq 1 ]]; then
799-
if [[ "$(uname --machine)" == "x86_64" ]]; then
800-
unapply_performance_tweaks
801-
fi
802-
803793
echo $huge_pages_old |sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages >/dev/null
804794
fi
805795

0 commit comments

Comments
 (0)