Skip to content

Commit

Permalink
Add pstate,cstate,rapl tests for emr-oe
Browse files Browse the repository at this point in the history
Signed-off-by: qwang59 <[email protected]>
  • Loading branch information
qwang59 authored and ysun committed Jun 25, 2024
1 parent a19708f commit 589bf35
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scenario/emr-oe/tests-cstate
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file collects the CPU Core cstate cases which can run
# on Intel® Architecture-based server platforms.
# @hw_dep:
# @other_dep:
# @other_warn: which turbostat 2>/dev/null @ turbostat tool is required
# @other_warn: which perf 2>/dev/null @ perf tool is required, please install perf.x86_64 package

powermgr_cstate_tests.sh -t verify_cstate_name
powermgr_cstate_tests.sh -t verify_server_all_cores_cstate6
powermgr_cstate_tests.sh -t verify_server_core_cstate6_residency
powermgr_cstate_tests.sh -t verify_server_cstate_list
powermgr_cstate_tests.sh -t verify_server_perf_core_cstat_update
powermgr_cstate_tests.sh -t verify_server_perf_pkg_cstat_update
powermgr_cstate_tests.sh -t verify_server_pc2_entry
powermgr_cstate_tests.sh -t verify_server_pc6_entry
22 changes: 22 additions & 0 deletions scenario/emr-oe/tests-pstate
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file contains basic test cases designed to
# evaluate the performance of Intel_pstate and cpufreq
# scaling drivers on Intel® Architecture-based platforms
# For a deeper understanding of HW P-state related MSRs,
# Users may refer to the Intel® Software Developer Manual.
# @hw_dep:
# @other_dep: general_test.sh -t turbostat @ The latest 2024 version turbostat tool is required
# @other_warn: which stress 2>/dev/null @ stress tool is required, please install stress-ng.x86_64 and run command: ln -s /usr/bin/stress-ng /usr/bin/stress

intel_pstate_tests.sh -t verify_default_gov_epp
intel_pstate_tests.sh -t verify_gov_perf_epp_perf
intel_pstate_tests.sh -t verify_gov_powersave_epp_perf
intel_pstate_tests.sh -t verify_gov_powersave_epp_balance_perf
intel_pstate_tests.sh -t verify_gov_powersave_epp_balance_power
intel_pstate_tests.sh -t verify_gov_powersave_epp_power
intel_pstate_tests.sh -t verify_cpufreq_with_governor_perf
intel_pstate_tests.sh -t verify_cpufreq_with_governor_powersave
intel_pstate_tests.sh -t verify_cpufreq_with_maxperfpct_50
intel_pstate_tests.sh -t verify_cpufreq_with_minperfpct_50
intel_pstate_tests.sh -t verify_max_cpufreq_perf_turbo
intel_pstate_tests.sh -t verify_max_cpufreq_passive_perf_turbo
intel_pstate_tests.sh -t verify_max_cpufreq_perf_non_turbo
15 changes: 15 additions & 0 deletions scenario/emr-oe/tests-rapl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file collects RAPL cases which can run against intel_rapl driver
# on Intel® Architecture-based server platforms.
# @hw_dep:
# @other_dep:
# @other_warn: which turbostat 2>/dev/null @ turbostat tool is required
# @other_warn: which stress 2>/dev/null @ stress tool is required, please install stress-ng.x86_64 and run command: ln -s /usr/bin/stress-ng /usr/bin/stress
# @other_warn: which perf 2>/dev/null @ perf tool is required, please install perf.x86_64 package

intel_rapl_test.sh -t check_sysfs
intel_rapl_test.sh -t check_pkg_domain
intel_rapl_test.sh -t check_dram_domain
intel_rapl_test.sh -t check_rapl_control_after_power_limit_change
intel_rapl_test.sh -t rapl_control_enable_disable_pl1
intel_rapl_test.sh -t rapl_control_enable_disable_pl2
intel_rapl_test.sh -t rapl_control_enable_disable_pl4

0 comments on commit 589bf35

Please sign in to comment.