Table of Contents
About the author .......................................................................................................................................... 2
Changelog ..................................................................................................................................................... 3
Credits ........................................................................................................................................................... 3
Introduction .................................................................................................................................................. 4
Background ................................................................................................................................................... 4
What is HDX Technology ............................................................................................................................... 4
Citrix Receiver ............................................................................................................................................... 5
HDX RichGraphics / 3D Background.............................................................................................................. 6
HDX 3D Pro.................................................................................................................................................... 7
NVIDIA GRID Technology ............................................................................................................................ 10
HDX Plug-n-play .......................................................................................................................................... 18
HDX Broadcast ............................................................................................................................................ 19
HDX Mobile ................................................................................................................................................. 19
HDX WAN Optimization .............................................................................................................................. 20
HDX SoC ...................................................................................................................................................... 21
HDX MediaStream....................................................................................................................................... 22
HDX IntelliCache.......................................................................................................................................... 30
HDX Adaptive Orchestration ....................................................................................................................... 31
HDX RealTime Optimization Pack for Microsoft Lync ................................................................................. 31
Multi-Stream and Multi-Port ICA ................................................................................................................ 32
Summary ..................................................................................................................................................... 34
Alexander also holds a degree in Information Technology from the The Norwegian School of Information
Technology(NITH) , and industry certifications from Citrix CCP-V, CCA-N and Microsoft MCSA.
Changelog
Version
1.0
Date
Author
26.06.2014 Alexander Ervik Johnsen
Reviewer
Timco Hazelaar
Douglas Brown
Credits
I want to give a shout out to the following industry leaders for reviewing this eBook and giving me
feedback that made this eBook as good as it could be! Without their review of this eBook, it would have
turned out different from the result, which I hopefully think you like.
Timco Hazelaar from Login Consultants
Douglas Brown from DABCC Inc
Introduction
The Citrix HDX technologies is nothing new to its XenApp and XenDesktop products. IT organizations are
faced with the challenge of providing a virtual computing experience for employees that is the same or
better than that of a local PC, regardless of whether users are accessing their virtual desktops from
corporate owned devices or BYO mobile devices, whether from challenging, low bandwidth high latency
WANS, highly variable 3G/4G mobile networks or a reliable corporate network (LAN).Some virtual
desktop solutions take a narrow approach to this problem, relying on point technologies that work only
under a limited set of conditions. Only Citrix HDX technologies addresses the networking and application
delivery challenges virtual desktop computing brings. With HDX technologies, Citrix XenDesktop and
XenApp delivers a brilliant user experience on a wide variety of devices, equaling or surpassing the local
PC experience.
This eBook provides an overview of HDX capabilities and its benefits for users and IT administrators.
Background
This free eBook will guide you through the different HDX Technologies, what they can do, and what they
mean for the overall implementation of Citrix XenApp, XenDesktop and NetScaler technologies. In
addition, a vital part to get the HDX Technology to work is the Citrix Receiver.
Citrix Receiver
Citrix Receiver is a free download designed as an integral component for VDI-in-a-Box, XenDesktop and
XenApp installations. Citrix Receiver is a universal software client that provides secure, highperformance delivery of virtual desktops and applications.
This easy-to-install software client lets you access your applications, desktops and data easily and
securely from any device, including smartphones, tablets, PCs and Macs. Working with a Citrix-enabled
IT infrastructure, Receiver gives you the mobility, convenience and freedom you need to get your work
done.
Citrix Receiver provides end users with:
Citrix Receiver Plug-ins, such as the Offline Plug-in, provide advanced features and capabilities. Citrix
Receiver Updater for Windows, Receiver Updater for Mac, and Merchandising Server are components
that streamline the installation and management of Citrix Receiver on the user desktops. Merchandising
Server provides the administrative interface for configuring, delivering, and upgrading plug-ins for your
users' computers.
For a complete feature list-> http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/citrix-receiver-feature-matrix.pdf
The need to leverage a global talent base The need to secure product design IP
The need to extend mobile device access to users viewing, presenting design models
HDX 3D Pro
HDX 3D Pro is a set of graphics acceleration technologies designed to optimize the virtualization of rich
graphics apps. HDX 3D Pro is a feature of XenDesktop Enterprise and Platinum editions that enables you
to deliver workstations and applications that perform best with a graphics processing unit (GPU) for
hardware acceleration, including 3D professional graphics applications based on OpenGL and DirectX.
With HDX 3D Pro, you can use XenDesktop to deliver complex interactive graphics over wide area
network (WAN) connections with bandwidths as low as 1.5Mbps using various deep compression CPU
and GPU techniques.
On local area network (LAN) connections, HDX 3D Pro enables you to replace complex and expensive
workstations with much simpler user devices, moving the graphics processing into the data center for
centralized management.
You can use HDX 3D Pro to virtualize, for example, tools for computer-aided design, manufacturing, and
engineering (CAD/CAM/CAE), geographical information system (GIS) software, and picture archiving and
communication system (PACS) workstations for medical imaging.
HDX 3D Pro provides 2 types of Deep Compression options CPU based or GPU based.
CPU-based deep compression -> In June 2012, Citrix released the latest HDX 3D Pro VDA which includes
advancements in CPU compression and is designed to offload compression processing from the GPU.
This gives us the following an advantage that you can use a less expensive GPU card if you choose and
the GPU processing can focus on graphics command delivery for better graphics performance. With the
CPU deep compression codec, it is possible to achieve good performance with as little as 1.5 Mbps of
bandwidth.
GPU-based deep compression -> GPU-based compression is advantageous on servers with limited CPU
resources. To leverage our GPU-based deep compression codec, the host workstation in the data center
must be equipped with NVIDIA graphics card with at least 96 CUDA cores (128 or more recommended).
Fine drawing codec -> HDX 3D Pro also includes a fine drawing codec for rendering fine detail graphics
and images.
Lossless compression -> HDX 3D Pro supports lossless compression, which enables you to deliver pixelperfect images for applications such as medical imaging.
VDI or RDS/XenApp
So, when do you choose which HDX 3D Pro technology? Good question and it all comes down to the
user needs and if the application will work in a multi user environment RDS/XenApp. While in most
cases, XenApp will do the trick, and is far more cost efficient, some applications will just not work in a
XenApp multi user environment. The latter might need xxx CUDA cores, to render stuff, and then it will
be the best bet to go with VDI. So, the question what should we choose, really comes down to 2 things:
1. Will the application work in a XenApp environment? Many 3D applications has usb
keys with licenses on them to get the app running, will this work? Does the application
support the amount of users that you need pr XenApp host?
2. User needs what is the user doing? Is he rendering stuff? On the other hand, are they
just viewing 3d cad models? Find out the user pattern for the app in question!
This architecture's virtualization capabilities lets multiple users simultaneously share GPUs with
ultra-fast streaming display capability that eliminates lag, making a remote data center feel like
it's next door. NVIDIA GRID software is a complete stack of GPU virtualization, remoting and
session-management libraries that allows multiple users to experience graphics-intensive
desktops, applications and games using GPUs. This enables exceptional capture, efficient
compression, fast streaming, and low-latency display of high-performance games and
enterprise applications.
NVIDIA GRID vGPU brings the full benefit of NVIDIA hardware-accelerated graphics to
virtualized solutions. This technology provides exceptional graphics performance for virtual
desktops equivalent to local PCs when sharing a GPU among multiple users.
GRID vGPU is the industry's most advanced technology for sharing true GPU hardware
acceleration between multiple virtual desktopswithout compromising the graphics
experience. Application features and compatibility are exactly the same as they would be at the
desktop in the office.
With GRID vGPU technology, the graphics commands of each virtual machine are passed
directly to the GPU, without translation by the hypervisor. This allows the GPU hardware to be
time-sliced to deliver the ultimate in shared virtualized graphics performance.
10
11
The GRID K100 and K200 GPU profiles are designed for the lighter graphics workloads associated with
the applications that knowledge workers and power users use most of their time. These include
Windows 8.1, Windows 7 with Aero enabled, viewing rich web content such as Adobe Flash or HTML 5,
or simply getting the full interactive experience of Microsoft Office (PowerPoint, Excel, Word). To
understand more about the graphics requirements of your applications, consult your application vendor.
Each GPU within a system must be configured to provide a single vGPU profile, however separate GPUs
on the same GRID board can each be configured separately. For example, a single K2 board could be
configured to serve eight K200 enabled VMs on one GPU and two K260Q enabled VMs on the other
GPU. The key to efficient utilization of a systems GRID resources requires understanding the correct end
user workload to properly configure the installed GRID cards with the ideal vGPU profiles maximizing
both end user productivity and vGPU user density.
12
13
8. Verify that the NVIDIA kernel driver can successfully communicate with the GRID physical GPUs
in your host by running the nvidia-smi command, which produces a listing of the GPUs in your
platform similar to:
9. When successful you should have something in the line of this under the GPU tab in XenCenter.
14
10. Now, you are ready to create a vGPU enabled Virtual Machine
11. Now, that youve created the new VM and have done the setup of your preferred OS, you need
to install the 32- or 64-bit NVIDIA Windows driver package in the VM and run setup.exe file that
came with the package.
If the installer comes up with a message about that a NVIDIA card is not found then you need to
troubleshoot the install process.
12. Now you need to install XenTools, choose it from the XenCenter and follow the onscreen
instructions.
15
13. Also check the Delivery Controller and Policies Check that the HDX 3D Pro stuff is set.
16
14. Install the VDA of choice. Please note that if you are installing a VDI, with windows 7 or
Windows 8, you will have the option to choose HDX 3D Pro during install:
15. Done!
Please note that the NVIDIA GRID vGPU is only supported on compatible versions of Citrix XenServer 6.2 and up. Consult Citrix for
compatibility. Also, always check the hcl list for XenServer, to see if your HW or server is supported.
17
HDX Plug-n-play
HDX Plug-n-Play enables simple connectivity for multi-monitor support, smart card support, special
folder redirection, universal printing, file-type association, and USB support. It also includes local
machine resources capabilities.
These capabilities include:
18
HDX Broadcast
HDX Broadcast ensures reliable, high-performance connectivity over any network with ICA and RDP
protocol support for access with any device.
HDX Mobile
The Mobile SDK for Windows Apps provides a rich toolkit for enterprise Windows / .NET developers to
mobilize existing line of business Windows applications or write new touch-friendly, mobilized
applications that are hosted on Citrix XenApp or XenDesktop and delivered to any mobile device with
Citrix Receiver. These mobilized Windows applications are able to leverage a wide variety of mobile
device functionality including GPS, sensors, cameras, local controls, and device buttons in the same way
that native applications running locally on the mobile device do.
The SDK has over 100 APIs and out-of-the-box support for a number of programming language bindings.
These APIs allow developers to produce mobile-friendly user interfaces for new and existing enterprise
applications that match the capabilities of smartphone and tablet devices.
19
Significantly improves Citrix XenDesktop and XenApp capacity and performance over the WAN
Accelerates enterprise applications and multimedia to branches, data centers and mobile users
Securely extends and accelerates the enterprise data center network (L2 or L3) connection to
public clouds
Simplifies IT with integrated Windows appliance options
Provides granular, application level performance reporting for detailed usage analysis
Scales up to 5,000 XenDesktop users in a single platform with the ability to scale out by load
sharing across multiple devices
Key Features
20
HDX SoC
HDX SoC, short for HDX System on a Chip. Is a technology that Citrix has developed for hardware
vendors to embed in a chip. HDX SoC is an embedded technology for thin clients.
Citrix provides an SDK to System-on-Chip vendors that enables compute intensive HDX algorithms to
execute outboard from the CPU, allowing inexpensive ARM processor based devices to deliver a high
definition user experience. Device manufacturers using these SoCs have now brought to market a broad
portfolio of low cost HDX Ready thin clients, zero clients and other products. Unlike competing solutions
that burn the remoting protocol into silicon, which can result in a device becoming obsolete within
months, the Citrix approach allows for ongoing innovation without hardware replacement. Click here for
the latest information HDX SoC thin clients available from HP, Igel Technologies, Dell/Wyse, NComputing
and others.
21
HDX MediaStream
A regular pain for any IT administrator is the use of Flash on webpages. Citrix developed a technology
that redirects and offloads the flash media (audio and video). HDX MediaStream and Flash Redirection
allows you to move the processing of most Adobe Flash content from Internet Explorer on the server to
LAN- and WAN-connected users' Windows and Linux devices. This processing includes animations,
videos, and applications. By moving the processing to the user device, Flash Redirection helps reduce
server and network load, resulting in greater scalability while ensuring a high definition user experience.
HDX accelerates multimedia performance by sending compressed streams to endpoint devices and
playing them locally; it works by running the Flash Player on the client, rather than the server. The
browser (IE) instance that contains the Flash Player remains on the XenApp server. The interface
between IE and the Flash Player is the ActiveX interface. Finally, The HDX service on the server, "Citrix
HDX MediaStream for Flash", runs under the Local Service account, and has the most limited privileges
needed by the service to perform these functions.
HDX MediaStream for Flash can only function if the HDX MediaStream for Flash Virtual Channel is
present on both the server and client.
HDX MediaStream for Flash is enabled by default when the Server side service component is installed
and running. It is not required to have the Client or Server side HDX GPO template enabled or configured
for HDX to work. The GPO template allows an administrator to control per user availability of the HDX
features. Various settings can be set in both the client and server GPO, to assist an administrator in
managing and configuring their HDX environment.
22
23
Server-side content fetching is the exception and can be configured on a per-URL basis using a serverside configuration setting. In addition, you must enable server-side content fetching on the client.
The virtual desktop acts as a proxy and sends all resources via the ICA connection:
This model while it takes more resources on the virtual desktop, it enables end point with no access to
the internet. Client side content fetching is enabled by default and you do not need to do anything if this
is the model you want to work with.
24
In versions of XenApp 6.5 and back confirm that SSCF is being used, you must first ensure that the
content is being rendered by verifying that PseudoContainer.exe is running on the client. If the client is
rendering the content, verify that the client is not fetching the content directly by watching the HTTP
traffic (using Fiddler or similar trace tool).
If SSCF is working, there should not be any direct HTTP traffic from the client, only from the server or
Virtual Desktop Agent.
If you observe traffic from the client to the content, and PseudoContainer.exe is running, check your
server-side content fetching list syntax, and test with a single * entry to enable SSCF for all content.
If PseudoContainer.exe is not running on the client, use the HDX Experience Monitor for XenApp to
confirm that HDX Flash prerequisites have been met.
In XenDesktop 7.x and XenApp 7.5 and beyond the process is called Citrix HDX Engine.
25
Improved network utilization and server scalability. The host does not perform any processing on the
media; media files are streamed directly to the client for processing.
The client device requires only the ability to play a file from a URL; it does not need an advanced
multimedia framework such as Microsoft DirectShow or Media Foundation.
Multicasting is allowed on networks that support it, enabling a single Windows Media source
transmission to serve multiple users.
The application uses Microsoft DirectShow or Media Foundation framework in a manner that
Windows Media client-side content fetching can intercept.
The client device has access to the source provider on the Internet or Intranet.
Any prior attempt to play the requested URL in the current session using Windows Media client-side
content fetching did not fail. (Failed URLs are added to a blacklist for the duration of the session; the
list resets when the user logs out.)
Due to operating system restrictions, Microsoft Media Server and Real Time Streaming Protocol are not
supported for iOS clients.
Two Policy settings control this feature: Windows Media Client-Side Content Fetching and Windows
Media Redirection. By default, both are set to Allowed. If Windows Media client-side content fetching
fails, content is fetched by the host and redirected to the client using Windows Media redirection; if
Windows Media redirection fails, content is rendered on the host. Windows Media client-side content
fetching provides the best user experience in most cases. If you find it necessary to turn off this feature,
add the Windows Media Client-Side Content Fetching setting to a policy and set its value to Prohibited.
If you turn off Windows Media redirection, Windows Media client-side content fetching is also turned
off.
26
Transcoding converts the media content into a format that can be rendered locally on the client
hardware, eliminating the need to fall back to server-side rendering.
Policies help administrators predict and manage multimedia content network consumption,
maintaining multimedia Quality of Service (QoS).
Transcoding can compress media data to reduce file size, or convert the data to a format supported
on the target device. For example, transcoding enables video formats that are not compatible with
iOS, such as .wmv, to be converted and played on iOS clients.
Transrating lowers the bitrate of the media to match the available bandwidth to the client device,
providing smooth playback with synchronized audio and video even for users playing HD videos on
WANs or low bandwidth Wi-Fi connections. Examples include decreasing the medias resolution or
frame rate to achieve a lower bit rate.
Use GPU for optimizing Windows Media multimedia redirection Over WAN
By default, Windows Media Redirection and Optimization for Windows Media multimedia redirection
Over WAN are Allowed so real-time multimedia transcoding automatically deploys as needed. GPU
transcoding is prohibited by default; to configure GPU transcoding, add the Use GPU for optimizing
Windows Media multimedia redirection Over WAN setting to a policy and set its value to Allowed. To
configure GPU transcoding, Optimization for Windows Media multimedia redirection Over
WAN and Windows Media Redirection must also be in the policy and set to Allowed; if either of these
policy settings is Prohibited, GPU transcoding is also.
Transcoding occurs on the Virtual Delivery Agent (VDA). To improve server scalability, if the VDA has a
supported Graphics Processing Unit (GPU) for hardware acceleration and the Use GPU for optimizing
Windows Media multimedia redirection Over WAN is Allowed, transcoding is done in the GPU;
otherwise, transcoding falls back to the CPU. The media stream is then translated to achieve the target
transmission bitrate and redirected to the client device, where it is recompressed and rendered.
In most cases, real-time multimedia transcoding provides the best user experience. If you find it
necessary to turn off real-time multimedia transcoding, add the Optimization for Windows Media
multimedia redirection Over WAN setting to a policy and set its value to Prohibited. If you prohibit
ALEXANDER ERVIK JOHNSEN 2014 WWW.ERVIK.AS
27
Windows Media redirection, real-time multimedia transcoding (including GPU transcoding) is also
prohibited.
Configuring Windows Media Related Policies
In previous versions of XenDesktop and XenApp, there was a load of tuning guides and other tuning
policies out there. I made one as well, that to date is in use, check out the www.ervik.as download
section to grab it. Starting from XenDesktop 5.x/XenApp 6.5 and up Citrix made it easier for the admins
out there. Most of the policies that make up the user experience is by Default: Allowed in the policies.
Now, tuning your environment might be crucial for the user experience that your users get. These
setting depends on many factors, like WAN, Latency, what kind of link the users have etc. etc
28
29
HDX IntelliCache
IntelliCache refers to Citrix current and future capabilities to locally cache bandwidth intensive data and
graphics and locally stage streamed applications. Here Citrix CloudBridge is used to illustrate IntelliCache
as it caches common application display data for multiple users locally to the branch office, eliminating
redundant transfer of commonly used application objects.
Using IntelliCache, hosted VDI deployments are more cost-effective because IntelliCache enables you to
use a combination of shared storage and local storage. Performance is enhanced and network traffic is
reduced. The local storage caches the master image from the shared storage, which reduces the amount
of reads on the shared storage. For shared desktops, writes to the differencing disks are written to local
storage on the host and not to shared storage.
Your shared storage must be NFS when using IntelliCache.
Citrix recommends that you use a high performance local storage device to ensure the fastest possible
data transfer.
To enable IntelliCache in XenServer
When installing XenServer, select Enable thin provisioning (Optimized storage for XenDesktop). Citrix
does not support mixed pools of servers that have IntelliCache enabled and servers that do not.
For more information on using IntelliCache, see the XenServer and IntelliCache chapter in the XenServer
Installation Guide available from the XenServer node.
To enable IntelliCache in this product
IntelliCache is disabled by default. You can update the setting only when you create a connection; you
cannot disable IntelliCache later. When you add a XenServer connection from Studio:
1. Select Shared as the storage type.
2. Select Use IntelliCache to reduce load on the shared storage.
30
31
Starting with XenDesktop 5.5 & XenApp 6.5 is to use multiple TCP connections (aka Multi-Stream ICA) to
carry the ICA traffic between the client and the server. In addition, in XenDesktop, there is an optional
UDP connection along with multiple TCP connections. Each of these connections will be associated with
ALEXANDER ERVIK JOHNSEN 2014 WWW.ERVIK.AS
32
a different class of service. Each ICA virtual channel will be associated with a specific class of service and
be transported in the corresponding TCP connection. The network administrator will be able to prioritize
each of these classes of service, independently from each other, based on the TCP port number used for
the connection.
These are the four classes of services that we can configure:
33
Summary
I hope you have enjoyed this eBook, Citrix HDX technologies for Dummies. My goal was to clarify the
different HDX technologies that Citrix delivers. As things evolve in this industry, watch out for an
updated version during Autumn/Winter 2014.
Citrix bought FrameHawk in January 2014, and has announced that they will implement this technology
in the future. The FrameHawk technology will have an impact on the HDX stack, as it is designed for
networks with limited bandwidth, like GPRS and Satellite connections. I will update this eBook when this
technology is implemented.
34