If your Windows instance performs sluggishly or has slow file read/write speeds, the cause might be high disk I/O load.
The examples in this topic use Windows Server 2022. The user interface may vary slightly across different operating system versions. Refer to the UI of your operating system.
Symptoms
You may experience the following symptoms on your Windows ECS instance:
-
The system is sluggish, file read and write operations are slow, application performance is degraded, or internal services respond slowly.
-
The disk I/O load shown in the ECS console is excessively high. As a rule of thumb, an I/O load is high if the read/write rate reaches 80% or more of the cloud disk's specified I/O performance.
-
You receive an alert that the disk I/O load has exceeded a configured threshold.
Possible causes
Common causes of high disk I/O load include:
-
An abnormal process or service is consuming a large amount of disk I/O.
-
Your applications require more disk I/O performance than the instance's cloud disk provides.
Procedure
To identify the cause of high disk I/O load, follow these steps.
View process-specific disk I/O load
You can use the Resource Monitor application, which is installed by default in Windows, to view resource usage, such as disk I/O load. This application allows you to view the disk I/O load of a single process.
-
In the search box in the bottom-left corner of the Windows desktop, type Resource Monitor, and press
Enterto open the Resource Monitor program. -
On the Resource Monitor page, click the Disk tab to view the disk I/O load of each process.
The Processes with Disk Activity section lists the read and write rates for each process. In this example,
diskspd.exe(PID 7260) reads at 6,938,059 B/s and writes at 5,671,759 B/s, making it the primary disk I/O consumer. The Disk Activity section shows the file paths that each process is accessing and their response times. The Storage section shows that drive C: has an active time of 100.00%, 31,235 MB of available space, 102,398 MB of total space, and a disk queue length of 63.65. The real-time graphs on the right display disk throughput and queue length trends. The current queue length curve is approaching saturation.
Resolve high disk I/O load
The following table describes the causes of and solutions for high disk I/O load.
|
Symptom |
Cause |
Solution |
|
An abnormal user program or process consumes a large amount of disk I/O resources for an extended period. |
A malfunctioning program or process is consuming excessive disk I/O resources. |
In Resource Monitor, locate the program that is using a large amount of disk I/O, right-click it, and then click End Process. Warning
Before ending a process, understand its function to avoid disrupting your services. |
|
A normal user program or process consumes a large amount of disk I/O resources for an extended period. |
Your application's I/O requirements exceed the performance of the current cloud disk. |
If your cloud disk is the performance bottleneck, choose a solution based on your needs:
|
|
The I/O performance required by your services exceeds the disk capabilities of the instance. |
Related topics
For information about resolving high I/O load on Linux systems, see How to check the I/O load on a Linux instance.