Session host virtual machine sizing guidelines for Azure Virtual Desktop and Remote Desktop Services (2024)

  • Article

Whether you're running your session host virtual machines (VM) on Remote Desktop Services or Azure Virtual Desktop, different types of workloads require different VM configurations. The examples in this article are generic guidelines, and you should only use them for initial performance estimates. For the best possible experience, scale your deployment depending on your users' needs.

Workloads

Users can run different types of workloads on the session host virtual machines. The following table shows examples of a range of workload types to help you estimate what size your virtual machines need to be. After you set up your virtual machines, you should continually monitor their actual usage and adjust their size accordingly. If you end up needing a bigger or smaller virtual machine, you can easily scale your existing deployment up or down in Azure.

The following table describes each workload. Example users are the types of users that might find each workload most helpful. Example apps are the kinds of apps that work best for each workload.

WorkloadtypeExample usersExample apps
LightUsers doing basic data entry tasksDatabase entry applications, command-line interfaces
MediumConsultants and marketresearchersDatabase entry applications, command-line interfaces, Microsoft Word, static web pages
HeavySoftwareengineers, contentcreatorsDatabase entry applications, command-line interfaces, MicrosoftWord, static web pages, MicrosoftOutlook, MicrosoftPowerPoint, dynamic web pages, software development
PowerGraphicdesigners, 3Dmodelmakers, machinelearningresearchersDatabase entry applications, command-line interfaces, Microsoft Word, static web pages, MicrosoftOutlook, MicrosoftPowerPoint, dynamic web pages, photo and video editing, computer-aided design (CAD), computer-aided manufacturing (CAM)

Single-session recommendations

Single-session scenarios are when there's only one user signed in to a session host VM at any one time. For example, if you use personal host pools in Azure Virtual Desktop, you're using a single-session scenario. For VM sizing recommendations for single-session scenarios, we recommend you use at least two physical CPU cores per VM, typically four vCPUs with hyper-threading. If you need more specific VM sizing recommendations for single-session scenarios, ask the software vendors specific to your workload. VM sizing for single-session VMs usually align with physical device guidelines.

The following table shows examples of typical workloads:

Workload typevCPU/RAM/OS storage minimumExample Azure instancesProfile container storage minimum
Light2 vCPUs, 8-GB RAM, 32-GB storageD2s_v5, D2s_v430 GB
Medium4 vCPUs, 16-GB RAM, 32-GB storageD4s_v5, D4s_v430 GB
Heavy8 vCPUs, 32-GB RAM, 32-GB storageD8s_v5, D8s_v430 GB

Multi-session recommendations

Multi-session scenarios are when there's more than one user signed in to a session host virtual machine at any one time. For example, when you use pooled host pools in Azure Virtual Desktop with the Windows 11 Enterprise multi-session operating system (OS), that's a multi-session deployment.

The following table lists the maximum suggested number of users per virtual central processing unit (vCPU) and the minimum VM configuration for standard or larger user workload. If you need more specific VM sizing recommendations for single-session scenarios, ask the software vendors specific to your workload.

Workload typeMaximum users per vCPUMinimum vCPU/RAM/OS storageExample Azure instancesMinimum profile storage
Light68 vCPUs, 16-GB RAM, 32-GB storageD8s_v5, D8s_v4, F8s_v2, D8as_v4, D16s_v5, D16s_v4, F16s_v2, D16as_v430 GB
Medium48 vCPUs, 16-GB RAM, 32-GB storageD8s_v5, D8s_v4, F8s_v2, D8as_v4, D16s_v5, D16s_v4, F16s_v2, D16as_v430 GB
Heavy28 vCPUs, 16-GB RAM, 32-GB storageD8s_v5, D8s_v4, F8s_v2, D8as_v4, D16s_v5, D16s_v4, F16s_v2, D16as_v430 GB
Power16 vCPUs, 56-GB RAM, 340-GB storageD16ds_v5, D16s_v4, D16as_v4, NV6, NV16as_v430 GB

For multi-session workloads, you should limit VM size to between 4 vCPUs and 24 vCPUs for the following reasons:

  • All VMs should have more than two cores. The UI components in Windows rely on the use of at least two parallel threads for some of the heavier rendering operations. For multi-session scenarios, having multiple users on a two-core VM leads to the UI and apps becoming unstable, which lowers the quality of user experience. Four cores are the lowest recommended number of cores that a stable multi-session VM should have.

  • VMs shouldn't have more than 32 cores. As the number of cores increase, the system's synchronization overhead also increases. For most workloads, at around 16 cores, the return on investment gets lower, with most of the extra capacity offset by synchronization overhead. User experience is better with two 16-core VMs instead of one 32-core one.

The recommended range between 4 and 24 cores generally provides better capacity returns for your users as you increase the number of cores. For example, if you have 12 users sign in at the same time to a VM with four cores, the ratio is three users per core. Meanwhile, on a VM with 8 cores and 14 users, the ratio is 1.75 users per core. In this scenario, the latter configuration with a ratio of 1.75 offers greater burst capacity for your applications that have short-term CPU demand.

This recommendation is true at a larger scale. For scenarios with 20 or more users connected to a single VM, several smaller VMs would perform better than one or two large VMs. For example, if you're expecting 30 or more users to sign in within 10 minutes of each other on the same session host with 16 cores, two 8-core VMs would handle the workload better. You can also use breadth-first load balancing to evenly distribute users across different VMs instead of depth-first load balancing, where you can only use a new session host after the existing one is full of users.

It's also better to use a large number of smaller VMs instead of a few large VMs. It's easier to shut down VMs that need to be updated or aren't currently in use. With larger VMs, you're more likely to have at least one user signed in at any time, which prevents you from shutting down the VM. When you have many smaller VMs, it's more likely you have some VMs without active users. You can safely shut down these unused VMs to conserve resources, either manually or automatically by using autoscale in Azure Virtual Desktop. Conserving resources makes your deployment more resilient, easier to maintain, and less expensive.

General virtual machine recommendations

In order to run your chosen OS in Azure, you must use a Premium SSD storage for production workloads that require a service level agreement (SLA). For more information, see the Service Level Agreements (SLA) for Online Services.

Graphics processing units (GPUs) are a good choice for users who regularly use graphics-intensive programs for video rendering, 3D design, and simulations. Azure has several graphics acceleration deployment options and multiple available GPU VM sizes. Learn more at GPU optimized virtual machine sizes. For more general information about graphics acceleration in Remote Desktop Services, see Remote Desktop Services - GPU acceleration

B-series burstable VMs in Azure are a good choice for users who don't always need maximum CPU performance. For more information, see Sizes for Windows virtual machines in Azure and the pricing information on the Virtual Machine series.

Test your workload

Finally, you should use simulation tools to test your deployment with both stress tests and real-life usage simulations. Make sure your system is responsive and resilient enough to meet user needs, and remember to vary the load size to avoid surprises.

As an expert in cloud computing, specifically in virtual machine configurations, workload optimization, and Azure infrastructure, I've accumulated extensive hands-on experience in architecting, optimizing, and managing cloud-based solutions for diverse workloads. I've worked extensively with Azure Virtual Desktop, Remote Desktop Services, VM sizing, and workload distribution strategies, aligning them with user requirements and resource scalability.

Regarding the concepts and topics covered in the provided article:

  1. Workload Types and Examples: Workloads in Azure or Remote Desktop Services vary based on user needs and applications utilized. The article categorizes workloads into Light, Medium, Heavy, and Power categories, defining the types of users and applications suitable for each.

  2. Single-Session Recommendations: This section advises on sizing recommendations for scenarios where only one user is signed in. It suggests specific VM configurations based on CPU cores, RAM, and storage, aligning with physical device guidelines.

  3. Multi-Session Recommendations: For scenarios with multiple users signed into a session host VM, the article provides recommended configurations per vCPU, limiting VM sizes for optimized performance and user experience.

  4. Optimal VM Core Range for Multi-Session Scenarios: It advises against using VMs with less than four cores due to potential instability in the user interface and apps. Similarly, it recommends avoiding VMs with more than 32 cores due to synchronization overhead, proposing an optimal range between 4 and 24 cores for better user capacity returns.

  5. Load Balancing and VM Sizing Strategies: The article suggests distributing users across smaller VMs for improved performance, scalability, and ease of maintenance. It highlights the benefits of breadth-first load balancing and using multiple smaller VMs rather than a few large ones for efficient resource management.

  6. General VM Recommendations: It emphasizes using Premium SSD storage for OS in Azure, the relevance of GPU instances for graphics-intensive workloads, and the use of burstable B-series VMs for scenarios not consistently demanding maximum CPU performance.

  7. Testing Workloads: The article recommends employing simulation tools to stress-test deployments, ensuring responsiveness and resilience to meet user needs while varying load sizes to anticipate system behavior.

Overall, the article provides comprehensive guidance on sizing VMs, workload types, and strategies to optimize performance, scalability, and resource utilization in Azure or Remote Desktop Services environments. This guidance is crucial for architects and administrators aiming to design and maintain efficient cloud-based solutions tailored to diverse user requirements.

Session host virtual machine sizing guidelines for Azure Virtual Desktop and Remote Desktop Services (2024)

FAQs

What is the best way to determine the appropriate size for your VM? ›

For VM sizing recommendations for single-session scenarios, we recommend you use at least two physical CPU cores per VM, typically four vCPUs with hyper-threading. If you need more specific VM sizing recommendations for single-session scenarios, ask the software vendors specific to your workload.

What is the recommended minimum RTT latency between client networks and the Azure Virtual Desktop host pools? ›

Round-trip time (RTT) latency from the client's network to the Azure region that contains the host pools should be less than 150 ms. To see which locations have the best latency, look up your desired location in Azure network round-trip latency statistics.

What does Azure Virtual Desktop use for establishing remote sessions and carrying Remote Desktop Protocol traffic? ›

Azure Virtual Desktop is using reverse connect transport for establishing the remote session and for carrying RDP traffic. Unlike the on-premises Remote Desktop Services deployments, reverse connect transport doesn't use a TCP listener to receive incoming RDP connections.

What is the maximum session limit for AVD host pool? ›

If you use breadth-first when first creating a host pool, the default value for the maximum session limit is set to 999999 , which is also the highest possible number you can set this parameter to.

How do I choose Azure VM size? ›

Users can choose the most suitable VM size based on their requirements, such as CPU, memory, storage, and network bandwidth. This article describes what sizes are, gives an overview of the available sizes and shows different options for Azure virtual machine instances you can use to run your apps and workloads.

What is VM right sizing? ›

Rightsizing is when you change the resources allocated to a VM to match the utilization requirements of the VM. Rightsizing VMs covers both oversized and undersized VMs.

What is the minimum latency for RDP? ›

RDP Bandwidth & Latency Recommendations

For RDP connections, latency is far more important than bandwidth. Given that LAN latency is typically 10ms, internet latency closer to 10ms is recommended.

What are the minimum requirements for virtual desktop? ›

To play Virtual Desktop you will need a minimum CPU equivalent to an Intel Core i5-2500K. The minimum memory requirement for Virtual Desktop is 4 GB of RAM installed in your computer. Virtual Desktop will run on PC system with Windows 7 SP1, Windows 8.1 or Windows 10 and upwards.

What is the limit of virtual desktop in Azure? ›

Azure Virtual Desktop limitations
Azure Virtual Desktop objectPer Parent container objectService limit
WorkspaceMicrosoft Entra tenant1300
HostPoolWorkspace400
Application groupMicrosoft Entra tenant500*
RemoteAppApplication group500
2 more rows

What is the difference between Azure VM and Azure Virtual Desktop? ›

Access: Azure VMs can be accessed and managed through a remote desktop connection, while Azure Virtual Desktop provides access to a virtual desktop through a remote display protocol.

What should you use to register virtual machines to the Azure Virtual Desktop Host Pool? ›

To register session hosts to a host pool, you need to install the Azure Virtual Desktop Agent and the Azure Virtual Desktop Agent Bootloader on each virtual machine and use the registration key you generated.

Can you use Azure Virtual Desktop for application virtualization? ›

Azure Virtual Desktop on Microsoft Azure is a desktop and app virtualization service that runs on the cloud. Azure Virtual Desktop works across devices – including Windows, Mac, iOS, and Android – with full-featured apps that you can use to access remote desktops and apps.

What is the difference between AVD host pool and session host? ›

A host pool is a collection of Azure virtual machines that are registered to Azure Virtual Desktop as session hosts. All session host virtual machines in a host pool should be sourced from the same image for a consistent user experience. You control the resources published to users through application groups.

How many VMs can run on a host? ›

It is not advisable to overload your computer with too many VMs as it can cause a major slowdown to your system. This depends on your computer's resources, but usually, you can keep an average of 3-5 VMs running simultaneously without seeing any performance degradation.

How many VMs can be in a availability set? ›

Availability sets

We recommended that two or more VMs are created within an availability set to provide for a highly available application and to meet the 99.95% Azure SLA. There is no cost for the Availability Set itself, you only pay for each VM instance that you create.

How does Vrops determine the recommended size for a VM? ›

The capacity engine built into vRealize Operations leverages AI/ML technologies to create forward looking projections of the future utilization of VMs. It's those projections that are used to determine the Recommended Size of VMs. The recommendations are not simply based on historical utilization of the VM.

Where do you specify the VM size for a cloud service role? ›

The easiest way to scale a cloud service is to set the VM Size and Instance count in the service configuration and republish. Another way to do this is to use the scaling options in the Azure Management Portal (manage.windowsazure.com).

What does the size of the VM determines the number of? ›

The size of vm specifies only the number of cores it contains and the cost is also calculated by the number of cores. It is an operating system and even an application environment that is actually installed in a programme and the dedicated hardware is often launched by the virtual machine (Vm).

Top Articles
Is Nike, Inc. (NKE) stock halal to invest in?
What is uploading? | Definition from TechTarget
Craigslist San Francisco Bay
Overton Funeral Home Waterloo Iowa
Unity Stuck Reload Script Assemblies
Body Rubs Austin Texas
35105N Sap 5 50 W Nit
BULLETIN OF ANIMAL HEALTH AND PRODUCTION IN AFRICA
Nyuonsite
Locate Td Bank Near Me
Mens Standard 7 Inch Printed Chappy Swim Trunks, Sardines Peachy
Elbasha Ganash Corporation · 2521 31st Ave, Apt B21, Astoria, NY 11106
Otterbrook Goldens
Morgan And Nay Funeral Home Obituaries
fort smith farm & garden - craigslist
065106619
Paradise leaked: An analysis of offshore data leaks
Sam's Club La Habra Gas Prices
Swgoh Blind Characters
Aps Day Spa Evesham
Shopmonsterus Reviews
Best Transmission Service Margate
Sef2 Lewis Structure
14 Top-Rated Attractions & Things to Do in Medford, OR
Xpanas Indo
Giantbodybuilder.com
Jailfunds Send Message
O'reilly's In Monroe Georgia
Possum Exam Fallout 76
The Posturepedic Difference | Sealy New Zealand
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
Att U Verse Outage Map
Deleted app while troubleshooting recent outage, can I get my devices back?
Tamilyogi Ponniyin Selvan
What Time Is First Light Tomorrow Morning
Western Gold Gateway
Best Restaurants In Blacksburg
Maxpreps Field Hockey
Planet Fitness Santa Clarita Photos
Kerry Cassidy Portal
Dee Dee Blanchard Crime Scene Photos
Seminary.churchofjesuschrist.org
Karen Wilson Facebook
Sdn Fertitta 2024
Guided Practice Activities 5B-1 Answers
Collision Masters Fairbanks
Tlc Africa Deaths 2021
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
The Quiet Girl Showtimes Near Landmark Plaza Frontenac
Bedbathandbeyond Flemington Nj
Rubmaps H
What Does the Death Card Mean in Tarot?
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6477

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.