How Much Bandwidth Do I Need for My Virtual Desktop

Posted: May 20, 2023 by virtualfeller in Top 10 Virtual Desktop Mistakes
Tags: , , , , ,

Do you ever wonder how much bandwidth you need to do a desktop virtualization implementation? Regardless of the flavor of virtual desktop being implemented (hosted shared, hosted VM-based VDI, local streamed, etc), the network plays a critical role. That should not be surprising (if it is, we need to have an even bigger discussion). If you don’t plan your network bandwidth appropriately, you will have unhappy users, who will make you unhappy.

As we would expect, the user experience degrades as the latency increases and the bandwidth decreases. Proper network planning must be based on the type of work users are performing and the overall network topology. Back in the XenApp-only days, many people used 20 kbps as an estimate for network bandwidth requirements. Can we use that for virtual desktops? NO (although I could configure XenDesktop to only use 20 kbps).
 

Virtual desktops require more bandwidth because:

  • In default configuration, virtual desktops provide a greater and richer experience than the default XenApp configuration.
  • Virtual desktop users are idle less often than hosted application users. For example, if a user is sitting in front of a workstation and is accessing a hosted application on XenApp, the desktop and XenApp applications both appear as active. However, when the user is not working with the XenApp application, they are identified as idle by XenApp even though they might be active on their desktop. Due to this difference, the desktop will have less idle time than XenApp hosted applications.
  • Desktops access and consume more multimedia and graphical mediums than most applications. A user’s desktop session also includes internet activity, which often includes more graphics, video and sounds. When using a XenApp hosted application, these multimedia activities are only utilized if the application allows.

Estimating network impact is not a trivial matter because the ICA/HDX protocol tunes itself based on the amount of bandwidth available. The less bandwidth available means more compression is applied. Also, any estimate must include percentages for different user activities: typing, graphics, Internet, video (Flash, WMV, etc), and printing. With this information, the following table can be used to create an ESTIMATE (and I do mean this is an estimate):


By calculating the percentage of time a user is expected to be doing certain activities, a rough estimate can be determined for HDX bandwidth requirements. If multiple users are expected to be accessing the same type of content (videos, web pages, documents, etc), integrating the Branch Repeater into the architecture can drastically reduce the amount of bandwidth consumed. However, the amount of benefit is based on the level of repetition between users.

Note: Additional details on the bandwidth estimates can be gathered by referring to the following Citrix white paper: CTX124457 - Performance Assessment and Bandwidth Analysis for Delivering XenDesktop to Branch Offices.

So what does this mean? It means using a single number as your bandwidth estimate is not good enough. You need to understand what users are doing and what percentages you expect them to be doing different activities. After that, you will get a good idea of how much bandwidth is required for a virtual desktop implementation.

Daniel - Lead Architect

Comments
  1. [...] 10.  Not calculating user bandwidth requirements [...]

  2. [...] 10. Not Calculating User Bandwidth Requirements [...]

  3. How Many Resources Do My Users Require - Daniele Tosatto says:

    [...] 10. Not calculating user bandwidth requirements [...]

  4. [...] 10.  Not calculating user bandwidth requirements [...]

  5. [...] 10.  Not calculating user bandwidth requirements [...]

  6. [...] 10.  Not calculating user bandwidth requirements [...]

  7. [...] 10.  Not calculating user bandwidth requirements [...]

  8. [...] 10.  Not calculating user bandwidth requirements [...]

  9. Rien says:

    Hi, a good piece of information about bandwith. Since March we are working with XenDesktop over WAN connectios, even the Internet. Applications are AutoDesk Revit/ Adobe CS applications. We monitor and guarantee this with a Packeteer. For 4 users working all day and do some light and heavy actions, the bandwith is an average of 1-2 Mbs wit a peek to sometimes 5Mbs.

    Best regards,
    Rien

  10. virtualfeller says:

    That is great information, especially for heavy graphical content. Thanks Rien

  11. Daniel Feller’s Top 10 Virtualization Mistakes | Geek Run Virtualization Blog says:

    [...] Underestimating BandwidthVirtual desktops use more network resources than virtualized apps of the past. Underestimating the network needs of your virtualized environment can impact the performance of the virtualized environment and all other network attached devices. [...]

  12. Sidney Rocha says:

    Hello Daniel,
    Great article. Keep up the good work.
    Thanks,
    Sidney.

  13. Luc Raeskin says:

    Hello Daniel,

    How much bandwith is used per machine for local streamed desktops? Is the whole image transfered on start-up? Or only used files, if so how big is this for like Windows 7.

    And is it possible to use the same vDisk image for local streamed and if the user logs in from home to use host-based vdi? I quess there are some driver issues if it is possible at all.

    With kind regards,
    Luc Raeskin

  14. Top Ten VDI Mistakes | Moose Logic Blog says:

    [...] #10 - Not calculating user bandwidth requirements Back in the “good old days” of MetaFrame, when we didn’t particularly care about 3D graphics, multimedia content, etc., we could get by with roughly 20 Kbps of network bandwidth per user session. That’s not going to cut it for a virtualized desktop, for a number of reasons that Dan outlines in his blog post. He provides the following estimates for the average bandwidth required both with and without the presence of a pair of Citrix Branch Repeaters (which have some secret sauce that is specifically designed to accelerate Citrix traffic) between the client device and the virtual desktop session: [...]

Leave a Reply

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

  You are commenting using your Twitter account. (Log Out)

Facebook photo

  You are commenting using your Facebook account. (Log Out)

Connecting to %s