Documente Academic
Documente Profesional
Documente Cultură
APPENDIX .................................................................................................................................................... 15
Page 2
Overview of the HDX policy templates
XenApp and XenDesktop 7.6 Feature Pack 3 (FP3) include redesigned and new HDX
policy templates that simplify how admins can deploy the many enhancements and
innovations in this release. Such a significant revamp of policy templates is a major
task, and has been long overdue. This document will list the design considerations
when using these templates to create policies, and discuss the planning guidance to
determine the right settings for a given use case. It does not replace comprehensive
product documentation on the XenApp and XenDesktop polices available at
http://docs.citrix.com. The intended audience for this document is an advanced
Citrix administrator who is familiar with HDX concepts, policy templates, and
previous versions of the product.
FP3 supports both built-in templates that ship with the product and custom
templates that are made available periodically on http://support.citrix.com to help
with additional use-cases. This document mainly focuses on the built-in templates.
High Server Scalability-Legacy OS. This High Server Scalability template applies
only to VDAs running Server 2008 R2 or Windows 7 and earlier. This template
relies on the Legacy graphics mode which is more efficient for those operating
systems.
Optimized for WAN. This template is intended for task workers in branch offices
using a shared WAN connection or remote locations with low bandwidth
connections accessing applications with graphically simple user interfaces with
little video content (suitable for Thinwire Compatibility mode). This template
trades off video playback experience and some server scalability for optimized
bandwidth efficiency.
Page 3
Optimized for WAN-Legacy OS. This Optimized for WAN template applies only
to VDAs running Server 2008 R2 or Windows 7 and earlier. This template relies
on the Legacy graphics mode which is more efficient for those operating
systems.
Very High Definition User Experience. This template enforces default settings
which maximize the user experience. Use this template in scenarios where
multiple policies are processed in order of precedence.
A side by side list of the policy settings used in these templates is presented further
down in this document.
Page 4
High Server Scalability
This template is aimed to provide maximum user density per server. It is designed
for VDAs running modern operating systems like Windows 8, 10 and Server 2012R2.
A separate template with - Legacy OS suffix is provided for Windows 7 and
Server 2008R2.
What this template does: This template will disable the use of video codec for
compression of graphics. This change alone improves the user density per server
while trading off on server render graphics. Most user applications will not be
impacted with this change, while server rendered multimedia playback experience
will be reduced. In addition, and to further increase density, settings in this template
preventing server rendered multimedia playback on the default Windows
applications while allowing the redirection technologies provided by Citrix to
operate whenever possible.
How to use it: It is best to apply a policy created from this template to all users in a
server. Exceptions (like different printing settings or even advanced graphics modes
like Framehawk or DCR) can be achieved by applying a higher priority policy filtered
to the desired users.
There are no client side prerequisites for simple-graphics task work (office
suite, etc.) use with a policy created from this template is used.
Page 5
The template will disable some personalization and graphics effects like
Desktop Wallpaper and Menu animations. While there are additional
optimizations possible in the operating system these could cause undesired
scalability effects and should be applied only after testing and comparing
with the settings from this template. Among these is Show contents while
dragging, traditionally disabled in remote access scenarios but enabled on
the template. Disabling this does not benefit the overall performance of the
template because of the behavior of Thinwire Compatibility mode, used in
this template.
Product additions like Lync Optimization Pack and Citrix Universal Printer
Server will enhance the user experience and potentially improve the user
density.
Additional to the increase in User density per server, usage of this template
may also reduce required bandwidth per session for simple graphical user
interfaces (like Microsoft Office).
Page 6
CPU savings when using High Server Scalability template1
Default Configuration
Disclaimer: This is a sample comparison. Actual savings will depend on the specific user workflow.
1
After the description and considerations for each of the templates, an indicative comparison is
provided to visualize the savings in resource consumption using the templates. These are not intended
as a performance benchmark, as they are based on simple tests conducted using single session of the
LoginVSI 4.1 Power user workload. Please test using workloads typical in your organization to
determine system scalability relevant to that environment.
Page 7
High Server Scalability Legacy OS
This template is provided for maximum user density per server on VDAs with
Windows 7 and Server 2008R2 operating systems. It leverages the Legacy Thinwire
graphics mode, optimized for these Operating Systems, and will provide results
similar to those from XenApp 6.5 and XenDesktop 5.6.
How to use it: The legacy graphics mode policy is a machine policy and should be
applied to all sessions in a server. Exceptions to settings other than graphics (like
different printing settings) can be achieved by applying a higher priority policy
filtered to the desired users.
What this template does: All other settings with the exception of Legacy graphics
mode and Show contents while dragging are the same as the High Server
Scalability template. All considerations from that template unless specified below
apply.
Where applicable, using DCR might also improve the user density per server.
Default Configuration
High Server Scalability - Legacy OS template
Disclaimer: This is a sample comparison. Actual savings will depend on the specific user workflow.
Page 8
Optimized for WAN
This template is aimed to improve the user experience when connecting with low
bandwidth connections accessing applications with graphically simple user
interfaces. It is designed for VDAs running modern operating systems like Windows
10 and Server 2012R2, a separate template with - Legacy OS suffix is provided
for Windows 7 and Server 2008R2.
What this template does: This template will disable the use of video codec for
compression of graphics. This change is highly effective in reducing the bandwidth
requirements for Office applications and alike but it may reduce the server rendered
video quality and could reduce interactivity if the interfaces are highly graphical (e.g.
CAD applications).
The template allows all (enabled by default) Citrix multimedia redirections for
Windows Media Layer and Flash and on the fly optimization of windows media if
required for the WAN link in use.
DO NOT use this template if users continuously view multimedia. In that case, use
the default settings or customize this template by enabling the compression using
video-codec.
How to use it: Policies created from this template can be applied to Delivery Groups
serving users across the described WAN links or on a per-user basis (with high
policy priority) to be determined upon connection and using the available User
setting policy filters like Client IP, NetScaler Gateway Access Condition, etc.
There are no client side prerequisites for simple-graphics task work (office
suite, etc.) use with a policy created from this template is used.
Adverse results when using this template could indicate users continuously
view multimedia content. See recommendations above if this user behavior is
accepted.
Page 9
Server rendered multimedia playback may be sub-optimal as the frame rate
has been limited to a target maximum of 16.
Complex graphics images with gradient colors (such as a skyline) will not
change gradually but in steps as the template color depth for simple
graphics setting subsamples the colors in the display to 16 bits per pixel to
reduce bandwidth requirements.
The template will disable some personalization and graphics effects like
Desktop Wallpaper and Menu animations. While there are additional
optimizations possible in the operating system these could cause undesired
scalability effects and should be applied only after testing and comparing
with the settings from this template. Among these is Show contents while
dragging, traditionally disabled in remote access scenarios but enabled on
the template. Disabling this does not benefit the overall performance of the
template because of the behavior of Thinwire Compatibility mode, used in
this template.
Product additions like Lync Optimization Pack and Citrix Universal Printer
Server will enhance the user experience and potentially improve the user
density.
The universal printer driver is enabled for all printers. It can guarantee low
bandwidth requirements regardless of the printer. While some printer specific
drivers and the use of a print server (which requires additional setup) might
yield better results than the generic printer driver we cannot enable it for
general use as they require additional configurations and or testing.
Page 10
Direct Connection to print servers is disabled and network printers attached
to the client device will use the Citrix Generic Printer driver to transverse the
WAN and spool the print job from the client. This is done so print bandwidth
(optimized inside the ICA session) can be managed and because we cannot
predict how Printer specific drivers will behave over the WAN link.
Default Configuration
Optimized for WAN template
Disclaimer: This is a sample comparison. Actual savings will depend on the specific user workflow.
How to use it: The legacy graphics mode policy is a machine policy and should be
applied to all sessions in a server. Exceptions to settings other than graphics (like
different printing settings) can be achieved by applying a higher priority policy
filtered to the desired users.
Page 11
What this template does: All other settings with the exception of Legacy graphics
mode Show contents while dragging and Extra Color Compression are the
same as the Optimized for WAN template. All considerations from that template
unless specified below apply.
Default Configuration
Disclaimer: This is a sample comparison. Actual savings will depend on the specific user workflow.
Page 12
Very High Definition User Experience
The product already ships configured to provide a high definition user experience. A
close look at this template shows it mostly enforces default values except High
visual quality and Best Quality printing which the template sets this values higher
than the default.
When to use: This template is provided to ensure maximum user experience using a
policy created using it and takes precedence over other policies with specific filters
(e.g. VIP users).
How to use it: Use this template to create a policy and apply it with a filter selecting
the desired users or scenarios and higher priority than other policies created from
the templates and applying to the general user base (for example Server Scalability
policies or WAN).
Updated client hardware and receivers are required (e.g. CPUs faster than 2.0GHz
with h.264 support and Receiver for Windows 4.x/Mac 11.8/Linux 13.0), else a
policy created with this template might have adverse effects.
Consider a VDA GPU solution. High end user applications, graphical or with
extreme processing needs, can leverage the processing power of a GPU allowing
for better performance and in some instances better server scalability. More info
see http://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/xad-hdx-
landing/xad-hdx3dpro-intro.html.
As with the default configuration, this template will allow the use of a video
codec (h.264) for compression of screen graphics if the Receiver supports it and
has it enabled. Visual quality is automatically adjusted by the video-codec as
required and the Visual Quality setting is not necessary.
Page 13
High visual quality setting only applies when this template is used without video
codec (h.264) from compression (to increase User Density per server) which
results in the graphics mode called Thinwire Compatibility mode. Administrators
can achieve this by placing a higher priority policy with the Video codec from
compression Not used or if the client does not have or has disabled the video
codec support (see client compatibility matrix). Under these circumstances very
high definition user experience will only be obtainable if the VDA and client
device are connected via an unrestricted high bandwidth LAN network.
As with the default configuration, this template uses the Target frame rate
setting of 30 fps which is suitable for most use cases requiring an HD experience,
the default 30 fps should be considered to be an initial baseline which can be
adjusted to meet the end-users HD eXperience (YouTube streams at 24 to 30 fps
by default). Users with high-end graphical and GPU enabled applications may
request higher values up to 60 fps).
This template will allow Windows Media player and Flash multimedia redirection
to Windows and Linux receivers and Windows Media Player only to IOS devices.
Please use the latest receiver in the client to take advantage of recent
improvements.
Printing is configured for the outmost user experience including best print
output quality and all configuration options available. If the client devices have a
large number of printers configured and/or manufacturer Printer drivers are not
optimized for remote printing this could lead to very high bandwidth usage,
reduction in user density per server and possible interoperability problems at the
VDA.
Page 14
Appendix
Template name Very High High Server High Server Optimized Optimized for
Definition User Scalability Scalability for WAN WAN
Experience Legacy OS Legacy OS
Bandwidth
Overall session 0 Note: simply to expose the
bandwidth limit setting
Graphics
Legacy graphics Disabled Enabled Enabled
mode
Desktop Composition Disabled Disabled
Redirection
Use video codec for Use when Do not use n/a Do not use n/a
compression available
Target frame rate 30 16 12 16 16
Target minimum 10 8 8 8 8
frame rate
Visual Quality High Medium n/a Low n/a
Preferred color depth 24bpp n/a 16bpp n/a
for simple graphics
Lossy compression n/a n/a n/a High
level
Maximum allowed n/a n/a n/a 16bpp
color depth
Extra color Disabled Disabled Disabled Disabled Enabled
compression
Desktop UI
Desktop Wallpaper Allowed Prohibited Prohibited
View window Allowed Allowed Prohibited Allowed Prohibited
contents while
dragging
Dynamic windows Enabled Disabled
preview
Menu animations Allowed Prohibited Prohibited
Multimedia
Optimization for Prohibited Allowed
Windows Media
multimedia
redirection over WAN
Page 15
Limit video Quality Maximum 480p
Windows media Not Configured Play all content only on client
fallback prevention
Flash video fallback Not Configured Only small content
prevention
Flash video fallback Apply default sample (see policy)
prevention error *.swf
Multimedia Allowed Prohibited
conferencing
Audio
Audio Quality High high Medium-Optimized for speech Lowfor low speed
definition audio connections
Printing
Auto-create client Auto-create all Auto-create the clients default Auto-create the clients
printers client printers printer only default printer only
Direct connections to Enabled Disabled
print servers
Universal printer Use Univ. Printing Use universal printing only Use universal printing only
driver usage (UPD) only if requested
driver not available
Universal printing No Limit Medium Resolution (600
print quality limit DPI)
Universal Printing ImageCompressio ImageCompression=StandardQu ImageCompression=Reduce
Optimization Defaults n=BestQuality; ality; dQuality;
Other Other Settings=default Other Settings=default
Settings=default
File Redirection
Use Asynchronous Disabled Enabled
writes
Notes:
Settings assigned to default values to ensure desired results when using stacked
policies
Crossed out boxes mark settings (in that row) not applicable to the graphics
mode used in the specific template
Empty boxes represent settings that have no specific recommendation for the
template represented in that column
Page 16
This is not a list of all policy settings, only those used in the built-in templates.
For the complete list refer to the product documentation available at
docs.citrix.com.
Page 17
Graphics Delivery considerations
By default, the product still ships with video-codec usage enabled (when available),
suitable for most general use scenarios.
When High Server Scalability is paramount and/or Optimized for WAN (constrained
bandwidth links are in) use, we are recommending to disable the use of Video
Codec. When the video codec is not used, the session can focus in optimizing the
delivery of text and simple graphics (which are the basis of most business
applications) with the minimum CPU and bandwidth requirements. Please note,
server rendered video performance will not be optimal if bandwidth is limited. For
more see: http://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/xad-hdx-
landing/thinwire-compatibility-mode.html.
Legacy operating systems that allow for GDI use (windows 7 & 2008R2)
Citrix recommends enabling the legacy graphics mode. The legacy Thinwire mode
was designed for the architecture of legacy windows operating systems and it
remains for many use cases the most optimized graphics modes for those operating
systems.
Disable for legacy graphics mode and for better scalability in scenarios were video
codec (h.264) for compression is required but maximum user density is desired.
Page 18
Target frame rate & Target minimum frame rate
For the High Server Scalability and Optimized for WAN (constrained bandwidth
links) templates, targeted for simple graphics use, we are recommending reducing
the target frame rate setting to 16 or 12 and lowering the target minimum to 8.
These settings will help in achieving the desired objective for those templates.
The target frame rate of 16 was chosen as this is the absolute minimum for the
human eye to detect motion.
The VDA and client continuously negotiate the appropriate frame rate to deliver in
the session. In general, frame rate is kept to the minimum required to display the
changes on the screen. When high motion is detected, anything from video
playback to window dragging to scrolling, the session will attempt to deliver every
screen change up to the Target frame rate. In constrained bandwidth connections, it
might not be possible to maintain the target frame rate and the VDA will
automatically balance increasing the screen graphics compression and lowering the
frame rate until the Target minimum frame rate is reached, then increase
compression until a preset (non-configurable) value and lastly further reduce frame
rate as needed. Think of this as automatic adaptive display (a technique used in
previous Citrix products).
Visual Quality
This setting applies to the current Thinwire graphics encoder (not to Legacy mode,
DCR or Framehawk modes).
When using the video-codec (h.264) from compression, only the build to lossless
and Always lossless values apply (high, medium, low is controlled by the video-
codec compression dynamically as needed depending on the connection
conditions)
When the use of video codec from compression is not allowed (Thinwire
Compatibility mode) the High, Medium and Low settings will control the quality of
the graphical elements in the screen. Lossless values apply in the same manner as
when the video-codec is used for compression.
Page 19
Note: Setting visual quality to low does not affect high contrast text (for example
black over white) and it is still delivered with high quality.
Color depth
Different than the legacy mode, XenDesktop and XenApp 7.x Super-codec does not
have control over the color depth and receives 24 bits per pixel. In FP3, as part of
the enhancement of Thinwire without using video-codec for compression, we added
to option to send the session graphics in 16 bits per pixel (controlled by the
Preferred color depth for simple graphics setting). This option reduces the
bandwidth required for simple graphics and it is only noticeable when color
gradients are used. Note that a slightly higher server CPU consumption will be
experienced.
For Legacy graphics mode, used in the Legacy OS templates for scalability and
WAN, Maximum allowed color depth is also limited to 16 or 12. Please note that
in Legacy graphics mode a lower Color depth can be requested or delivered based
on other conditions.
A word on DCR
Desktop Composition Redirection (DCR) is a display Virtual Channel introduced by
Citrix in XenDesktop 5.5. While this technology has many advantages, it is currently
available for Windows 7, 8 and 8.1 VDAs, reduced receiver support and mainly,
customer adoption has been low. Additionally, DCR is not recommended for low
bandwidth WAN links. Because of these, as of FP3, this virtual channel is disabled by
default and the Optimized for WAN templates actively disable it.
Page 20
Multimedia considerations
In all templates and by default on the product, redirection of multimedia playback is
allowed. The following are the additional settings used in the templates:
Multimedia conferencing
Redirection of a webcam from the client to be used in a unified communications or
conferencing application running in the VDA will increase the required server
resources. This feature is disabled in the High Server scalability template.
For more information on the multimedia and Flash redirection policy setting please
visit:
Page 21
http://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/xad-policies-article/xad-
policies-settings-wrapper/xad-policies-settings-ica/xad-policies-settings-
multimedia.html
http://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/xad-policies-article/xad-
policies-settings-wrapper/xad-policies-settings-ica/xad-policies-settings-flash-
redirection.html
Audio considerations
The product ships with a default of High quality audio (roughly 128Kbps). This value
is also applied in the Very High definition template in case a policy created from this
template is prioritized over other policies.
Values listed above are for each audio direction (output and input) individually.
Printing considerations
Citrix includes in XenApp and XenDesktop a universal printer driver that can operate
with most client-attached printers. By default, this driver is only used if the VDA
does not find the printer-specific driver. Also, by default all client attached printers
are mapped into the session by default.
The new built-in templates use the following printing settings that differ from the
defaults:
Page 22
Auto-create the clients default printer only
High Server scalability and Optimized for WAN Creating one printer instead of the
possibly many ensures for savings on both scenarios.
It is worth noting that the user can change the client default printer while in session
and the mapped printer will update even in dual-hop scenarios.
Optimized for WAN The universal printer driver can guarantee low bandwidth
requirements regardless of the printer. While some printer specific drivers and the
use of a print server (which requires additional setup) might yield better results than
the generic printer driver we cannot recommend it for general use as they require
additional configurations and or testing.
For Optimized for WAN templates, this setting is disabled as it is likely that the
network printer be collocated with the user (he has to retrieve the printout right?)
and thus we can ensure the printjob size will be small when printed using the Citrix
Universal printer driver. Additionally, the bandwidth used by the print job will
adhere to the Session bandwidth limits.
Page 23