Nvidia Virtual PC Best Practices
Nvidia Virtual PC Best Practices
Nvidia Virtual PC Best Practices
Solution Brief
Having a reliable virtual desktop infrastructure (VDI) is essential to any user's virtualized experience.
For NVIDIA Virtual PC (vPC), this means reliably built virtual machines that provide users a consistent
experience with flexible desktops to perform their daily work.
The NVIDIA vGPU solution is the industry's most advanced technology for virtualizing GPU hardware
acceleration. NVIDIA vPC improves virtual desktops for every user, with proven performance built on
NVIDIA GPUs for exceptional productivity, security, and IT manageability. NVIDIA virtual GPU software
divides NVIDIA GPU resources, enabling the GPU to be shared among multiple virtual machines
running any application.
This best-practices guide provides considerations for sizing your VDI desktop (such as vCPU, and
memory sizes), properly sizing a virtual GPU (vGPU) profile, and enabling hardware-based
acceleration to provide a rich user experience. The goal of this guide is to answer frequently asked
questions such as:
What is the recommended NVIDIA GPU for my NVIDIA vPC VDI?
What considerations should I make when evaluating NVIDIA virtual GPU (vGPU) profiles for my
users' workloads?
What VM configurations should I consider when designing and deploying NVIDIA vPC?
Understanding users' workloads and their related frame buffer requirements can help you determine
the overall density requirements of your VDI desktop environment. Digital worker or knowledge
worker use cases will vary per user depending on many factors, including:
Number and type of applications
File sizes
Number of monitors and their resolutions
To provide a rich user experience for VDI desktop users, select a GPU that is purpose built for high-
density, graphics-rich VDI and a vGPU profile that is optimized for VDI desktop users’ workloads. Also
ensure that the GPU’s error-correcting code (ECC) memory setting is compatible with NVIDIA vPC and
that the amount of frame buffer in your selected vGPU profiles is sufficient for the number and
resolutions of the monitors that you plan to use with each vGPU.
Note: Although NVIDIA vPC is supported on other data center GPUs, it is essential to consider the cost per
card and total return on investment (ROI) when selecting a GPU for use with NVIDIA vPC. For additional
information, refer to the chapter about NVIDIA GPUs recommended for virtualization in the Virtual GPU
Positioning Guide.
The following features of the NVIDIA A16 GPU offer an exceptional VDI user experience:
64 GB of memory (on four GPUs, each with 16GB of memory)
To deploy NVIDIA Ampere GPUs, ensure that your environment meets the following requirements:
SR-IOV is supported.
The following software is running in your environment:
• NVIDIA virtual GPU software version 13 or higher
• VMware vSphere ESXi 7.0 Update 2 (7.0.2) or higher
Support for NVIDIA vGPU software requires the Enterprise Plus Edition of VMware vSphere
Hypervisor (ESXi). For details, refer to VMware vSphere Edition Comparison (PDF).
It is important to note that workloads will vary for each user depending on many factors, including the
number of applications, the types of applications, file sizes, and the number of monitors and their
resolution. Frame buffer should be continuously monitored because user behavior can change
throughout a project, and individual roles change within the organization. A user that was once a light
user of graphics might become a heavy user of graphics after a change of teams or assignment to a
different project. Management and monitoring tools enable administrators and IT staff to ensure that
their deployment is optimized for each user.
A commonly used monitoring tool that helps organizations track their needs is the GPU Profiler. The
profiler quickly captures real-time resource utilization while workloads are being executed within the
virtual machine. Refer to the NVIDIA vPC Sizing Guide for additional information.
Note: The maximum number of vGPUs that can be created simultaneously on a physical GPU is
defined by the vGPU type and the GPU frame buffer size. Refer to the NVIDIA vGPU documentation
for maximizing density on GPUs.
GPU, and it is recommended to disable ECC. For more information on disabling ECC memory refer to
the NVIDIA Virtual GPU Software Documentation.
It is essential to evaluate user experience properly as you design your VDI infrastructure and consider
the effects of broad-scale deployment. For more information about quantifying user experience, refer
to chapter 4 of the NVIDIA vPC Sizing Guide for deployment best practices.
Server Recommendations
Before deploying NVIDIA vPC, it is essential to confirm that your server is an NVIDIA vGPU certified
OEM server. It is recommended to cross-check this list with the VMware Compatibility Matrix to
ensure compatibility for your deployment.
The following server specifications are recommended for hosting NVIDIA vPC:
3.0 GHz CPU
High-speed RAM
Fast networking
High-speed storage
VM Configuration Recommendations
The following VM hardware specifications are recommended for NVIDIA vPC:
vCPU: 4 vCPU
Memory: 4 GB to 6 GB
vGPU profile: 1B or 2B
Network adapter: on VMware vSphere, VMXNET3
For optimum VDI performance and ease of maintenance, follow these recommendations:
Use a flash storage array for the OS HDD with thin provisioning when possible.
Use a separate vCenter Server instance for the VDI infrastructure.
Use VMware Instant Clone Technology when deploying large instances.
Remove all unused virtual hardware devices, such as CD or DVD drives, SATA controllers, COM
ports, and floppy disk drives.
Note: NVIDIA vGPU drivers are backwards compatible. Cross-check compatibility in the NVIDIA Virtual
GPU Software Release Documentation for more information.
Note: Ensure that you review and test any tool before use in a production environment.
With NVIDIA vPC, Windows 10 delivers a great user experience by leveraging NVIDIA vGPU hardware
acceleration. Hardware acceleration (or offloading) allows the GPU to do what it does best, graphics
processing. Moving rendering processes from the CPU to the GPU results in a richer user experience,
with better graphics performance than emulated software acceleration. When vGPU resources are
assigned to a VM, Windows 10 is considered fully accelerated.
Typical VDI deployments have two goals: achieving the best possible user experience and maximizing
user density on the hypervisor host server. Problems can arise as density is scaled up because it can
negatively impact user experience after a certain point.
It is recommended to regularly monitor hypervisor host server and VM metrics to ensure optimal
performance and resource utilization of your VDI environment. These measurements can be used to
assess the trade-offs between your end-user experience and resource utilization. Capturing
performance metrics and logging the metrics for later analysis can show trends and patterns over
time, which helps optimize your vPC VDI configuration to meet your end users’ performance
requirements and helps determine scalability.
NVIDIA vPC provides extensive monitoring features to better understand the usage of the various
engines of the NVIDIA GPU. The utilization of the compute engine, the frame buffer, the encoder, and
the decoder can all be monitored and logged on the hypervisor host server and the VM. It is
important to continually monitor resource usage to ensure system health, stability, and scalability, as
your deployment needs may change over time.
When monitoring resource usage by the hypervisor host server and guest VMs, pay close attention to
the following metrics:
GPU engine usage on the hypervisor host server. To ensure adequate server resources and
prevent the server from doing more than it has capacity for, GPU engine usage rates should not
exceed 90%.
These metrics are essential for understanding the number of vPC VM’s that can be hosted on the
server. If metrics are high, conduct additional testing by analyzing vGPU and vCPU metrics on
individual VM’s and reduce the number of VM’s per server.
Note: In general, 80% CPU usage is a reasonable ceiling on the Host Server, and 90% usage should
be a warning that the CPUs are approaching an overloaded condition.
Frame buffer usage in VMs. Frame buffer usage should not exceed 90% for a short time nor
average over 70% on the 1 GB (1B) profile. If high frame buffer usage is observed, the vPC virtual
machine should be assigned a 2 GB (2B) profile.
Refer to the NVIDIA vPC Sizing Guide for additional information about and tools for monitoring
hypervisor host server and VM resource usage.
The NVIDIA vGPU solution is the industry’s most advanced technology for virtualizing GPU hardware
acceleration. This best-practices guide provides considerations for optimally configuring your NVIDIA
vPC deployment and choosing the correct virtual GPU profile.
Density-optimized GPUs are typically recommended for knowledge worker VDI desktops to run office
productivity applications, streaming video, and Windows 10. They are designed to maximize the
number of VDI users supported in a server. The NVIDIA A16 GPU is density optimized for vPC and can
increase user density compared to the previous generation.
Windows 10 features, such as hardware acceleration, allow the GPU to do what it does best, namely,
graphics processing. Customizing the graphics performance preferences of applications within the
Windows 10 operating system can further enhance the user experience.
Workloads may vary for each user and depend on many factors, including the number of applications,
the types of applications, file sizes, number of monitors, and their resolution. It is recommended that
hypervisor host server and VM metrics be continuously monitored over a product lifecycle to ensure
optimal user experience and performance while meeting organizational needs.
Trademarks
NVIDIA and the NVIDIA logo are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be
trademarks of the respective companies with which they are associated.
VESA DisplayPort
DisplayPort and DisplayPort Compliance Logo, DisplayPort Compliance Logo for Dual-mode Sources, and DisplayPort Compliance Logo for Active Cables are trademarks owned
by the Video Electronics Standards Association in the United States and other countries.
HDMI
HDMI, the HDMI logo, and High-Definition Multimedia Interface are trademarks or registered trademarks of HDMI Licensing LLC.
OpenCL
OpenCL is a trademark of Apple Inc. used under license to the Khronos Group Inc.
Copyright
© 2022 NVIDIA Corporation. All rights reserved.