Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Linux
Windows
Para aplicaciones críticas de alto rendimiento, usa volúmenes de Persistent Disk extremo.
Los volúmenes de Persistent Disk extremos tienen una cantidad máxima de IOPS y capacidad de procesamiento más altas que otros volúmenes de Persistent Disk, y te permiten aprovisionar IOPS y capacidad de procesamiento por separado. El disco persistente extremo está disponible en todas las zonas.
Cuando creas un disco persistente extremo, puedes aprovisionar de 2,500 a 120,000 IOPS.
Si necesitas más de 125,000 IOPS, te recomendamos Google Cloud Hyperdisk.
Hyperdisk ofrece la mayor cantidad de IOPS y capacidad de procesamiento en Compute Engine y está disponible en los tipos de máquinas más recientes.
En este documento, se explican varias restricciones del uso de discos persistentes extremos, consideraciones para alcanzar los niveles de rendimiento máximos posibles y cómo aprovisionar IOPS con la consola de Google Cloud , gcloud CLI o REST.
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:
Si deseas obtener más información, consulta Autentica para usar REST en la Google Cloud documentación de autenticación.
Compatibilidad con el tipo de máquina
Puedes usar las series de máquinas N2, M2 y M3 con Extreme Persistent Disk. Las VMs N2 requieren al menos 64 CPU virtuales.A continuación, se incluye una lista de los tipos de máquinas que admiten los niveles de rendimiento máximo que ofrece el disco persistente extremo:
El resto de los tipos de máquinas no son compatibles con el uso en producción.
Si deseas usar un tipo de máquina no compatible, te recomendamos que uses Hyperdisk.
Las VMs N2 con 64 u 80 CPU virtuales requieren la plataforma de CPU Intel Ice Lake para alcanzar los límites de rendimiento establecidos. Las VMs N2 que usan plataformas de CPU Cascade Lake de Intel tendrán un rendimiento ligeramente más bajo. Si deseas obtener más información, consulta configura la plataforma de CPU mínima para instancias de VM.
Límites de rendimiento para Persistent Disk extremo
En la siguiente tabla, se enumeran los límites de rendimiento para los tipos de máquinas compatibles.
Tipo de máquina
Recuento de CPU virtuales
Cantidad máxima de IOPS
Capacidad de procesamiento de lectura máxima (MB/s)
Capacidad de procesamiento máxima de escritura (MB/s)
N2
64 u 80 en Intel Cascade Lake
120,000
2,200
2,200
64 o más en Intel Ice Lake
120,000
4,000
3,000
M2
208
40,000
2,200
1,200
416
40,000
2,200
1,200
M3
64 o menos
40,000
2,200
1,200
128
80,000
2,200
1,700
Límites de rendimiento y patrones de carga de trabajo
Para alcanzar los niveles de rendimiento máximos que ofrecen los volúmenes de Persistent Disk extremos, debes tener en cuenta los siguientes parámetros de carga de trabajo:
Tamaño de E/S: los límites de IOPS máximos suponen que estás usando un tamaño de E/S de 4 u 8 KB. Los límites de capacidad de procesamiento máximos suponen que estás usando un tamaño de E/S de 1 MB.
Longitud de la cola: la longitud de la cola es la cantidad de solicitudes pendientes para un disco persistente. Para alcanzar los límites de rendimiento máximos, debes ajustar la longitud de la cola de acuerdo con el tamaño de E/S, IOPS y sensibilidad de latencia de tu carga de trabajo. La longitud óptima de las colas varía para cada carga de trabajo, pero, por lo general, debe ser mayor que 128.
Tamaño del conjunto de trabajo: el tamaño del conjunto de trabajo es la cantidad de datos de un disco al que se accede en un período corto. Para lograr un rendimiento óptimo, limita los tamaños del conjunto de trabajo a menos de 1.5 TB.
Uso simultáneo de otros discos persistentes: Los volúmenes de Persistent Disk extremos comparten los límites máximos de IOPS y capacidad de procesamiento por VM con todos los demás discos persistentes conectados a la misma VM. Cuando supervises el rendimiento de tus volúmenes de Persistent Disk Extreme, ten en cuenta cualquier solicitud de E/S que envíes a otros discos conectados a la misma VM.
Otras restricciones
Los volúmenes de discos persistentes extremos solo son zonales. No puedes crear discos persistentes extremos regionales.
No puedes conectar varias instancias de VM en modo de solo lectura a un volumen de disco persistente Extreme.
Puedes cambiar el tamaño de un disco persistente extremo solo una vez en un período de 6 horas.
Capacidad de procesamiento
En el caso de los volúmenes de discos persistentes extremos, la capacidad de procesamiento se escala con la cantidad de IOPS que aprovisionas a una tasa de 256 KB de capacidad de procesamiento por E/S. Sin embargo, la capacidad de procesamiento se ve limitada por los límites por instancia que dependen de la cantidad de CPU virtuales en la instancia de VM a la que están conectados tus discos extremos.
La capacidad de procesamiento de los volúmenes de Extreme Persistent Disk no es de dúplex completo. Los límites de capacidad de procesamiento máximos que se indican en este documento se aplican a la suma total de la capacidad de procesamiento de lectura y escritura.
Aprovisiona IOPS
Para aprovisionar IOPS que coincidan con los requisitos de tu carga de trabajo, haz lo siguiente:
Ten en cuenta el requisito de IOPS de tu carga de trabajo.
Determina las IOPS necesarias para cumplir con los requisitos de capacidad de procesamiento de tu carga de trabajo.
IOPS obligatorias = capacidad de procesamiento en KB por segundo/256
Establece las IOPS aprovisionadas en el número más grande de los dos.
DISK_SIZE Es el tamaño del disco nuevo, expresado en GB. El tamaño de disco predeterminado para los volúmenes de Extreme Persistent Disk es de 1,000 GB.
IOPS_LIMIT: El límite máximo de IOPS en el rango de 2,500 a 120,000 IOPS Hay un costo asociado con los IOPS aprovisionados.
REST
Usa el método disks.insert para crear un disco nuevo y, luego, incluye las siguientes marcas:
POST https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/disks
{
"name": "DISK_NAME",
"type": "zones/ZONE/diskTypes/pd-extreme"
"provisionedIops": "IOPS_LIMIT"
}
Reemplaza lo siguiente:
PROJECT_ID: El ID de tu proyecto
ZONE: La zona de destino del disco
DISK_NAME: Un nombre para el disco
IOPS_LIMIT: El límite máximo de IOPS en el rango de 2,500 a 120,000 IOPS Hay un costo asociado con los IOPS aprovisionados.
[[["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\u003eExtreme persistent disks are designed for high-performance applications, offering adjustable IOPS from 2,500 to 120,000, and allow independent provisioning of IOPS and capacity.\u003c/p\u003e\n"],["\u003cp\u003eTo achieve maximum performance with extreme persistent disks, use large machine types like M2, M3, or N2-64 and larger, as other machine types may have performance limitations.\u003c/p\u003e\n"],["\u003cp\u003ePerformance is influenced by I/O size, queue length, working set size, and the concurrent use of other persistent disks, with maximum throughput limits being the total sum of read and write operations.\u003c/p\u003e\n"],["\u003cp\u003eYou can create extreme persistent disks using the Google Cloud console, gcloud CLI, or REST API by specifying the desired IOPS limit and size, and it's worth noting there is a cost associated with the provisioned IOPS.\u003c/p\u003e\n"],["\u003cp\u003eExtreme persistent disks have several restrictions, including being zonal-only, not supporting multiple VM read-only attachments, and limiting resizing to once every 6 hours.\u003c/p\u003e\n"]]],[],null,["Linux Windows\n\n*** ** * ** ***\n\nFor high-end performance-critical applications, use Extreme Persistent Disk volumes.\nExtreme Persistent Disk volumes feature higher maximum IOPS and throughput than\nother Persistent Disk volumes, and let you provision IOPS and capacity\nseparately. Extreme Persistent Disk is available in all [zones](/compute/docs/regions-zones).\n\nWhen you create an Extreme Persistent Disk, you can provision 2,500 to 120,000 IOPS.\nIf you need more than 125,000 IOPS, we recommend [Google Cloud Hyperdisk](/compute/docs/disks/hyperdisks).\nHyperdisk offers the highest IOPS and throughput in Compute Engine\nand is available on the latest machine types.\n\nThis document explains several restrictions of using Extreme Persistent Disk,\nconsiderations for reaching maximum possible performance levels, and how to provision IOPS\nusing the Google Cloud console, the gcloud CLI or\nREST.\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\nMachine shape support\n\nYou can use N2, M2 and M3 machine series with Extreme Persistent Disk. N2 VMs\nrequire at least 64 vCPUs.The following is list of machine types that support the\nmaximum performance levels offered by Extreme Persistent Disk:\n\n- [N2](/compute/docs/general-purpose-machines#n2_series):\n\n - **`n2-*-64`**\n - **`n2-*-80`**\n - **`n2-*-96`**\n - **`n2-*-128`**\n- [M2](/compute/docs/memory-optimized-machines#m2_series):\n\n - **`m2-*-208`**\n - **`m2-*-416`**\n- [M3](/compute/docs/memory-optimized-machines#m3_series):\n\n - **`m3-*-32`**\n - **`m3-*-64`**\n\nAll other machine types are not supported for production use.\nIf you'd like to use an unsupported machine type, we recommend\n[Hyperdisk](/compute/docs/disks/hyperdisks) instead.\n\nN2 VMs with 64 or 80 vCPUs require the Intel Ice Lake CPU platform to reach the\nstated performance limits. N2 VMs using Intel Cascade Lake CPU platforms will\nhave slightly lower performance. For more information, see [setting the minimum\nCPU platform for VM instances](/compute/docs/instances/specify-min-cpu-platform#startinginstancewithmincpuplatform).\n\nPerformance limits for Extreme Persistent Disk\n\nThe following table lists the performance limits for the supported machine types.\n\n| Machine type | vCPU count | Maximum IOPS | Maximum read throughput (MB/s) | Maximum write throughput (MB/s) |\n|--------------|--------------------------------|--------------|--------------------------------|---------------------------------|\n| N2 | 64 or 80 on Intel Cascade Lake | 120,000 | 2,200 | 2,200 |\n| N2 | 64 or more on Intel Ice Lake | 120,000 | 4,000 | 3,000 |\n| M2 | 208 | 40,000 | 2,200 | 1,200 |\n| M2 | 416 | 40,000 | 2,200 | 1,200 |\n| M3 | 64 or less | 40,000 | 2,200 | 1,200 |\n| M3 | 128 | 80,000 | 2,200 | 1,700 |\n\nPerformance limits and workload patterns\n\nTo reach the maximum performance levels offered by Extreme Persistent Disk volumes,\nyou must consider the following workload parameters:\n\n- **I/O size**: Maximum IOPS limits assume that you are using an I/O size of 4 or 8 KB. Maximum throughput limits assume that you are using an I/O size of 1 MB.\n- **Queue length**: Queue length is the number of pending requests for a persistent disk. To reach maximum performance limits, you must tune your queue length according to the I/O size, IOPS, and latency sensitivity of your workload. Optimal queue length varies for each workload, but typically should be larger than 128.\n- **Working set size**: Working set size is the amount of data of a disk being accessed within a short period of time. To achieve optimal performance, limit working set sizes to less than 1.5 TB.\n- **Concurrent use of other persistent disks**: Extreme Persistent Disk volumes share the per-VM maximum IOPS and throughput limits with all other persistent disks attached to the same VM. When monitoring the performance of your Extreme Persistent Disk volumes, take into account any I/O requests that you are sending to other disks attached to the same VM.\n\nOther restrictions\n\n- Extreme Persistent Disk volumes are zonal only. You can't create regional Extreme Persistent Disks.\n- You cannot attach multiple VM instances in read-only mode to an Extreme Persistent Disk volume.\n- You cannot [create an image or machine image](/compute/docs/images/create-delete-deprecate-private-images#create_image) from an extreme persistent disk.\n- You can resize an Extreme Persistent Disk only once in a 6 hour period.\n\nThroughput\n\nFor Extreme Persistent Disk volumes, throughput scales with the number of IOPS you\nprovision at a rate of 256 KB of throughput per I/O. However,\nthroughput is ultimately capped by per-instance limits that depend on the number\nof vCPUs on the VM instance to which your extreme disks are attached.\n\nThroughput for Extreme Persistent Disk volumes isn't full duplex. The maximum\nthroughput limits listed in this document apply to the sum total of read and\nwrite throughput.\n\nProvisioning IOPS\n\nTo provision IOPS to match your workload requirements, do the following:\n\n1. Note the IOPS requirement of your workload.\n2. Determine the IOPS required to fulfill the throughput requirements of your workload.\n - Required IOPS = throughput in KB per second / 256\n3. Set the provisioned IOPS to the larger of the two numbers.\n\nConsole\n\n1. [Create a new persistent disk](/compute/docs/disks/add-persistent-disk#console).\n2. Under **Disk type** , select **Extreme persistent disk**.\n3. Under **Provisioned IOPS**, select the maximum IOPS limit in the range of 2,500 to 120,000 IOPS. There is a cost associated with the provisioned IOPS.\n\ngcloud\n\nUse the [`gcloud compute disks create` command](/sdk/gcloud/reference/compute/disks/create)\nto create a new disk and include the following flags: \n\n```\ngcloud compute disks create DISK_NAME \\\n --size=DISK_SIZE \\\n --type=pd-extreme \\\n --provisioned-iops=IOPS_LIMIT\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eDISK_NAME\u003c/var\u003e: the name of the new disk\n- \u003cvar translate=\"no\"\u003eDISK_SIZE\u003c/var\u003e: the size, in GB, of the new disk. The default disk size for Extreme Persistent Disk volumes is 1,000 GB.\n- \u003cvar translate=\"no\"\u003eIOPS_LIMIT\u003c/var\u003e: the maximum IOPS limit in the range of 2,500 to 120,000 IOPS. There is a cost associated with the provisioned IOPS.\n\nREST\n\nUse the [`disks.insert` method](/compute/docs/reference/rest/v1/disks/insert)\nto create a new disk and include the following flags: \n\n```\nPOST https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/disks\n\n{\n \"name\": \"DISK_NAME\",\n \"type\": \"zones/ZONE/diskTypes/pd-extreme\"\n \"provisionedIops\": \"IOPS_LIMIT\"\n}\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 target zone for the disk\n- \u003cvar translate=\"no\"\u003eDISK_NAME\u003c/var\u003e: a name for the disk\n- \u003cvar translate=\"no\"\u003eIOPS_LIMIT\u003c/var\u003e: the maximum IOPS limit in the range of 2,500 to 120,000 IOPS. There is a cost associated with the provisioned IOPS.\n\nWhat's next?\n\n- Review [disk pricing](/compute/disks-image-pricing#disk) information.\n- Review [disk performance metrics](/compute/docs/disks/review-disk-metrics).\n- Learn how to [add an Extreme Persistent Disk volume to your VM](/compute/docs/disks/add-persistent-disk).\n- Learn how to [clone an Extreme Persistent Disk volume](/compute/docs/disks/clone-duplicate-disks)."]]