System Methodology Profiler Functions
The System Methodology Profiler tool can be used on physical machines. It 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. After the collected data is analyzed, a time series diagram is generated for each metric to display the resource usage from the service layer to the processor layer over time.
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.
Server Architecture |
OS |
Remarks |
|---|---|---|
Servers with Kunpeng 920 series processors |
openEuler 20.03 openEuler 22.03 openEuler 24.03 |
- |
Intel x86 (CPU family: 6; model: 63) |
CentOS 7.9 |
|
AMD x86 (CPU family: 25; model: 17) |
openEuler 22.03 |
The tool does not collect TopDown, rx_sccl, or miss latency metrics or DDRC bandwidth on AMD x86. |
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). Extract the package and switch to the tool directory.
Command Function
Collects multi-dimensional performance data. After the collected data is analyzed, a time series diagram is generated for each metric to display the resource usage from the service layer to the processor layer over time.
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 15 16 | usage: ksys [-h] {collect,report,diff,stability-check} ... 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 an environment stability check command line task. options: -h, --help show this help message and exit |
Subcommand |
Description |
|---|---|
collect |
The 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. |
report |
The tool analyzes the JSON files generated during data collection and generates terminal and Excel reports. A terminal report displays summary data, and an Excel report displays summary data and a time series chart. |
diff |
The tool compares performance data in JSON files generated after multiple rounds of collection and generates terminal and Excel comparison reports. |
stability-check |
The tool checks the environment stability to determine whether the environment load is stable based on the coefficient of variation ( |