Home Miscellaneous Diagnosing Disk Performance Issues on Google Cloud Compute Instances

 Diagnosing Disk Performance Issues on Google Cloud Compute Instances

by Anjali Sindhu
Two cartoon figures talking about disk performance issues on Google Cloud Compute, with a user icon and a checkmark on a gradient orange background.

In such situations, when applications running on Google Cloud Compute Engine (GCE) show poor performance, IT staff generally assume that there are problems with the processor units, or memory issues. At the same time, low storage system performance may be the culprit. Poor database queries, file retrieval delays, long backup processes, and high application downtime may all indicate storage problems.

Understanding the working principle of disks on Google Cloud and where to look for performance quirks in the system will help to solve the problem faster. In this article, we will review the most frequent reasons for storage performance failures on Google Cloud Compute Engine, and provide for practical diagnostics.

Why Disk Performance Matters

The success of any workload is determined by the efficiency of the storage system. Be it a website, database, email platform, or backup server, slow disks will have an impact on: 

* How quickly databases respond 

* Loading time of applications 

* Moving files 

* Performance of backup and restoration processes 

* Reaction time of computers on virtual machines 

Before changing your IT infrastructure, it is essential to investigate the reason for the issue with storage.

 Common Symptoms of Disk Performance Issues

The signs of storage difficulties are as follows – 

High latency in reading or writing data. 

Application unresponsiveness during busy times. 

Backup jobs taking longer than planned. 

Increased I/O waiting time in Linux. 

Database functions becoming slower.

Processes waiting for the storage system to respond.

These signs are usually observed when there is a lot of activity on the disk.

 Understanding Google Cloud Persistent Disks

There are various options for storage provided by Google Cloud, each of which is used for distinct workloads.

Standard Persistent Disk (pd-standard): It provides a cheaper HDD storage option that is suitable for sequential workloads.

Balanced Persistent Disk (pd-balanced): It offers a good mix of cost and performance for general applications.

SSD Persistent Disk (pd-ssd): It provides high-performance storage based on SSD technology which is used for databases and applications that require low latency.

Hyperdisk: It is high-performance storage having a flexible performance configuration that can serve high-demand enterprise workloads.

.

Selecting the appropriate disk type is the first step toward achieving consistent storage performance.

 Step 1: Check CPU I/O Wait

The signs of storage difficulties are as follows – 

High latency in reading or writing data. 

Application unresponsiveness during busy times. 

Backup jobs taking longer than planned. 

Increased I/O waiting time in Linux. 

Database functions becoming slower.

Processes waiting for the storage system to respond.

These signs are usually observed when there is a lot of activity on the disk.

 Step 4: Verify Disk Performance Limits

The performance of Persistent disks is influenced by a variety of factors that include:

* Type of disk

* Disk capacity

* Type of VM attached

* Number of available vCPUs

Generally smaller disks have lower IOPS and throughput than larger disks. Even SSD disks may be subjected to performance limits due to insufficient configured disk space.

If you observe that you are hitting the limitations of your workload over a period of time then it is necessary to resize the disk or to switch to a storage option with higher performance.

Step 5: Identify Processes with High I/O

Sometimes a single application may account for disk thrashing.

There are a number of commands that can be used:

“` 

iotop

“`

or

“` 

pidstat -d 1

“`

The above commands can be employed to find out processes with the highest level of I/O.

Step 6: Check System Logs

The logs of kernel may also contain clues that can help when a problem with storage occurs.

Use the following commands to review the logs:

“` 

dmesg | grep -i error

“`

or

“` 

journalctl -xe

“`

But take into account that even with large reliability of Google Cloud Persistent Disks, operating system or file system problems may still affect the performance.

  Step 7: Evaluate Filesystem Health

Fragmentation or corruption of the filesystem can also be responsible for poor performance.

Verify the disk usage for Linux systems using the following command:

“`df -h“`

Check for inode utilization using:

“`df -i“`

A filesystem that approaches 100% capacity is expected to have slow performance. Having the right amount of free space can help keep performance high and reduce fragmentation.

Some of the best practices to avoid disk bottlenecking are as follows:

– Choosing the right type of Persistent Disk according to given workload;

– Continuously monitoring stored metrics with Google Cloud Monitoring;

– Avoiding simultaneous execution of more than one heavyweight backup or maintenance job;

– Regularly checking for strange log activity in application;

– Resizing disks before hitting performance limits; and

– Storing database, application, and backup workloads separately when applicable.

Frequent monitoring can help prevent minor storage issues from affecting production systems.

Final Thoughts

Storage performance plays a critical role in the overall health and responsiveness of your Google Cloud Compute Engine workloads. Slow disks can impact everything from application response times and database performance to backups and file operations. By taking a structured approach—monitoring I/O wait times, tracking disk latency and throughput, identifying resource-intensive processes, reviewing system logs, and selecting the appropriate Persistent Disk type—you can quickly pinpoint the root cause of storage bottlenecks.

Regular monitoring, proactive capacity planning, and adherence to storage best practices help prevent performance issues before they affect production environments. With the right diagnostics and optimization strategies, you can ensure your Google Cloud storage infrastructure remains reliable, efficient, and capable of supporting your business-critical applications.

Facing issues?

Our technical support
engineers can solve it.

Contact Us today!
guy server checkup

You may also like

Leave a Comment