Rate This Document
Findability
Accuracy
Completeness
Readability

Introduction

System Diagnosis is a performance analysis tool for the Kunpeng platform. It analyzes system runtime metrics, identifies exceptions, such as memory leak and network packet loss, and provides tuning suggestions to help improve program reliability.

Table 1 Task description

Task Type

Description

Supported Platform

Memory usage diagnosis

The tool analyzes the memory usage problems (including unreleased memory and abnormal memory releases) of the application to associate the call stack and source code.

Kunpeng

Network I/O Diagnosis

The tool performs pressure tests on the network to obtain the maximum network capability and provide basic reference data for network I/O performance tuning. It diagnoses the network, locates network problems, and resolves network I/O performance problems caused by network configurations and exceptions. The functions include network dialing test, packet loss diagnosis, network packet capture, and system load monitoring. Network I/O diagnosis can collect statistics on network data flows, analyze UDP and TCP data flows in the IPv4 and IPv6 protocol stacks, and collect statistics on the execution of data flows on different processor cores in different phases.

Kunpeng

Storage I/O diagnosis

The tool performs storage I/O pressure tests to obtain the maximum storage I/O capabilities, including throughput, IOPS, and latency, and then provides suggestions for tuning the storage I/O performance.

Kunpeng

Use Restrictions

Table 2 Use restrictions

Task Type

Description

Memory usage diagnosis

  • Currently, memory usage diagnosis is unavailable in a container environment.
  • The environment must support the eBPF configuration.

Network I/O Diagnosis

The OS must have a kernel version ranging from 4.15.0 to 5.4.0, and UOS 20 is not supported.

Storage I/O diagnosis

Do not use logical disks or existing files for pressure tests.