您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

GPU 优化虚拟机大小GPU optimized virtual machine sizes

GPU 优化 VM 大小适用于专门针对大量图形绘制和视频编辑的虚拟机。GPU optimized VM sizes are for specialized virtual machines targeted for heavy graphic rendering and video editing. 可选择单个或多个 GPU。Available with single or multiple GPUs. 本文针对此分组中每种大小提供有关 vCPU、数据磁盘和 NIC 的数量,以及存储吞吐量和网络带宽的信息。This article provides information about the number of vCPUs, data disks, and NICs as well as storage throughput and network bandwidth for each size in this grouping.

NC 和 NV 大小也称为支持 GPU 的实例。The NC and NV sizes are also known as GPU-enabled instances. 这些大小是针对不同方案和用例优化的专用虚拟机大小,其中包含 NVIDIA 的 GPU 卡。They are specialized virtual machine sizes that include NVIDIA's GPU cards, optimized for different scenarios and use cases. NV 大小已针对远程可视化效果、流式处理、游戏、编码和 VDI 方案进行了优化和设计,使用 OpenGL 和 DirectX 之类的框架。The NV sizes are optimized and designed for remote visualization, streaming, gaming, encoding, and VDI scenarios utilizing frameworks such as OpenGL and DirectX. NC 大小更适用于计算密集型和网络密集型应用程序和算法,包括基于 CUDA 和 OpenCL 的应用程序和模拟。The NC sizes are more optimized for compute-intensive and network-intensive applications and algorithms, including CUDA- and OpenCL-based applications and simulations.

NV 实例采用 NVIDIA 的 Tesla M60 GPU 卡和 NVIDIA GRID,适用于桌面加速型应用程序和虚拟桌面,方便客户可视化其数据或模拟。The NV instances are powered by NVIDIA’s Tesla M60 GPU card and NVIDIA GRID for desktop accelerated applications and virtual desktops where customers are able to visualize their data or simulations. 用户可以在 NV 实例上直观显示其图形密集型工作流以获取高级图形功能,并可额外运行单精度工作负荷,例如编码和渲染。Users are able to visualize their graphics intensive workflows on the NV instances to get superior graphics capability and additionally run single precision workloads such as encoding and rendering. Tesla M60 采用 4096 CUDA 核心,其双 GPU 设计最多可以运行 36 个 1080p H.264 流。The Tesla M60 delivers 4096 CUDA cores in a dual-GPU design with up to 36 streams of 1080p H.264.

NC 实例采用 NVIDIA 的 Tesla K80 卡。The NC instances are powered by NVIDIA’s Tesla K80 card. 通过将 CUDA 用于能源勘探应用、碰撞模拟、光纤跟踪渲染、深度学习等领域,用户现在分析数据的速度要快得多。Users can now crunch through data much faster by leveraging CUDA for energy exploration applications, crash simulations, ray traced rendering, deep learning and more. Tesla K80 采用 4992 CUDA 核心,其双 GPU 设计最多可以执行 2.91 兆次的双精度浮点运算,以及 8.93 兆次的单精度浮点运算。The Tesla K80 delivers 4992 CUDA cores with a dual-GPU design, up to 2.91 Teraflops of double-precision and up to 8.93 Teraflops of single-precision performance.

NV 实例NV instances

大小Size vCPUvCPU 内存:GiBMemory: GiB 临时存储 (SSD) GiBTemp storage (SSD) GiB GPUGPU 最大数据磁盘数Maximum data disks
Standard_NV6Standard_NV6 66 5656 380380 11 2424
Standard_NV12Standard_NV12 1212 112112 680680 #N/A2 4848
Standard_NV24Standard_NV24 2424 224224 14401440 44 6464

1 GPU = 半块 M60 卡。1 GPU = one-half M60 card.

NC 实例NC instances

大小Size vCPUvCPU 内存:GiBMemory: GiB 临时存储 (SSD) GiBTemp storage (SSD) GiB GPUGPU 最大数据磁盘数Maximum data disks
Standard_NC6Standard_NC6 66 5656 380380 11 2424
Standard_NC12Standard_NC12 1212 112112 680680 #N/A2 4848
Standard_NC24Standard_NC24 2424 224224 14401440 44 6464
Standard_NC24rStandard_NC24r 2424 224224 14401440 44 6464

1 GPU = 半块 K80 卡。1 GPU = one-half K80 card.

支持 RDMARDMA capable

大小表定义Size table definitions

  • 存储容量的单位为 GiB 或 1024^3 字节。Storage capacity is shown in units of GiB or 1024^3 bytes. 比较以 GB(1000^3 字节)为单位的磁盘和以 GiB(1024^3 字节)为单位的磁盘时,请记住以 GiB 为单位的容量数显得更小。When comparing disks measured in GB (1000^3 bytes) to disks measured in GiB (1024^3) remember that capacity numbers given in GiB may appear smaller. 例如,1023 GiB = 1098.4 GBFor example, 1023 GiB = 1098.4 GB
  • 磁盘吞吐量的单位为每秒输入/输出操作数 (IOPS) 和 MBps,其中 MBps = 10^6 字节/秒。Disk throughput is measured in input/output operations per second (IOPS) and MBps where MBps = 10^6 bytes/sec.
  • 数据磁盘可以在缓存或非缓存模式下运行。Data disks can operate in cached or uncached modes. 对于缓存数据磁盘操作,主机缓存模式设置为 ReadOnlyReadWriteFor cached data disk operation, the host cache mode is set to ReadOnly or ReadWrite. 对于非缓存数据磁盘操作,主机缓存模式设置为 NoneFor uncached data disk operation, the host cache mode is set to None.
  • 若要获得 VM 的最佳性能,应将数据磁盘数限制为每 vCPU 2 个磁盘。If you want to get the best performance for your VMs, you should limit the number of data disks to 2 disks per vCPU.
  • 预期的网络带宽是指跨所有 NIC 为每个 VM 类型分配的最大聚合带宽,适用于所有目标。Expected network bandwidth is the maximum aggregated bandwidth allocated per VM type across all NICs, for all destinations. 不保证能够达到上述预期上限,但目的是提供相关指导,以便为目标应用程序选择适当的 VM 类型。Upper limits are not guaranteed, but are intended to provide guidance for selecting the right VM type for the intended application. 实际的网络性能将取决于许多因素,包括网络拥塞、应用程序负载和网络设置。Actual network performance will depend on a variety of factors including network congestion, application loads, and network settings. 有关如何优化网络吞吐量的信息,请参阅为 Windows 和 Linux 优化网络吞吐量For information on optimizing network throughput, see Optimizing network throughput for Windows and Linux. 若要在 Linux 或 Windows 中达到预期的网络性能,可能需要选择特定的版本,或者需要优化 VM。To achieve the expected network performance on Linux or Windows, it may be necessary to select a specific version or optimize your VM. 有关详细信息,请参阅如何针对虚拟机吞吐量进行可靠的测试For more information, see How to reliably test for virtual machine throughput.

  • † 16 vCPU 性能在即将推出的版本中会始终达到上限。† 16 vCPU performance will consistently reach the upper limit in an upcoming release.

支持的分发和驱动程序Supported distributions and drivers

NV 实例 - NVIDIA GRID 驱动程序NV instances - NVIDIA GRID drivers

分发Distribution 驱动程序Driver
Ubuntu 16.04 LTSUbuntu 16.04 LTS

Red Hat Enterprise Linux 7.3Red Hat Enterprise Linux 7.3

基于 CentOS 的 7.3CentOS-based 7.3
NVIDIA GRID 5.0,驱动程序分支为 R384NVIDIA GRID 5.0, driver branch R384

备注

Microsoft 将重新分发适用于 NV VM 的 NVIDIA GRID 驱动程序安装程序。Microsoft redistributes NVIDIA GRID driver installers for NV VMs. 在 Azure NV VM 上仅安装这些 GRID 驱动程序。Install only these GRID drivers on Azure NV VMs. 这些驱动程序包括 Azure 中 GRID 虚拟 GPU 软件的授权。These drivers include licensing for GRID Virtual GPU Software in Azure.

NC 实例 - NVIDIA Tesla 驱动程序NC instances - NVIDIA Tesla drivers

分发Distribution 驱动程序Driver
Ubuntu 16.04 LTSUbuntu 16.04 LTS

Red Hat Enterprise Linux 7.3Red Hat Enterprise Linux 7.3

基于 CentOS 的 7.3CentOS-based 7.3
NVIDIA CUDA 9.0,驱动程序分支为 R384NVIDIA CUDA 9.0, driver branch R384

警告

在 Red Hat 产品上安装第三方软件可能会影响 Red Hat 支持条款。Installation of third-party software on Red Hat products can affect the Red Hat support terms. 请参阅 Red Hat 知识库文章See the Red Hat Knowledgebase article.

有关驱动程序安装和验证步骤,请参阅适用于 Linux 的 N 系列驱动程序安装程序For driver installation and verification steps, see N-series driver setup for Linux.

部署注意事项Deployment considerations

  • 有关 N 系列 VM 的可用性,请查看可用产品(按区域)For availability of N-series VMs, see Products available by region.

  • N 系列 VM 只能按 Resource Manager 部署模型部署。N-series VMs can only be deployed in the Resource Manager deployment model.

  • 使用 Azure 门户创建 N 系列的 VM 时,请在“基本信息”边栏选项卡中选择“HDD”作为“VM 磁盘类型”。When creating an N-series VM using the Azure portal, on the Basics blade, select a VM disk type of HDD. 若要选择可用的 N 系列大小,请在“大小”边栏选项卡中单击“全部查看”。To choose an available N-series size, on the Size blade, click View all.

  • N 系列 VM 不支持 Azure 高级存储所支持的 VM 磁盘。N-series VMs do not support VM disks that are backed by Azure Premium storage.

  • 如果需要部署的 N 系列 VM 较多,请考虑使用即用即付订阅或其他购买选项。If you want to deploy more than a few N-series VMs, consider a pay-as-you-go subscription or other purchase options. 如果使用的是 Azure 免费帐户,则仅可以使用有限数量的 Azure 计算核心。If you're using an Azure free account, you can use only a limited number of Azure compute cores.

  • 可能需要提高 Azure 订阅中的核心配额(按区域)以及单独针对 NC 或 NV 核心的配额。You might need to increase the cores quota (per region) in your Azure subscription, and increase the separate quota for NC or NV cores. 若要请求提高配额,可免费提出在线客户支持请求To request a quota increase, open an online customer support request at no charge. 默认限制可能因订阅类别而异。Default limits may vary depending on your subscription category.

  • 可以部署在 N 系列 VM 上的一个 VM 映像是 Azure 数据科学虚拟机One VM image you can deploy on N-series VMs is the Azure Data Science Virtual Machine. 数据科学虚拟机预安装并配置了许多热门的数据科学工具和深度学习工具。The Data Science Virtual Machine preinstalls and configures many popular data science and deep learning tools. 它还预安装了 NVIDIA Tesla GPU 驱动程序,适用于 NC 实例。It also preinstalls NVIDIA Tesla GPU drivers for NC instances.

  • 不应在 Ubuntu NC VM 上安装 X server 或使用 Nouveau 驱动程序的其他系统。You shouldn't install X server or other systems that use the Nouveau driver on Ubuntu NC VMs. 在安装 NVIDIA GPU 驱动程序之前,需要禁用 Nouveau 驱动程序。Before installing NVIDIA GPU drivers, you need to disable the Nouveau driver.

其他大小Other sizes

后续步骤Next steps

了解有关 Azure 计算单元 (ACU) 如何帮助你跨 Azure SKU 比较计算性能的详细信息。Learn more about how Azure compute units (ACU) can help you compare compute performance across Azure SKUs.