Windows 上的 VM 磁盘的可伸缩性和性能目标Scalability and performance targets for VM disks on Windows
可以将多个数据磁盘附加到 Azure 虚拟机。You can attach a number of data disks to an Azure virtual machine. 根据 VM 数据磁盘的可伸缩性和性能目标,可以确定满足性能和容量要求所需的磁盘数量和类型。Based on the scalability and performance targets for a VM's data disks, you can determine the number and type of disk that you need to meet your performance and capacity requirements.
重要
为了获得最佳性能,需要限制附加到虚拟机的、重度使用的磁盘数,以避免可能的性能限制。For optimal performance, limit the number of highly utilized disks attached to the virtual machine to avoid possible throttling. 如果附加的所有磁盘未在同时重度使用,则虚拟机可以支持更多的磁盘。If all attached disks aren't highly utilized at the same time, the virtual machine can support a larger number of disks.
对于 Azure 托管磁盘:For Azure managed disks:
下表说明了每个订阅的每个区域的资源数的默认限制和最大限制。The following table illustrates the default and maximum limits of the number of resources per region per subscription. 对每个资源组的托管磁盘、快照和映像的数量没有限制。There is no limit for the number of Managed Disks, snapshots and images per resource group.
资源Resource 限制Limit 标准托管磁盘Standard managed disks 50,00050,000 标准 SSD 托管磁盘Standard SSD managed disks 50,00050,000 高级托管磁盘Premium managed disks 50,00050,000 标准 LRS 快照Standard_LRS snapshots 50,00050,000 托管映像Managed image 50,00050,000
对于标准存储帐户: 标准存储帐户的总请求率上限为 20,000 IOPS。For Standard storage accounts: A Standard storage account has a maximum total request rate of 20,000 IOPS. 在标准存储帐户中,所有虚拟机磁盘的 IOPS 总数不应超过此限制。The total IOPS across all of your virtual machine disks in a Standard storage account should not exceed this limit.
可以根据请求率的限制,大致计算单个标准存储帐户可支持的重度使用磁盘数。You can roughly calculate the number of highly utilized disks supported by a single Standard storage account based on the request rate limit. 例如,对于基本层 VM,高使用率的磁盘数上限约为 66,即每个磁盘 20,000/300 IOPS。For example, for a Basic tier VM, the maximum number of highly utilized disks is about 66, which is 20,000/300 IOPS per disk. 对于标准层 VM,高使用率的磁盘数上限约为 40,即每个磁盘 20,000/500 IOPS。The maximum number of highly utilized disks for a Standard tier VM is about 40, which is 20,000/500 IOPS per disk.
对于高级存储帐户: 高级存储帐户的总吞吐量速率上限为 50 Gbps。For Premium storage accounts: A Premium storage account has a maximum total throughput rate of 50 Gbps. 所有 VM 磁盘的总吞吐量不应超过此限制。The total throughput across all of your VM disks should not exceed this limit.
请参阅 Windows VM 大小了解其他详细信息。See Windows VM sizes for additional details.
托管虚拟机磁盘Managed virtual machine disks
用星号表示的大小当前处于预览阶段。Sizes denoted with an asterisk are currently in preview. 请参阅我们的常见问题解答,了解它们可用的区域。See our FAQ to learn what regions they are available in.
标准 HDD 托管磁盘Standard HDD managed disks
标准磁盘类型Standard Disk Type | S4S4 | S6S6 | S10S10 | S15S15 | S20S20 | S30S30 | S40S40 | S50S50 | S60S60 | S70S70 | S80S80 |
---|---|---|---|---|---|---|---|---|---|---|---|
磁盘大小 (GiB)Disk size in GiB | 3232 | 6464 | 128128 | 256256 | 512512 | 1,0241,024 | 2,0482,048 | 4,0964,096 | 8,1928,192 | 16,38416,384 | 32,76732,767 |
每个磁盘的 IOPSIOPS per disk | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 1,300Up to 1,300 | 最多 2,000Up to 2,000 | 最多 2,000Up to 2,000 |
每个磁盘的吞吐量Throughput per disk | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 300 MB/秒Up to 300 MB/sec | 最多 500 MB/秒Up to 500 MB/sec | 最多 500 MB/秒Up to 500 MB/sec |
标准 SSD 托管磁盘Standard SSD managed disks
标准 SSD 大小Standard SSD sizes | E1E1 | E2E2 | E3E3 | E4E4 | E6E6 | E10E10 | E15E15 | E20E20 | E30E30 | E40E40 | E50E50 | E60E60 | E70E70 | E80E80 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
磁盘大小 (GiB)Disk size in GiB | 44 | 88 | 1616 | 3232 | 6464 | 128128 | 256256 | 512512 | 1,0241,024 | 2,0482,048 | 4,0964,096 | 8,1928,192 | 16,38416,384 | 32,76732,767 |
每个磁盘的 IOPSIOPS per disk | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 500Up to 500 | 最多 2,000Up to 2,000 | 最大 4,000Up to 4,000 | 最大 6,000Up to 6,000 |
每个磁盘的吞吐量Throughput per disk | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 60 MB/秒Up to 60 MB/sec | 最多 400 MB/秒Up to 400 MB/sec | 最多 600 MB/秒Up to 600 MB/sec | 最多 750 MB/秒Up to 750 MB/sec |
高级 SSD 托管磁盘:每磁盘限制Premium SSD managed disks: Per-disk limits
高级 SSD 大小Premium SSD sizes | P1P1 | P2P2 | P3P3 | P4P4 | P6P6 | P10P10 | P15P15 | P20P20 | P30P30 | P40P40 | P50P50 | P60P60 | P70P70 | P80P80 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
磁盘大小 (GiB)Disk size in GiB | 44 | 88 | 1616 | 3232 | 6464 | 128128 | 256256 | 512512 | 1,0241,024 | 2,0482,048 | 4,0964,096 | 8,1928,192 | 16,38416,384 | 32,76732,767 |
每个磁盘预配的 IOPSProvisioned IOPS per disk | 120120 | 120120 | 120120 | 120120 | 240240 | 500500 | 1,1001,100 | 2,3002,300 | 5,0005,000 | 7,5007,500 | 7,5007,500 | 16,00016,000 | 18,00018,000 | 20,00020,000 |
每个磁盘预配的吞吐量Provisioned Throughput per disk | 25 MB/秒25 MB/sec | 25 MB/秒25 MB/sec | 25 MB/秒25 MB/sec | 25 MB/秒25 MB/sec | 50 MB/秒50 MB/sec | 100 MB/秒100 MB/sec | 125 MB/秒125 MB/sec | 150 MB/秒150 MB/sec | 200 MB/秒200 MB/sec | 250 MB/秒250 MB/sec | 250 MB/秒250 MB/sec | 500 MB/秒500 MB/sec | 750 MB/秒750 MB/sec | 900 MB/秒900 MB/sec |
每个磁盘最大的突发 IOPSMax burst IOPS per disk | 3,5003,500 | 3,5003,500 | 3,5003,500 | 3,5003,500 | 3,5003,500 | 3,5003,500 | 3,5003,500 | 3,5003,500 | ||||||
每个磁盘最大的突发吞吐量Max burst throughput per disk | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | 170 MB/秒170 MB/sec | ||||||
最大突发持续时间Max burst duration | 30 分钟30 min | 30 分钟30 min | 30 分钟30 min | 30 分钟30 min | 30 分钟30 min | 30 分钟30 min | 30 分钟30 min | 30 分钟30 min | ||||||
符合预留条件Eligible for reservation | 否No | 否No | 否No | 否No | 否No | 否No | 否No | 否No | 是,最多一年Yes, up to one year | 是,最多一年Yes, up to one year | 是,最多一年Yes, up to one year | 是,最多一年Yes, up to one year | 是,最多一年Yes, up to one year | 是,最多一年Yes, up to one year |
非托管虚拟机磁盘Unmanaged virtual machine disks
标准非托管虚拟机磁盘:每磁盘限制Standard unmanaged virtual machine disks: Per-disk limits
VM 层VM tier | 基本层 VMBasic tier VM | 标准层 VMStandard tier VM |
---|---|---|
磁盘大小Disk size | 4,095 GB4,095 GB | 4,095 GB4,095 GB |
每个持久性磁盘最大 8 KB IOPSMaximum 8-KB IOPS per persistent disk | 300300 | 500500 |
执行最大 IOPS 的最大磁盘数Maximum number of disks that perform the maximum IOPS | 6666 | 4040 |
高级非托管虚拟机磁盘:每个帐户的限制Premium unmanaged virtual machine disks: Per-account limits
资源Resource | 限制Limit |
---|---|
每个帐户的总磁盘容量Total disk capacity per account | 35 TB35 TB |
每个帐户的总快照容量Total snapshot capacity per account | 10 TB10 TB |
每个帐户的最大带宽(传入 + 传出)1Maximum bandwidth per account (ingress + egress)1 | <=50 Gbps<=50 Gbps |
1“传入”指从请求发送到存储帐户的所有数据。1Ingress refers to all data from requests that are sent to a storage account. “传出”指从存储帐户接收的响应中的所有数据。Egress refers to all data from responses that are received from a storage account.
高级非托管虚拟机磁盘:每磁盘限制Premium unmanaged virtual machine disks: Per-disk limits
高级存储磁盘类型Premium storage disk type | P10P10 | P20P20 | P30P30 | P40P40 | P50P50 |
---|---|---|---|---|---|
磁盘大小Disk size | 128 GiB128 GiB | 512 GiB512 GiB | 1,024 GiB (1 TB)1,024 GiB (1 TB) | 2,048 GiB (2 TB)2,048 GiB (2 TB) | 4,095 GiB (4 TB)4,095 GiB (4 TB) |
每个磁盘的最大 IOPSMaximum IOPS per disk | 500500 | 2,3002,300 | 5,0005,000 | 7,5007,500 | 7,5007,500 |
每个磁盘的最大吞吐量Maximum throughput per disk | 100 MB/秒100 MB/sec | 150 MB/秒150 MB/sec | 200 MB/秒200 MB/sec | 250 MB/秒250 MB/sec | 250 MB/秒250 MB/sec |
每个存储帐户的最大磁盘数Maximum number of disks per storage account | 280280 | 7070 | 3535 | 1717 | 88 |
另请参阅See also
Azure 订阅和服务限制、配额和约束Azure subscription and service limits, quotas, and constraints