IO traffic analysis
IO Traffic Analysis identifies the source of I/O traffic in your system, helping you troubleshoot IO Burst issues by diagnosing traffic from the operating system console.
Limitations
-
Region limitations
This feature is supported only in the Chinese mainland and the China (Hong Kong) region.
-
Permission requirements
If you use a RAM user, the
AliyunECSReadOnlyAccessandAliyunSysomFullAccesssystem policies must be granted to the RAM user by the Alibaba Cloud account (main account). -
Operating system requirements
Architecture
Operating system
x86 architecture
-
Rocky Linux 9.5
-
Rocky Linux 9.1
-
Ubuntu 20.04
-
Alibaba Cloud Linux 3 Container Optimized Edition
-
Rocky Linux 8.8
-
Ubuntu 22.04
-
Alibaba Cloud Linux 3 Pro
-
Alibaba Cloud Linux 2/3
-
CentOS 7.6 or later, or CentOS 8
-
Anolis OS 7/8
-
Ubuntu 24.04
ARM architecture
-
Alibaba Cloud Linux 3 Pro
-
Alibaba Cloud Linux 3
-
Procedure
-
Log on to the CloudMonitor 2.0 console, select the target workspace, and in the left-side navigation pane, click All Features.
-
On the All Features page, click CloudLens for ECS.
-
At the top of the page, click System Diagnosis (SysOM).
-
In the diagnosis settings, select Node Diagnosis for Diagnosis Mode, Storage Diagnosis for Type of diagnosis, and IO flow analysis for Diagnostic Item. Then, select the target Instance ID and click Run Diagnosis.
-
In the Diagnosis records section, click View Report.
Diagnosis report
A diagnosis report provides the complete results of a single diagnosis run.
-
Basic information
Includes the instance ID (resource ID), diagnostic item, diagnosis report ID, and the diagnosis start time.
-
Diagnostic conclusion
-
If I/O traffic is normal, the report displays the current IO performance metrics.
-
If I/O traffic is abnormal, the report displays the cause.
-
-
Diagnostic suggestion
Provides recommendations based on the diagnostic findings.
-
Diagnostic details
Includes four parts: Cause analysis, Disk-level I/O traffic list, Process-level I/O traffic list, and Process I/O block size distribution.
-
Cause analysis
Displays the I/O traffic that processes generate when accessing disks, typically showing the IOPS and throughput for a specific process on a specific disk, along with the target file being accessed.
-
Disk-level I/O traffic list
Lists disk I/O traffic statistics collected during the diagnosis. Key fields:
-
Disk/Partition Name: The name of the diagnosed disk or partition. -
Merged Read Count: The number of merged read operations during the diagnosis. -
Merged Write Count: The number of merged write operations during the diagnosis. -
Read IO Throughput: The read IO throughput during the diagnosis. -
Write IO Throughput: The write IO throughput during the diagnosis. -
Average IO Latency: The average time for each I/O operation. -
Average Read IO Latency: The average time for each read operation. -
Average Write IO Latency: The average time for each write operation. -
IO Busy Rate (%): The percentage of time the disk device was busy.
-
-
Process-level I/O traffic list
Lists process-level I/O traffic during the diagnosis. Key fields:
-
Process Name: The name of the process. -
Parent Process ID: Process ID: The processIDand its parent process ID. -
Read IO Count: The readIOPScontributed by the process. -
Write IO Count: The writeIOPScontributed by the process. -
Read IO Throughput: The read throughput (inB/s) contributed by the process. -
Write IO Throughput: The write throughput (inB/s) contributed by the process. -
Disk Cache Flush Count: The number offlush I/Ooperations generated by the process. -
Disk/Partition Name: The destination disk for the I/O operations. -
File Name: The source file for the I/O.
This feature supports tracing the source of I/O that the
kworkerprocess uses to flush dirty pages. As a result, child items are listed under thekworkerprocess, which you can expand to view the processes that actually generate dirty pages by writing toBuffer IO. -
-
Process I/O block size distribution
Shows the distribution of I/O block sizes submitted by processes to the block layer during the diagnosis. Key fields:
-
Process Name: The name of the process. -
Parent Process ID: Process ID: ProcessIDinformation -
nK Write I/O Percentage: The percentage of write I/O operations with a size ofnK. -
Over 512 KB Write I/O Percentage: The percentage of I/O operations larger than 512 KB.
-
-