Google Cloud Hyperdisk 볼륨을 프로비저닝한 후 애플리케이션 및 운영체제에 성능 요구사항을 충족하기 위한 성능 조정이 필요할 수 있습니다.
다음 섹션에서는 성능 향상을 위해 조정할 수 있는 몇 가지 핵심 요소와 이를 특정 유형의 워크로드에 적용하는 방법에 대해 설명합니다.
높은 I/O 큐 깊이 사용
하이퍼디스크 볼륨은 네트워크 연결 기기이므로 로컬 SSD와 같은 로컬 연결 디스크보다 지연 시간이 깁니다. 매우 높은 IOPS 및 처리량을 제공할 수 있지만 충분한 I/O 요청이 동시에 수행되도록 해야 합니다. 동시에 수행되는 I/O 요청 수를 I/O 큐 깊이라고 합니다.
다음 표에서는 특정 성능 수준을 달성할 수 있도록 보장하는 권장 I/O 큐 깊이를 보여줍니다. 이 표에서는 권장사항을 보수적으로 표시하기 위해 일반적인 지연 시간을 약간 과도하게 추정했습니다. 이 예시에서는 16KB의 I/O 크기를 사용한다고 가정합니다.
원하는 IOPS
큐 깊이
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
원하는 처리량(MB/s)
큐 깊이
8
1
16
2
32
4
64
8
128
16
256
32
512
64
1,000
128
1,200
153
사용 가능한 CPU가 있는지 확인
하이퍼디스크 볼륨을 읽고 쓰려면 VM에서 CPU 주기를 실행해야 합니다. VM 인스턴스에서 CPU가 부족하면 앞서 설명한 IOPS를 애플리케이션이 관리할 수 없습니다. 매우 높고 일관성 있는 IOPS 수준을 달성하려면 I/O 처리를 위해 사용 가능한 CPU가 필요합니다.
하이퍼디스크 성능 측정항목 검토
Google Cloud의 통합 모니터링 솔루션인 Cloud Monitoring에서 디스크 성능 측정항목을 검토할 수 있습니다. 이러한 측정항목을 사용하여 다른 애플리케이션 워크로드에서 디스크 및 기타 VM 리소스의 성능을 모니터링할 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-04-30(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,["Linux 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\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\n| **Desired IOPS** | **Queue depth** |\n|------------------|-----------------|\n| 500 | 1 |\n| 1,000 | 2 |\n| 2,000 | 4 |\n| 4,000 | 8 |\n| 8,000 | 16 |\n| 16,000 | 32 |\n| 32,000 | 64 |\n| 64,000 | 128 |\n| 100,000 | 200 |\n| 200,000 | 400 |\n| 320,000 | 640 |\n\n| **Desired throughput (MB/s)** | **Queue depth** |\n|-------------------------------|-----------------|\n| 8 | 1 |\n| 16 | 2 |\n| 32 | 4 |\n| 64 | 8 |\n| 128 | 16 |\n| 256 | 32 |\n| 512 | 64 |\n| 1,000 | 128 |\n| 1,200 | 153 |\n\nEnsure you have free CPUs\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\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- Learn about [Hyperdisk pricing](/compute/disks-image-pricing#hyperdisk).\n- [Analyze the provisioned IOPS for Hyperdisk volumes](/compute/docs/disks/analyze-iops-hyperdisk)."]]