Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Linux
Windows
Setelah Anda menyediakan volume Google Cloud Hyperdisk, aplikasi dan sistem operasi Anda mungkin memerlukan penyesuaian performa untuk memenuhi kebutuhan performa Anda.
Di bagian berikut, kami menjelaskan beberapa elemen utama yang dapat disesuaikan untuk
meningkatkan performa dan cara menerapkan beberapa elemen ini ke jenis
beban kerja tertentu.
Untuk mengetahui ringkasan cara kerja performa Google Cloud Hyperdisk, lihat
Tentang performa Hyperdisk.
Menggunakan antrean I/O berkedalaman lebih
Volume Hyperdisk memiliki latensi lebih tinggi daripada disk yang terpasang secara lokal seperti
SSD lokal karena merupakan perangkat yang terhubung ke jaringan. API tersebut dapat memberikan IOPS
dan throughput yang sangat tinggi, tetapi Anda harus memastikan bahwa permintaan I/O yang cukup dilakukan
secara paralel. Jumlah permintaan I/O yang dilakukan secara paralel disebut sebagai kedalaman
antrean I/O.
Tabel berikut menunjukkan kedalaman antrean I/O yang direkomendasikan untuk memastikan Anda dapat
mencapai level performa tertentu. Tabel ini menggunakan sedikit
perkiraan latensi yang lebih tinggi untuk menampilkan
rekomendasi konservatif. Contoh ini mengasumsikan bahwa Anda menggunakan ukuran I/O 16 KB.
IOPS yang diinginkan
Kedalaman antrean
500
1
1.000
2
2.000
4
4.000
8
8.000
16
16.000
32
32.000
64
64.000
128
100.000
200
200.000
400
320.000
640
Throughput yang diinginkan (MB/dtk)
Kedalaman antrean
8
1
16
2
32
4
64
8
128
16
256
32
512
64
1.000
128
1.200
153
Memastikan CPU Anda kosong
Membaca dan menulis ke volume Hyperdisk memerlukan siklus CPU dari VM Anda. Jika
instance VM Anda kekurangan CPU, aplikasi Anda tidak akan dapat mengelola
IOPS yang dijelaskan sebelumnya. Untuk mencapai level IOPS yang sangat tinggi dan konsisten, Anda
harus memiliki CPU yang bebas untuk memproses I/O.
Meninjau metrik performa Hyperdisk
Anda dapat meninjau metrik performa disk di
Cloud Monitoring,
solusi pemantauan terintegrasiGoogle Cloud. Anda dapat menggunakan metrik ini
untuk mengamati performa disk dan resource VM lainnya di berbagai
beban kerja aplikasi.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eHyperdisk volumes may require performance tuning after provisioning to meet specific application and operating system needs.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing a high I/O queue depth is essential for achieving the high IOPS and throughput capabilities of network-attached Hyperdisk volumes, with the recommended depth varying based on desired performance levels.\u003c/p\u003e\n"],["\u003cp\u003eSufficient free CPU cycles on the VM are necessary to manage the high IOPS associated with Hyperdisk volumes, ensuring consistent performance.\u003c/p\u003e\n"],["\u003cp\u003eCloud Monitoring and the console's Observability page allow you to review Hyperdisk performance metrics to observe the performance of disks and VM resources under different workloads.\u003c/p\u003e\n"]]],[],null,["# Optimize Hyperdisk performance\n\nLinux Windows\n\n*** ** * ** ***\n\nAfter you provision your Google Cloud Hyperdisk volumes, your application and operating system\nmight require performance tuning to meet your performance needs.\n\nIn the following sections, we describe a few key elements that can be tuned for\nbetter performance and how you can apply some of these elements to specific\ntypes of workloads.\n\nFor an overview of how Google Cloud Hyperdisk performance works, see\n[About Hyperdisk performance](/compute/docs/disks/hyperdisk-performance).\n\nUse a high I/O queue depth\n--------------------------\n\nHyperdisk volumes have higher latency than locally attached disks such as local\nSSDs because they are network-attached devices. They can provide very high IOPS\nand throughput, but you need to make sure that enough I/O requests are done in\nparallel. The number of I/O requests done in parallel is referred to as the *I/O\nqueue depth*.\n\nThe following tables show the recommended I/O queue depth to ensure you can\nachieve a certain performance level. The tables use a slight\noverestimate of typical latency in order to show conservative\nrecommendations. The example assumes that you are using an I/O size of 16 KB.\n\nEnsure you have free CPUs\n-------------------------\n\nReading and writing to Hyperdisk volumes requires CPU cycles from your VM. If\nyour VM instance is starved for CPU, your application won't be able to manage\nthe IOPS described earlier. To achieve very high, consistent IOPS levels, you\nmust have CPUs free to process I/O.\n\nReview Hyperdisk performance metrics\n------------------------------------\n\nYou can review disk performance metrics in\n[Cloud Monitoring](https://console.cloud.google.com/monitoring),\nGoogle Cloud's integrated monitoring solution. You can use these metrics\nto observe the performance of your disks and other VM resources under different\napplication workloads.\n\nTo learn more, see\n[Reviewing disk performance metrics](/compute/docs/disks/review-disk-metrics).\n\nYou can also use the **Observability** page in the console to [view the disk\nperformance metrics](/compute/docs/disks/analyze-iops-hyperdisk#viewing-performance-metrics).\n\nWhat's next\n-----------\n\n- Learn about [Hyperdisk pricing](/compute/disks-image-pricing#hyperdisk).\n- [Analyze the provisioned IOPS for Hyperdisk volumes](/compute/docs/disks/analyze-iops-hyperdisk)."]]