Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Linux
Windows
Per le applicazioni di fascia alta con requisiti di prestazioni elevati, utilizza i dischi permanenti con carico estremo.
I dischi permanenti con carico estremo offrono un numero massimo di IOPS e un throughput più elevati e consentono di eseguire separatamente il provisioning di IOPS e capacità. I dischi permanenti con carico estremo sono disponibili in tutte le zone.
Quando crei un disco permanente con carico estremo, puoi scegliere il livello di IOPS preferito nell'intervallo da 2500 a 120.000 IOPS. Questo documento illustra diverse importanti limitazioni dell'utilizzo dei dischi permanenti con carico estremo, presenta considerazioni per raggiungere i massimi livelli di prestazioni possibili e spiega come eseguire il provisioning delle IOPS utilizzando la console Google Cloud , gcloud CLI o REST.
Prima di iniziare
Se non l'hai ancora fatto, configura l'autenticazione.
L'autenticazione è
il processo mediante il quale la tua identità viene verificata per l'accesso a servizi e API di Google Cloud .
Per eseguire codice o esempi da un ambiente di sviluppo locale, puoi autenticarti su
Compute Engine selezionando una delle seguenti opzioni:
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
Install the Google Cloud CLI.
After installation,
initialize the Google Cloud CLI by running the following command:
Per raggiungere i massimi livelli di prestazioni offerti dai dischi permanenti con carico estremo, devi collegarli a istanze di macchine virtuali (VM) che supportano tipi di macchine grandi, tra cui M2, M3 o N2-64 e tipi più grandi.
Tutti gli altri tipi di macchine non sono supportati per l'utilizzo in produzione. Puoi collegare un disco permanente con carico estremo a una VM con una forma di macchina non supportata, ma le prestazioni del disco torneranno al valore più basso tra il numero di IOPS di cui hai eseguito il provisioning e i livelli di IOPS del disco permanente SSD.
Le VM N2 con 64 o 80 vCPU richiedono la piattaforma CPU Intel Ice Lake per raggiungere i limiti di prestazioni dichiarati. Le VM N2 che utilizzano le piattaforme CPU Intel Cascade Lake avranno prestazioni leggermente inferiori. Per saperne di più, consulta Impostazione della piattaforma CPU minima per le istanze VM.
La tabella seguente elenca i limiti delle prestazioni dei dischi permanenti con carico estremo per i tipi di macchine supportati.
Tipo di macchina
Numero di vCPU
IOPS massime
Throughput di lettura massimo (MB/s)
Throughput di scrittura massimo (MB/s)
N2
64 o 80 su Intel Cascade Lake
120.000
2200
2200
64 o più su Intel Ice Lake
120.000
4000
3000
M2
208
40.000
2200
1200
416
40.000
2200
1200
M3
64 o meno
40.000
2200
1200
128
80.000
2200
1700
Limiti di prestazioni e modelli di workload
Per raggiungere i massimi livelli di prestazioni offerti dai dischi permanenti con carico estremo, devi considerare i seguenti parametri dei workload:
Dimensioni I/O: i limiti di IOPS massime presuppongono che tu stia utilizzando dimensioni I/O di 4 o 8 KB. I limiti di throughput massimo presuppongono che tu stia utilizzando una dimensione I/O di 1 MB.
Lunghezza coda: la lunghezza della coda è il numero di richieste in attesa per un disco permanente. Per raggiungere i limiti massimi delle prestazioni, devi ottimizzare la lunghezza della coda in base alle dimensioni I/O, alle IOPS e alla sensibilità alla latenza del tuo workload. La lunghezza ottimale della coda varia in base al singolo workload, ma in genere deve essere superiore a 128.
Dimensione del set di lavoro: la dimensione del set di lavoro è la quantità di dati di un disco a cui viene eseguito l'accesso in un breve periodo di tempo. Per ottenere prestazioni ottimali, limita le dimensioni del set di lavoro a meno di 1,5 TB.
Utilizzo simultaneo di altri dischi permanenti: i dischi permanenti con carico estremo condividono i limiti di IOPS e throughput massimi per VM con tutti gli altri dischi permanenti collegati alla stessa VM. Quando monitori le prestazioni dei dischi permanenti con carico estremo, tieni conto di eventuali richieste di I/O inviate ad altri dischi collegati alla stessa VM.
Altre limitazioni
I dischi permanenti con carico estremo esistono solo a livello di zona. Non puoi creare dischi permanenti con carico estremo a livello di regione.
Non puoi collegare più istanze VM in modalità di sola lettura a un disco permanente con carico estremo.
Puoi ridimensionare un disco permanente con carico estremo solo una volta in un periodo di 6 ore.
Throughput
Per i dischi permanenti con carico estremo, il throughput aumenta in base al numero di IOPS di cui esegui il provisioning con un rapporto di 256 KB di throughput per I/O. Tuttavia, il throughput è limitato in ultima analisi dai limiti per istanza, che dipendono dal numero di vCPU nell'istanza VM a cui sono collegati i dischi con carico estremo.
Il throughput per i dischi permanenti con carico estremo non è full-duplex. I limiti di throughput massimo elencati in questo documento si applicano alla somma totale del throughput di lettura e scrittura.
Provisioning delle IOPS
Per eseguire il provisioning delle IOPS in base ai requisiti del workload, segui questi passaggi:
Prendi nota del requisito di IOPS del tuo workload.
Determina le IOPS necessarie per soddisfare i requisiti di throughput del workload.
IOPS richieste = throughput in KB al secondo/256
Imposta le IOPS di cui esegui il provisioning sul maggiore dei due numeri.
In Tipo di disco, seleziona Disco permanente con carico estremo.
In IOPS sottoposte a provisioning, seleziona il limite massimo di IOPS nell'intervallo da 2500 a 120.000 IOPS. È previsto un costo associato alle IOPS sottoposte a provisioning.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 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,["# Extreme Persistent Disk\n\nLinux 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\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\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---------------------\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----------------------------------------------\n\nThe following table lists the performance limits for the supported machine types.\n\n### Performance 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\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----------\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-----------------\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\n### Console\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\n### gcloud\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\n### REST\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\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)."]]