Maximizing Throughput and Minimizing Costs for Disk Read Throttling on Zonal SSD Persistent Disk | Best Practices

Optimizing Disk Read Throughput for Zonal SSD Persistent Disk

Question

You have an application on a general-purpose Compute Engine instance that is experiencing excessive disk read throttling on its Zonal SSD Persistent Disk.

The application primarily reads large files from disk.

The disk size is currently 350 GB.

You want to provide the maximum amount of throughput while minimizing costs.

What should you do?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.

https://cloud.google.com/compute/docs/disks/performance

Excessive disk read throttling on a Zonal SSD Persistent Disk can occur when the application's demand for input/output (I/O) operations exceeds the disk's ability to deliver them. There are several ways to address this issue while minimizing costs:

A. Increase the size of the disk to 1 T: This option will increase the amount of available storage space, but it may not solve the I/O throttling issue because it does not directly increase the disk's I/O throughput. In fact, increasing the disk size can result in slower performance because the larger disk requires more time to read and write data. Moreover, this option will increase the cost of the disk, which is not desirable.

B. Increase the allocated CPU to the instance: This option may help if the application is CPU-bound, but it is unlikely to solve the I/O throttling issue because it does not directly increase the disk's I/O throughput. Increasing the allocated CPU will also increase the cost of the instance, which may not be necessary.

C. Migrate to use a Local SSD on the instance: A Local SSD provides higher I/O throughput than a Zonal SSD Persistent Disk, and it is designed for applications that require low latency and high I/O operations per second (IOPS). Local SSDs are physically attached to the instance and offer lower latency and higher throughput than network-attached disks like Zonal SSD Persistent Disks. However, local SSDs are ephemeral and the data is lost when the instance is terminated or stopped, so this option is only suitable for applications that can tolerate data loss or have a robust backup strategy in place.

D. Migrate to use a Regional SSD on the instance: A Regional SSD is similar to a Zonal SSD Persistent Disk, but it provides higher I/O throughput by spreading the data across multiple physical disks in multiple zones within a region. This option may be suitable if the application requires high durability and availability and can tolerate slightly higher latency than a Local SSD. However, Regional SSDs are more expensive than Zonal SSD Persistent Disks, so this option will increase the cost.

In conclusion, option C (Migrate to use a Local SSD on the instance) is the best choice to address the excessive disk read throttling issue while minimizing costs.