鲲鹏社区首页
中文
注册
开发者
我要评分
获取效率
正确性
完整性
易理解
在线提单
论坛求助

鲲鹏系统性能方法论分析工具功能介绍

鲲鹏系统性能方法论分析工具KSYS支持在物理机上使用,支持一键采集多维度性能数据,包括Miss、访存统计、NUMA、微架构、Miss Latency、热点函数、CPU usage、NIC bandwidth、I/O、Memory usage、Softirq、PCIe、PA2Ring、Ring2PA数据,支持指令类别分析。采集的数据分析后生成各指标时序图,以时间维度直观展示从业务层到芯片层的资源使用情况。

部分基于鲲鹏920新型号处理器的服务器支持采集PCIe、PA2Ring、Ring2PA数据,基于鲲鹏920处理器的服务器不支持采集。

表1 已验证服务器和操作系统兼容性

服务器架构

操作系统

备注

鲲鹏920系列处理器的服务器

openEuler 20.03

openEuler 22.03

openEuler 24.03

-

Intel x86(CPU family:6,Model:63)

CentOS 7.9

  • Intel x86仅支持计算TopDown L1指标,计算TopDown指标时采用的发射宽度为4。
  • 不支持采集rx_sccl、Miss Latency指标。

AMD x86(CPU family:25,Model:17)

openEuler 22.03

AMD x86暂不支持采集TopDown、rx_sccl、Miss Latency指标和DDRC带宽。

前提条件

命令功能

支持采集多维度性能数据,对采集的数据分析后生成各指标时序图,以时间维度直观展示从业务层到芯片层的资源使用情况。

命令格式

1
./ksys [-h] {collect,report,diff,stability-check} ...

使用示例

./ksys -h

返回信息如下:

 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 a environment stability check command line task.

options:
  -h, --help            show this help message and exit
表2 子命令功能说明

子命令

功能说明

collect

支持采集多维度性能数据,包括Miss、访存统计、NUMA、微架构、Miss Latency、热点函数、CPU usage、NIC bandwidth、I/O、Memory usage、Softirq、PCIe、PA2Ring、Ring2PA数据。

report

支持对采集生成的JSON文件进行分析,输出终端报告和Excel报告,其终端报告为Summary数据,Excel报告包含Summary数据和可视化时序图表。

diff

支持对多次采集生成的JSON文件进行性能数据对比,并输出终端报告和Excel报告。

stability-check

执行环境稳定性检查,根据变异系数判断环境负载是否稳定。