optimize xendesktop/xenapp delivery to mobile users€¦ · gateway vpn was established before...

14
WHITE PAPER | Citrix Access Gateway and Citrix Branch Repeater www.citrix.com Optimize XenDesktop/XenApp delivery to mobile users Performance Benchmark Report

Upload: others

Post on 14-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

WHITE PAPER | Citrix Access Gateway and Citrix Branch Repeater

www.citrix.com

Optimize XenDesktop/XenApp delivery to mobile users

Performance Benchmark Report

Page 2: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 2

Contents

Executive Summary ........................................................................................................................................... 3 

User Scenarios .................................................................................................................................................... 4 

Test Approach ................................................................................................................................................ 4 

Workflows Tested .......................................................................................................................................... 4 

Key Findings ....................................................................................................................................................... 5 

Time Savings with Branch Repeater ............................................................................................................ 6 

Bandwidth Savings with Branch Repeater .................................................................................................. 6 

Interactive Workflow Analysis ......................................................................................................................... 7 

Login to XenDesktop .................................................................................................................................... 7 

Web Browsing ................................................................................................................................................ 7 

PowerPoint Slideshow ................................................................................................................................... 8 

Non-interactive Workflow Analysis ................................................................................................................ 8 

Video ................................................................................................................................................................ 8 

Microsoft Office 2007 ................................................................................................................................... 9 

Windows File Share ..................................................................................................................................... 10 

Additional Resources ....................................................................................................................................... 11 

Conclusion ........................................................................................................................................................ 11 

Appendix ........................................................................................................................................................... 13 

Test Environment ........................................................................................................................................ 13 

Tool used for automating the test ............................................................................................................. 14 

WAN parameters ......................................................................................................................................... 14 

Page 3: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 3

Executive Summary Desktop virtualization has grabbed the attention of the global IT community like never before. Server and desktop virtualization let IT simultaneously offer lower costs and greater access to the employees. The Bring Your Own PC1 (BYOC) movement, along with technologies such as XenDesktop and XenClient provide an opportunity to use any device – even computers owned by the employee – and work on the corporate desktop from anywhere, anytime.

The convenience and cost benefits of “work-shifting”2 come with its own set of challenges for corporate IT—two of those being security and user-experience. A significant number of remote users access virtual services from insecure locations, such as coffee-shops, airports, hotels and homes. These internet connections often have lower speeds, higher latency, and packet loss. Citrix XenDesktop and XenApp use the HDX™ technology3 to ensure high definition user-experience, no matter where the user works.

HDX™ WAN Optimization powered by Citrix Branch Repeater and HDX™ SmartAccess powered by Citrix Access Gateway are integrated into the XenDesktop solution. Using the Repeater plug-in together with the Access Gateway plug-in, mobile users enjoy accelerated, secure remote-access to XenDesktop and XenApp. This paper describes the enhanced experience enjoyed with this “turbocharged Citrix” environment.

Figure 1 Enhanced XenDesktop user experience with Repeater plug-in

1 http://bit.ly/aXZOSe 2 http://www.workshifting.com/ 3 http://hdx.citrix.com/

Page 4: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 4

Users see up to 160% faster transactions, making them more productive and enhancing the LAN-like experience when working remotely. The results also show up to 84% WAN bandwidth savings to run the ICA protocol. For users on pay-per-use plans, this brings down the volume of data passing over the WAN and dramatically lowers their monthly Internet bill. At the datacenter end, lower consumption per user means existing bandwidth easily accommodates more users on to the network, without incurring additional service provider costs.

User Scenarios

Test Approach

The test scenarios and use-cases simulate the common tasks performed by remote workers, where significant data is required to traverse the WAN. Workers outside the branch often work where WAN conditions have low bandwidth, high latency, or both (such as home DSL, 3G, wireless cards or Wi-fi). These tests demonstrate the bandwidth and time savings for such users, ultimately leading to greater productivity and excellent returns on investment.

For each of the following tests, the Baseline represents native ICA performance with Branch Repeater acceleration turned off. The tests are repeated with Repeater plug-in enabled and WAN acceleration turned on. The comparative analysis is performed on the warm run figures from both tests, i.e. the devices under test have seen the data at least once before. In every case, the Access Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the automation tool. The workflows were scripted into QTP installed on the desktops-under-test.

Workflows Tested

We measure compression ratios and time-to-complete for a variety of traffic types, focusing on the virtual channels4 parsed by the Branch Repeater:

ThinWire (TW) – interactive traffic, e.g., scrolling through a document in Word

Client Drive Mapping (CDM) – access client-side drives inside an ICA session

MultiMedia (MM) – play audio and video inside multimedia players such as iTunes or Windows Media Player

Branch Repeater detects the virtual channels and dynamically applies the right optimization technique for best user experience.

4 http://bit.ly/99xK6R

Page 5: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 5

Type of Test Use Case (based on ICA Virtual Channel)

Workflow

Interactive Workflows

Login to XenDesktop (CTXTW - ThinWire)

Branch user logs in to the XenDesktop after authenticating at Citrix Access Gateway. Considered from the moment the user submits the login request till the time all icons are loaded on the desktop.

Web browsing (CTXTW - ThinWire)

Use Internet Explorer to browse multiple rich media web sites. Since the browser is in a virtual desktop, the WAN traffic consists of only interactive content such as screen refreshes, flash graphics and mouse clicks. The web-page content itself is fetched over a separate Internet connection at the datacenter.

Microsoft Office (CTXTW - ThinWire)

Play a slideshow using Microsoft PowerPoint. The 7 MB PowerPoint file is stored at the datacenter.

Bulk workflows Windows Media Video (CTXMM - Multimedia)

User plays high-definition (HD) video, say a training video, using Windows Media Player. As the latency for most remote users is likely to be more than 30ms, the video playback uses server-side rendering on XenDesktop.

Microsoft Office (CTXCDM - Client Drive Mapping)

User has a 5 MB Word file on his/her local PC hard drive or USB drive. User edits the file using Office 2007 installed in XenDesktop and saves it back on local drive (‘cold run’). Later, user opens the revised version to continue editing (‘warm run’).

Microsoft Windows File Sharing Service (CTXCDM - Client Drive Mapping)

User synchronizes a folder between the datacenter and client mapped drive (a USB drive connected to local machine) for offline access to the data.

Key Findings To combat the challenges presented by the WAN, Branch Repeater incorporates Citrix HDX™ WAN Optimization technology to adaptively orchestrate with XenDesktop and disable the native ICA compression used for optimizing single-user sessions. Branch Repeater then optimizes XenDesktop delivery by compressing and delivering only new data transmissions of commonly

Page 6: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 6

accessed data such as bitmap graphics, files and video, thereby dramatically accelerating XenDesktop user experience for remote users.

Time Savings with Branch Repeater

Optimizing ICA over SSL VPN with Branch Repeater has a direct impact on productivity and efficiency by reducing time taken to complete common tasks. The results showed maximum Branch Repeater benefits for those jobs where native ICA delivery usually takes the longest time.

There is no time-saving on interactive workflows because they are in real-time. The WAN optimization benefit is a smoother user-experience, richer screen resolution and more responsive keystrokes in the same time, compared to baseline.

Bandwidth Savings with Branch Repeater

The test results prove bandwidth savings while accelerating ICA over SSL VPN with Branch Repeater compared to native ICA compression as the baseline. On interactive workflows, ICA dynamically lowers screen resolution and amount of data it sends over congested bandwidth. With Branch Repeater in place doing compression, ICA is able to maintain high definition user experience even while same or less amount of bandwidth is used.

On the non-interactive workflows, the bandwidth savings are significant because the data is served from the local history.

Page 7: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 7

Interactive Workflow Analysis

Login to XenDesktop

An instance of QTP was run on the Windows XP client. The QTP script was configured to start Internet Explorer, navigate to the Access Gateway authentication page and launch the virtual desktop. The script also recorded the time taken from clicking the XenDesktop icon post-authentication till the point where virtual desktop was available for user input. Finally, the script took a snapshot of the Linktropy emulator statistics to learn the bandwidth used in this activity.

The same workflow was repeated both in accelerated and non-accelerated mode (i.e. with Repeater plug-in disabled on the XP client).

The test results reveal that with the Branch Repeater enabled, subsequent logins take 53% less bandwidth. While it takes approximately the same time to login, with or without the Repeater plug-in, the bandwidth reduction indicates more simultaneous user-logins will be supported with the optimization in place.

Web Browsing

The test stresses the ThinWire virtual channel of ICA and measures the performance improvement on interactive workflows that use this channel. While the test used Web browsing as the sample use-case, the ThinWire channel is also used for other interactive flows like keystrokes, mouse movements and screen refreshes. The script itself was quite simple: scroll through multiple rich-media websites like Amazon, Google maps, CNN and MSN from Internet Explorer installed on the XenDesktop. The script was designed to allow each page to fully load and interact with the client display at the other end of the WAN link before viewing the next site.

The script ran for a constant amount of time, both with and without the Repeater enabled, so there is no “time saving” recorded. However, bandwidth consumption is recorded since any reduction in bandwidth has a direct impact on scalability and the number of users that can be supported on the same WAN.

Page 8: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 8

When browsing the Web in a virtual desktop, XenDesktop transmits Web content in the browser, from the datacenter to the client device. The benefit in terms of user-experience was tremendous with Citrix Branch Repeater – the pages were rendered with more detail because ICA detected higher bandwidth availability (due to compression) and did not reduce resolution while repainting the screen refreshes.

PowerPoint Slideshow

Another test that stresses the ThinWire virtual channel of ICA and measures the performance improvement is the PowerPoint slideshow. Here again the script tests the ThinWire interactive virtual channel for bandwidth saving on keystrokes, mouse movements and screen refreshes. The QTP script itself was quite simple – navigate to a PowerPoint presentation at the datacenter file share and start the slideshow.

The test results reveal that with Branch Repeater enabled, 23% bandwidth reduction is achieved even as the quality of the presentation is ‘richer’ than before.

Non-interactive Workflow Analysis

Video

The test involves measuring performance while playing the video from the virtual desktop (XenDesktop). The video used for testing is a standard Microsoft Windows Media sample high definition (HD) video located at the datacenter. Video is one of the most common ways

Page 9: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 9

organizations share information with their employees because it provides a rich and engaging medium for communicating corporate announcements, delivering training and exchanging information.

Repeater plug-in enhances the user-experience! The test results reveal that without the plug-in, the playback took 117 seconds to complete and the video was choppy. The same video took just 48 seconds with the WAN optimization turned on, thus completing 154% faster.

With Branch Repeater enabled, the video playback used up to 84% less bandwidth.

Microsoft Office 2007

In this workflow, QTP script navigates to the local C drive (client mapped drive, automatically labeled “V:” by XenDesktop) and opens a Microsoft Word document. Next, a series of consistent changes are made (new text copied/pasted) to the document. The edited document is saved back to the local device. This changed document is reopened by the script to complete a full iteration of this test. The amount of time taken and the bytes traversed in each step is measured by the script, with help of checkpoints (to measure time) and WAN Simulator reports (to measure bandwidth used).

The test is repeated, first without the WAN optimization, then again with optimization enabled at the client.

Page 10: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 10

The user experience is much better than native ICA. Where the latter took approximately 115 seconds to open the edited Microsoft Document, it took just 71 seconds to open with Branch Repeater enabled. That is almost 70% faster!

The test used up to 80% less bandwidth with Branch Repeater enabled.

Windows File Share

In this workflow, a 20 megabytes folder is copied from the datacenter file share to the local C drive of the client device (automatically mapped client drive, represented by “V:” in the test desktop). Users that need to work with data stored centrally in the cloud and then take that data offline, maybe for a presentation or work from an offline location (such as an airplane), stand to benefit immensely from optimization of this workflow.

Page 11: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 11

The test results reveal that the baseline file transfer, using native ICA compression, takes approximately 210 seconds for a 20 MB folder. The same test completes up to 24% faster with Repeater plug-in enabled, taking just 168 seconds.

File transfer between the virtual desktop and local desktop saves up to 72% bandwidth with Repeater plug-in enabled.

Additional Resources • Turbocharge Remote Applications Performance Report – CTX121034 • Bandwidth Analysis for Delivering XenDesktop to Branch Offices – CTX124457 • Branch Repeater ICA Optimization Performance Assessment – CTX120160 • Extending the Citrix Delivery Center with Citrix Branch Repeater – CTX117259 • Understanding Citrix HDX Technology for Optimizing the Branch Office – CTX120455 • Saving bandwidth with Branch Repeater: see for yourself – Demo Video • Citrix Branch Repeater Literature • Citrix Branch Repeater Datasheet • Follow us on Twitter @CitrixRepeater

Conclusion In an era when teams are increasingly virtual, mobile and remote workforces are on the rise, and users have moved further and further away from their data, a proven remote access strategy is a must have for any organization. In parallel, organizations are asking their employees to be more versatile, increase productivity and reduce expenses. Together, these trends have driven secure remote access via the Internet into the limelight as one of the most important links into and across an organization.

Turbocharging secure Citrix XenDesktop addresses the forces being exerted on the organization, the IT department and employees. Access Gateway is an industry leading SSL VPN offering

Page 12: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 12

unparalleled access to user data, applications and Citrix Delivery Center™. Citrix XenDesktop is a desktop virtualization solution that delivers Windows desktops as an on-demand service to any user, anywhere. Citrix Repeater improves this experience by accelerating traffic over the slow WAN links to create a fast and responsive LAN-like connection. Citrix Repeater can also extend its reach out to remote or mobile users with the addition of Citrix Repeater plug-in. Only Citrix offers such an elegant and integrated solution with the Citrix Delivery Center.

The increased WAN throughput on existing bandwidth allows IT to add more users without adding costs. The faster and more optimal user experience reduces helpdesk calls, indirectly adding to organization savings and success metrics.

With optimized XenDesktop and XenApp using Repeater plug-in, users can get more done and are more productive. Remote and mobile workers can perform their daily work with efficiency that rivals that of office workers.

Page 13: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 13

Appendix

Test Environment

XenDesktop was used for the purpose of testing ICA acceleration. The test results apply to both XenApp and XenDesktop, because the underlying ICA protocol is the same. The datacenter was secured using Citrix Access Gateway to terminate the SSL VPN tunnel. The software plug-in for both Access Gateway and Branch Repeater were installed on the client machines.

The Access Gateway Plug-in first establishes the SSL VPN tunnel between the device and Access Gateway. Next, the Repeater Plug-in and Citrix Repeater appliance communicate through the SSL VPN tunnel to download the acceleration rules. Web Interface is configured to permit authentication only from Access Gateway. All ICA traffic passes through the 128-bit SSL encrypted tunnel after being optimized.

Apposite Linktropy 4500 was used to simulate the WAN conditions. Test automation was done using QuickTest Pro from HP.

Datacenter configuration:

• XenDesktop farm with Windows 7 virtual desktops (version 4, build 4522)

• Windows 2003 Active directory (version 5.2, SP2) • Windows 2003 file server • Citrix Access Gateway, Enterprise (Rel 9.2) • Citrix Repeater 8500 (Rel 5.7)

Remote user configuration:

• Windows XP-based clients • Receiver plug-ins installed:

o Repeater plug-in (version 5.7, build 180) o Access gateway plug-in (version 9.2.39.6) o Online plug-in (version 11.2.0.31560)

Page 14: Optimize XenDesktop/XenApp delivery to mobile users€¦ · Gateway VPN was established before passing any traffic. QuickTest Professional (QTP) from Hewlett-Packard was used as the

Page 14

Tool used for automating the test

Quick Test Professional (QTP) from Hewlett-Packard (HP) is an automated functional Graphical User Interface (GUI) testing tool that allows the automation of user actions on a web or window based computer application. The testing is automated using QTP, which helps in accurately reproducing test scripts to simulate the selected workflows. The scripts measure the amount of time it takes to complete a workflow and captures screenshots of the Apposite WAN simulator to record the amount of data sent across the WAN. The scripts allow us to replicate the user actions with optimization turned on and off, increasing accuracy and efficiency of benchmark testing.

Benefits of using QTP:

• Accuracy • Increased test coverage on each Testing cycle • Increased Efficiency • Replicable

WAN parameters

The following WAN parameters were set on Apposite Linktropy to simulate the network conditions:

• Bandwidth – 1.544 Mbps • Latency – 100ms • Packet loss – nil