【特性描述】
Unified Memory Controller (UMC) events were introduced with Zen 4 as a part of the Performance Monitoring Version 2 (PerfMonV2) enhancements. Currently, Zen 4 supports up to 12 channels of DDR5 memory and each of them are controlled by a dedicated UMC. Each UMC, in turn, has its own
set of performance monitoring counters. These counters can provide info on UMC command activity which in turn can be used to derive utilization and bandwidth. Using perf tool, users can profile activity either on a combined basis (includes all active UMCs) or for individual UMCs.
【硬件架构】
X86
Backporting the patches from the upstream,
https://lore.kernel.org/all/cover.1696425185.git.sandipan.das@amd.com/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Running the test on a 1P 9654 Genoa Zen4 system populated with 2 memory channels.
tools/perf$ find /sys/bus/event_source/devices/ -maxdepth 1 -name "amd_umc_*" | sort
/sys/bus/event_source/devices/amd_umc_0
/sys/bus/event_source/devices/amd_umc_1
tools/perf$ sudo ./perf stat -e amd_umc_0/umc_cas_cmd.all/ -e amd_umc_1/umc_cas_cmd.all/ -a -- sleep 1
Performance counter stats for 'system wide':
191026 amd_umc_0/umc_cas_cmd.all/
189860 amd_umc_1/umc_cas_cmd.all/
1.001168813 seconds time elapsed
tools/perf$ sudo ./perf stat -e amd_umc/umc_cas_cmd.all/ -a -- sleep 1
Performance counter stats for 'system wide':
769669 amd_umc/umc_cas_cmd.all/
1.001398868 seconds time elapsed
登录 后才可以发表评论