System Methodology Profiler Functions
The System Methodology Profiler tool enables one-click collection of multidimensional performance statistics, covering cache misses, memory access, NUMA, microarchitecture, miss latencies, hotspot functions, CPU usage, NIC bandwidth, I/O, memory usage, softirqs, PCIe, PA2Ring, and Ring2PA. It also supports instruction type analysis. The collected data is time-aligned, and resource usage is visually presented from the service layer down to the chip layer.
PCIe, PA2Ring, and Ring2PA data can be collected for some servers equipped with the new Kunpeng 920 processor model but not for servers equipped with Kunpeng 920.
Prerequisites
- You have installed the System Methodology Profiler. See Installing a Compressed Package (.tar.gz).
- The tool is contained in an independent package (ksys-x.x.x-Linux-aarch64.tar.gz). Decompress the package and switch to the tool directory.
Command Function
Collects multidimensional performance data and organizes it along a unified time line, providing insights into resource usage from the service layer down to the chip layer.
- Some Kunpeng 920 series servers running openEuler 20.03, 22.03, or 24.03
- Some Intel x86 servers (CPU family: 6, model: 63) running CentOS 7.9
- Some AMD x86 servers (CPU family: 25, model: 17) running openEuler 22.03
- Limited support for other x86 servers and OS versions
Collection differences between Kunpeng, Intel x86, and AMD x86:
- The tool does not collect TopDown metrics or DDRC bandwidth on AMD x86.
- The tool collects only TopDown L1 metrics on Intel x86. The transmission width used to calculate these TopDown metrics is 4.
- Some metrics are architecture-specific or depend on the hardware collection device of a given architecture. For example, metrics such as rx_sccl and miss latencies are collected only on Kunpeng.
Syntax
1 | ./ksys [-h] {collect,report,diff,stability-check} ... |
Example
./ksys -h
Command output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | The performance analysis tool is a data collection and analyzer, which mainly includes data collection, data analysis, time line alignment, data comparison, and output result data for subsequent methodology modeling. positional arguments: {collect,report,diff,stability-check} collect Create a collection command line task. report Create a report command line task. diff Create a compare command line task. stability-check Create a environment stability check command line task. options: -h, --help show this help message and exit |