Skip to content

Commit

Permalink
Add srf-oe cstate, pstate, rapl, thermal, topology cases
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 Aug 20, 2024
1 parent 25b4e7f commit ee507dd
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 0 deletions.
Empty file modified BM/sdsi/sdsi_fms_list
100644 → 100755
Empty file.
Empty file modified BM/tpmi/tpmi_fms_list
100644 → 100755
Empty file.
Empty file modified BM/ufs/ufs_fms_list
100644 → 100755
Empty file.
23 changes: 23 additions & 0 deletions scenario/srf-oe/tests-cstate
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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
# @other_warn: which rdmsr 2>/dev/null @ rdmsr tool is required, please install msr-tools

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_all_cpus_mc6
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_perf_module_cstat_update
powermgr_cstate_tests.sh -t verify_server_pc2_entry
powermgr_cstate_tests.sh -t verify_server_pc6_entry
powermgr_cstate_tests.sh -t verify_turbo_freq_in_default
powermgr_cstate_tests.sh -t verify_turbo_freq_in_poll
powermgr_cstate_tests.sh -t verify_turbo_freq_in_c1
powermgr_cstate_tests.sh -t verify_turbo_freq_in_c1e
powermgr_cstate_tests.sh -t verify_ccstate_res_offline_online
20 changes: 20 additions & 0 deletions scenario/srf-oe/tests-pstate
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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_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/srf-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
7 changes: 7 additions & 0 deletions scenario/srf-oe/tests-telemetry
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file collects the telemetry cases
telemetry_tests.sh -t pci
telemetry_tests.sh -t pci_driver
telemetry_tests.sh -t telem_driver
telemetry_tests.sh -t telem_sysfs
telemetry_tests.sh -t telem_dev
telemetry_tests.sh -t telem_sysfs_common
1 change: 1 addition & 0 deletions scenario/srf-oe/tests-thermal
1 change: 1 addition & 0 deletions scenario/srf-oe/tests-topology

0 comments on commit ee507dd

Please sign in to comment.