Analiza las IOPS aprovisionadas y la capacidad de procesamiento para los volúmenes de Hyperdisk
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Puedes ver la descripción del disco para ver las operaciones de entrada/salida por segundo (IOPS) aprovisionadas actualmente o la capacidad de procesamiento aprovisionada actualmente para los volúmenes de Google Cloud Hyperdisk.
Puedes cambiar las IOPS o la capacidad de procesamiento aprovisionadas una vez en cada período de 4 horas.
Se registra cada cambio en el nivel de las IOPS o de la capacidad de procesamiento. Puedes revisar el historial de registros y compararlo con las métricas de rendimiento para comprender cómo se relacionan los niveles de capacidad de procesamiento y de IOPS aprovisionados con el nivel de rendimiento que se observa en la carga de trabajo.
Antes de comenzar
Si aún no lo hiciste, configura la autenticación.
La autenticación es el proceso mediante el cual se verifica tu identidad para acceder a los servicios y las APIs de Google Cloud .
Para ejecutar código o muestras desde un entorno de desarrollo local, puedes autenticarte en Compute Engine seleccionando una de las siguientes opciones:
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and
APIs, you don't need to set up authentication.
gcloud
Instala Google Cloud CLI.
Después de la instalación,
inicializa Google Cloud CLI ejecutando el siguiente comando:
Puedes usar un filtro de consulta para mostrar solo la información que deseas ver. Para ver solo los campos que se muestran en el resultado de ejemplo anterior, agrega un parámetro de consulta similar al siguiente a tu solicitud.
Para ver las métricas de VMs individuales, haz lo siguiente:
Haz clic en el nombre de la VM de la que deseas ver las métricas de rendimiento. Se abrirá la página de Detalles.
Haz clic en la pestaña Observabilidad para abrir la página Descripción general de la observabilidad.
Explora las métricas de rendimiento de la VM. Las siguientes son las métricas clave relacionadas con el rendimiento del disco para una VM:
En la página Descripción general:
Uso de CPU. El porcentaje de CPU que usa la VM.
Tráfico de red. La tasa promedio de bytes enviados y recibidos en intervalos de un minuto.
Capacidad de procesamiento del disco. La tasa promedio de bytes escritos y leídos desde discos.
IOPS del disco. La tasa promedio de operaciones de lectura y escritura de E/S en los discos.
En la página Rendimiento de discos, consulta los siguientes gráficos:
Operaciones (IOPS). Tasa promedio de operaciones de lectura y escritura de E/S en el disco en períodos de un minuto.
IOPS por tipo de almacenamiento: Es la tasa promedio de operaciones de E/S en el disco en períodos de un minuto, agrupadas por el tipo de almacenamiento y el tipo de dispositivo.
Capacidad de procesamiento (MB/s): la tasa promedio de bytes escritos y leídos desde los discos de la VM en períodos de un minuto.
Capacidad de procesamiento por tipo de almacenamiento: Es la tasa promedio de bytes que se escriben en los discos de la VM y se leen desde ellos en períodos de un minuto, agrupados por tipo de almacenamiento y tipo de dispositivo.
Tamaño de tamaño promedio de E/S. El tamaño promedio de las operaciones de lectura y escritura de E/S en los discos. Las operaciones de E/S aleatorias pequeñas (de 4 a 16 KiB) suelen estar limitadas por IOPS y las operaciones de E/S secuenciales o grandes (256 KiB-1 MiB) suelen estar limitadas por la capacidad de procesamiento.
Promedio de longitud de la cola: La cantidad de operaciones de E/S de disco en cola y en ejecución, también llamada profundidad de cola, para los 5 dispositivos principales. Para alcanzar los límites de rendimiento de los volúmenes de Hyperdisk y Persistent Disk, usa una profundidad de cola de E/S alta.
Promedio de latencia de E/S: La latencia promedio de las operaciones de lectura y escritura de E/S agregadas en las operaciones de todos los dispositivos de almacenamiento en bloque conectados a la VM, medidos por el agente de supervisión en la VM. Este valor incluye el tiempo de procesamiento del sistema operativo y el sistema de archivos.
Analiza las IOPS necesarias para tu carga de trabajo
A fin de determinar las IOPS necesarias para tu carga de trabajo, ten en cuenta las IOPS máximas y promedio y las tasas de capacidad de procesamiento durante los momentos de uso máximo y, también, durante un ciclo de carga de trabajo normal para tener una idea de los requisitos de la carga de trabajo.
Observa los requisitos de IOPS de tu carga de trabajo mediante cualquiera de los siguientes métodos:
Usa la pestaña Monitoring en la página de detalles del disco en la consola deGoogle Cloud .
Según los valores de la métrica observados, determina si debes ajustar las IOPS aprovisionadas para tu VM. Por ejemplo:
Si la tasa máxima de IOPS se acerca a las IOPS aprovisionadas para el volumen de hiperdiscos, puedes intentar aumentar las IOPS aprovisionadas para el volumen de hiperdiscos a fin de aumentar el rendimiento de tu aplicación.
Si la tasa máxima de IOPS es más baja que las IOPS aprovisionadas, puedes reducir las IOPS aprovisionadas para el volumen de Hyperdisk para reducir el costo del disco.
Analiza la capacidad de procesamiento necesaria para tu carga de trabajo
Puedes aprovisionar la capacidad de procesamiento por separado de la capacidad del disco para los siguientes tipos de Hyperdisk:
Hiperdisco balanceado
Alta disponibilidad balanceada de Hyperdisk
Capacidad de procesamiento del hiperdisco
Hyperdisk ML
Puedes especificar el nivel de capacidad de procesamiento de destino para un volumen determinado. Los volúmenes individuales tienen aislamiento total de rendimiento, y cada volumen obtiene el rendimiento proporcionado. Sin embargo, la capacidad de procesamiento se ve limitada por los límites por VM para la VM a la que están conectados tus volúmenes. Para conocer estos límites, consulta Límites de rendimiento de Hyperdisk.
Las operaciones de lectura y escritura se descuentan del límite de capacidad de procesamiento aprovisionado para un volumen de Hyperdisk Throughput. La capacidad de procesamiento aprovisionada y los límites máximos se aplican al total combinado de capacidad de procesamiento de lectura y escritura.
Observa los requisitos de capacidad de procesamiento de tu carga de trabajo mediante cualquiera de los siguientes métodos:
Usa la pestaña Monitoring en la página de detalles del disco en la consola deGoogle Cloud .
Si la capacidad de procesamiento total aprovisionada para uno o más volúmenes de Hyperdisk Throughput supera la capacidad de procesamiento total disponible a nivel de la instancia, el rendimiento se limita al rendimiento a nivel de la VM.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-19 (UTC)"],[[["\u003cp\u003eYou can review the provisioned input/output operations per second (IOPS) and throughput for Google Cloud Hyperdisk volumes, which can be changed once every 4 hours with each change being logged.\u003c/p\u003e\n"],["\u003cp\u003eTo view Hyperdisk performance settings, you can use the Google Cloud console's Disks page, the \u003ccode\u003egcloud compute disks describe\u003c/code\u003e command, or a REST API \u003ccode\u003ecompute.disks.get\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eVM performance metrics, including CPU utilization, network traffic, disk throughput, and disk IOPS, are available on the Observability tab of the VM Details page in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eTo determine the optimal IOPS and throughput for your workload, you should monitor peak and average usage patterns, adjusting the provisioned levels based on whether performance is exceeding or falling short of requirements.\u003c/p\u003e\n"],["\u003cp\u003eHyperdisk Balanced and Hyperdisk Throughput allow you to provision throughput separately from disk capacity, but performance is capped by the per-VM limits of the VM to which the volumes are attached.\u003c/p\u003e\n"]]],[],null,["*** ** * ** ***\n\nYou can view the disk description to see the provisioned input/output\noperations per second (IOPS) or the provisioned throughput for\nGoogle Cloud Hyperdisk volumes.\n\nYou can change the provisioned IOPS or throughput once in every 4 hour period.\nEach change of the IOPS or throughput level is logged. You can review the\nlog history and compare it with performance metrics to understand how the\nprovisioned IOPS and throughput levels relate to the performance level\nobserved by your workload.\n\nBefore you begin\n\n- If you haven't already, set up [authentication](/compute/docs/authentication). Authentication verifies your identity for access to Google Cloud services and APIs. To run code or samples from a local development environment, you can authenticate to Compute Engine by selecting one of the following options:\n\n Select the tab for how you plan to use the samples on this page: \n\n Console\n\n\n When you use the Google Cloud console to access Google Cloud services and\n APIs, you don't need to set up authentication.\n\n gcloud\n 1.\n [Install](/sdk/docs/install) the Google Cloud CLI.\n\n After installation,\n [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command:\n\n ```bash\n gcloud init\n ```\n\n\n If you're using an external identity provider (IdP), you must first\n [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n | **Note:** If you installed the gcloud CLI previously, make sure you have the latest version by running `gcloud components update`.\n 2. [Set a default region and zone](/compute/docs/gcloud-compute#set_default_zone_and_region_in_your_local_client).\n\n REST\n\n\n To use the REST API samples on this page in a local development environment, you use the\n credentials you provide to the gcloud CLI.\n 1. [Install](/sdk/docs/install) the Google Cloud CLI. After installation, [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command: \n\n ```bash\n gcloud init\n ```\n 2. If you're using an external identity provider (IdP), you must first [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n\n For more information, see\n [Authenticate for using REST](/docs/authentication/rest)\n in the Google Cloud authentication documentation.\n\nView the provisioned performance settings for Hyperdisk\n\nTo view the provisioned IOPS or throughput for your Hyperdisk\nvolumes, view the disk information. \n\nConsole\n\n1. In the Google Cloud console, go to the **Disks** page.\n\n [Go to Disks](https://console.cloud.google.com/compute/disks)\n2. Click the name of the disk to view the configuration details.\n\nScreenshot of the configured properties for a Hyperdisk\n\ngcloud\n\n- Use the [`gcloud compute disks describe` command](/sdk/gcloud/reference/compute/disks/describe)\n to view the disk details.\n\n ```\n gcloud compute disks describe DISK_NAME \\\n --zone ZONE_NAME \\\n --format=\"text(name, provisionedIops, provisionedThroughput, sizeGb)\"\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDISK_NAME\u003c/var\u003e: the name of the Hyperdisk volume.\n - \u003cvar translate=\"no\"\u003eZONE_NAME\u003c/var\u003e: the zone where the Hyperdisk volume was created.\n\n The output shows the name of the disk, the current disk size and the\n provisioned IOPS or throughput, for example: \n\n ```\n name: my-hyperdisk-b\n provisionedIops: '8500'\n provisionedThroughput: '140'\n sizeGb: '150'\n ```\n\nREST\n\nConstruct a `GET` request to the\n[`compute.disks.get` method](/compute/docs/reference/rest/v1/disks/get).\nIn the request body, specify the name of the Hyperdisk volume. \n\n```\nGET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/disks/DISK_NAME/get\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID.\n- \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e: the zone where your Hyperdisk volume is located.\n- \u003cvar translate=\"no\"\u003eDISK_NAME\u003c/var\u003e: the name of the Hyperdisk volume to view.\n\nIn the response body, you can view the current disk size, provisioned\nIOPS, and throughput, for example: \n\n```\n{\n ...\n \"name\": \"my-hyperdisk-x\",\n \"physicalBlockSizeBytes\": \"4096\",\n \"provisionedIops\": \"100000\",\n ...\n \"sizeGb\": \"1000\",\n \"status\": \"READY\",\n ...\n}\n```\n\nYou can use a query filter to return only the information you want to\nview. To view only the fields shown in the preceding example output, append\na query parameter similar to the following to your request. \n\n ?fields=name,physicalBlockSizeBytes,provisionedIops,provisionedThroughput,sizeGb,status\n\nView disk performance metrics\n\nTo view performance metrics for your VMs, use the Cloud Monitoring\nobservability metrics available in the Google Cloud console.\n\n1. In the Google Cloud console, go to the **VM Instances** page.\n\n\n [Go to VM instances](https://console.cloud.google.com/compute/instances)\n2. To view metrics for individual VMs:\n\n 1. Click the name of the VM you want to view performance metrics for. The VM\n **Details** page opens.\n\n 2. Click the **Observability** tab to open the Observability **Overview**\n page.\n\n3. Explore the VM's performance metrics. The following are key metrics\n related to disk performance for a VM:\n\n - On the **Overview** page:\n\n - **CPU Utilization.** The percent of CPU used by the VM.\n\n - **Network Traffic.** The average rate of bytes sent and received\n in one minute intervals.\n\n - **Disk Throughput.** The average rate of bytes written to and read from\n disks.\n\n - **Disk IOPS.** The average rate of I/O read and write operations to\n disks.\n\n - On the **Disks Performance** page, view the following charts:\n\n - **Operations (IOPS).** The average rate of I/O read and write operations\n to the disk in one-minute time periods.\n\n - **IOPS by Storage Type** The average rate of I/O operations to the disk\n in one-minute time periods, grouped by the storage type and device type.\n\n - **Throughput (MB/s)** The average rate of bytes written to and read from\n the VM's disks in one-minute time periods.\n\n - **Throughput by Storage Type** The average rate of bytes written to and\n read from the VM's disks in one-minute time periods, grouped by the\n storage type and device type.\n\n - **I/O Size Avg.** The average size of I/O read and write operations to\n disks. Small (4 to 16 KiB) random I/O operations are usually\n limited by IOPS and sequential or large (256 KiB-1 MiB)\n I/O operations are usually limited by throughput.\n\n - **Queue Length Avg.** The number of queued and running disk I/O\n operations, also called *queue depth* , for the top 5 devices. To reach\n the performance limits of your Hyperdisk and Persistent Disk\n volumes,\n [use a high I/O queue depth](/compute/docs/disks/optimizing-pd-performance#io-queue-depth).\n\n - **I/O Latency Avg.** The average latency of I/O read and write operations\n aggregated across operations of all block storage devices attached to the\n VM, measured by the Ops Agent in the VM. This value\n includes operating system and file system processing time.\n\nAnalyze the IOPS needed for your workload\n\nTo determine the IOPS needed for your workload, make note of the peak and\naverage IOPS and throughput rates during times of peak usage, and also during a\nnormal workload cycle, to get an idea of your workload requirements.\n\nObserve the IOPS requirements of your workload using any of the following\nmethods:\n\n- Use the **Monitoring** tab on the disk details page in the Google Cloud console.\n- Use the **Observability page** for your VM, as described in [View disk performance metrics](#viewing-performance-metrics).\n\nBased on the observed metric values, determine if you should adjust the\nprovisioned IOPS for your VM. For example:\n\n- If the peak IOPS rate is close to the provisioned IOPS for the Hyperdisk volume, then you can try increasing the provisioned IOPS for the Hyperdisk volume to boost the performance of your application.\n- If the peak IOPS rate is consistently lower than the provisioned IOPS, then you can lower the provisioned IOPS for the Hyperdisk volume to reduce the cost of the disk.\n\nAnalyze the throughput needed for your workload\n\nYou can provision throughput separately from disk capacity for the\nfollowing Hyperdisk types:\n\n- Hyperdisk Balanced\n- Hyperdisk Balanced High Availability\n- Hyperdisk Throughput\n- Hyperdisk ML\n\nYou can specify the target throughput level\nfor a given volume. Individual volumes have full performance isolation - each\nvolume gets the performance provisioned to it. However, the throughput is\nultimately capped by per-VM limits for the VM to which your\nvolumes are attached. To review these limits, see\n[Hyperdisk performance limits](/compute/docs/disks/hyperdisk-perf-limits).\n\nBoth read and write operations count against the throughput limit provisioned\nfor a Hyperdisk volume. The provisioned throughput and the\nmaximum limits apply to the combined total of read and write throughput.\n\nObserve the throughput requirements of your workload using any of the following\nmethods:\n\n- Use the **Monitoring** tab on the disk details page in the Google Cloud console.\n- Use the **Observability page** for your VM, as described in [View disk performance metrics](#viewing-performance-metrics).\n\nIf the total throughput provisioned for one or more Hyperdisk\nvolumes exceeds the total throughput available at the VM level,\nthe performance is limited to the VM-level performance.\n\nWhat's next\n\n- Learn how to [optimize Hyperdisk performance](/compute/docs/disks/optimize-hyperdisk).\n- Learn how to [modify the settings for a Hyperdisk volume](/compute/docs/disks/modify-hyperdisks)\n- Learn about [Hyperdisk pricing](/compute/disks-image-pricing#section-2)."]]