An article by Amit Ben-Chanoch from Citrix Blogs
XenDesktop Bandwidth: The Complete Set
Part 1 – The Prologue: Methodology and Infrastructure
Part 2 – By The Numbers: Take the time to optimize
Part 3 – Bringing It All Together: Daily User Average and General Recommendations
Part 4 – What About XenApp?
Part 5 – Do It Yourself: Starter Kit
Part 7 – Who needs a part 6 when we’re discussing XenDesktop 7 (and 7.1)
Part 3: Bringing It All Together: Daily User Average and General Recommendations
In Part 1, I discussed the methodology and infrastructure used for testing.
Then in Part 2, I covered the importance of optimizations, and showed that bandwidth savings can exceed 80%.
This blog post will show the results of the full Login VSI 4.0 Medium Workload and some general recommendations to help you succeed based on our findings. Once again, tests were run at the three configurations defined in part 2 of the series and once again significant bandwidth savings were seen.
Login VSI 4.0 Medium Workload
The release of Login VSI 4.0 in May 2013 brought a number of improvements and changes, including an overhaul of the Medium workload, which is now four separate segments and 48 minutes in length. In addition, there is more variation in the documents accessed and a more realistic average workload.
The new workload also means that I could not compare the results to previous tests with older versions; of which there are many. Luckily the XenDesktop 7 tests which everyone is patiently waiting for are run with the same workload and more and more papers are published every week using the newest version of the tool.
For consistency and caching reasons, the workload was forced to use only a single video out of the five provided in the VSI Content Library. Video 1 in the content library was chosen for this purpose and is a trailer for a British movie by the name of Wild Target. For more information on the Medium workload see the Login VSI workload overview page.
“Daily User Average”
Many customers often ask what the average bandwidth requirement is for XenDesktop. As mentioned earlier in the series, the answer is always “it depends”. It depends on what the user is doing, the visual settings of the desktop, and the policies in effect. It also depends on the network conditions. Because the ICA protocol is an adaptive TCP based protocol, the average bandwidth consumption on a LAN will be different than a WAN (as seen in the second blog post of this series). To elaborate on this, refer to the two charts below.
The first chart shows us that bandwidth will depend on what is on the screen. The chart shows a portion of the Medium workload which at first is idle, then plays a video (which was not redirected) and is then idle once again. When idle, the session consumed less than 5kbps, even though applications were running, because no screen refreshes were occurring. This would not be the case if a session is left idle, but with a video playing on repeat or on a web page which constantly refreshes its advertisements. When playing the video the session consumed the entire available network. (Note that server fetched, server rendered video delivery is the least preferred method, more to come on why).
The second chart depicts a portion of the Login VSI Medium workload during which various graphical websites are being browsed. Once again you can see periods of very low bandwidth consumption, during which all apps remained open and the web site was fully loaded but no user interaction took place. When browsing over a WAN connection the bandwidth utilization decreases as HDX Adaptive Orchestration senses that the network conditions are restricted and tunes the session. The end result of this is that a quality responsive session can be delivered at lower bandwidth costs when needed.
So with all of this mind, what is the “daily average”?
The average bandwidth, excluding video, for the Login VSI Medium workload using the best practices optimized image on a 1.536 Mbps WAN connection was approximately 85kbps. Adding in video without any redirection bumped that up to approximately 160kbps. I have broken down the averages separately because video is especially bandwidth intensive although both bandwidth, and more importantly user experience, can be improved using Citrix HDX technologies such as HDX Flash Redirection. I will discuss some of these technologies further in this post although many of them are thoroughly explained in this Whitepaper.
Please note that these averages do not mean that you can simply run a full XenDesktop over an 85kbps connection; again, it always depends. There are various other factors that need to be considered before simply deploying a production environment with a limit of 85kbps for every user:
- Burst capacity must be accounted for. For example, running a PowerPoint presentation or maximizing an image requires short bursts of bandwidth which must be accommodated to ensure a smooth user experience.
- Other traffic on the network must be considered. A typical WAN will have more than just ICA traffic and a good understanding of that traffic is important prior to deployment. This traffic can be managed through CloudBridge with advanced QoS capabilities to ensure ICA sessions are not slowed down due competing network traffic such as a print job or file transfer.
- Not all users can be represented by the Medium Login VSI workload. Understanding and segmenting users is an important step of any deployment. For example, a manager who might sit in on various meetings throughout the day will have different bandwidth requirements than an employee who is at the computer all day except for lunch and coffee. Although both may use the same set of applications, the bandwidth needs may be significantly different.
The average bandwidth for all three configurations is summarized in the chart below.
This “Average” is meant to help as a baseline when planning a deployment. Results will vary depending on all of the factors previously discussed and there is no substitute to testing. The VSI Medium workload does not cover custom applications with specific requirements, that left untuned, can often consume excess bandwidth. The amount of time users spend on virtual infrastructure also needs to be considered. This average is based on a desktop that is always on, meaning XenDesktop is the primary workstation for the user. If a virtual desktop is to be used for very specific purposes, less bandwidth might be needed to accommodate usage.
The charts at the end of this post show the results from the different networks and configurations tested.
Flash Redirection and CloudBridge (Formerly Branch Repeater)
HDX Flash Redirection has been part of XenDesktop for quite a while and has helped many customers achieve better scalability and a better user experience over the WAN. To summarize how HDX Flash Redirection works, flash content is fetched by and rendered on the client device. This allows for two important things to happen from a bandwidth perspective.
- The content can be buffered and played at its original quality without having to send excessive screen changes through ICA
- The content can be cached on the local device and if accessed again, could have almost no effect on bandwidth over the WAN
HDX Flash Redirection has been discussed at length in various articles and more information can be found in this article.
Keeping in mind that server fetched and rendered typically requires the most bandwidth, flash redirection should be considered whenever possible to help reduce traffic and improve user experience. However, video is still video and even with flash redirection it still requires additional bandwidth. So what happens when an entire branch has to watch the same videos for corporate training or if there someone in the office is sending out the newest cat video on YouTube?
This is where Citrix’s CloudBridge solution can help. Video caching is one of the use cases where CloudBridge can have a huge impact on bandwidth saving over the WAN. CloudBridge can cache these videos allowing others in the branch to watch them with LAN like performance while drastically reducing the bandwidth required. CloudBridge can also, to an extent, help improve the delivery of other forms of video over the WAN. For more information on CloudBridge and video delivery see this Whitepaper.
As you can see there are many factors to consider when bandwidth is a constraint. Whether you are just getting started planning for a deployment, or having issues with a current one, here are some general recommendations to consider.