Design Consideration WANScaler 4.1
Citrix WANScaler is based on the following five main areas of optimization:
Flow Control:Typical TCP connections protect themselves from congestion by TCP Congestion Control. As TCP has no knowledge of the bandwidth for the WAN link, TCP Slow Start is implemented and increases the send rate for each successful roundtrip. To help protect itself from congestion, TCP reduces the send-rate by as much as 50% for each non-acknowledged transmission, which, combined with TCP slow start and high latencies, require significant amounts of time to get back to full link utilization. Multiple packet losses often lead to WAN link utilizations of only a few percent of the nominal bandwidth. WANScaler’s implementation of TCP Congestion Control is setup in such a way that if a packet is lost or dropped on the network, the send rate is only slightly impacted or not at all, thus allowing the transfer to continue to use the full bandwidth of the link Also, part of the TCP Congestion Control is a Window Size that dictates how much data can be sent before an acknowledgement is received. The TCP Window Size standard is set at 64KB of data. For every 64KB chunk of data that passes across the wire, an acknowledgement is required before the next 64KB chunk of data can be sent. WANScaler also modifies the TCP Window Size for the WAN link, based on the Window Scaling process. This modification means more data passes before pauses, thus allowing for faster data traversal. Both of these enhancements to WAN link utilization can indirectly improve ICA responsiveness as the purchased bandwidth will be more fully utilized, thus allowing other communication to cross the wire faster and leaving more bandwidth for ICA communication.
Compression: One method of compression part of the WANScaler’s Multi-Level Compression engine takes data that it receives from a server and replaces it with a token pointing to a specific location within the WANScaler’s compression history. The token is sent to the receiving WANScaler on the opposite side of the WAN that uses the token to look up the stored data and forwards it onto the client. This results in a significantly smaller amount of data being transferred across the WAN.
CIFS Optimization: The Common Internet File System (CIFS) is used to support directory browsing, file transfer, UNC path access and open/read/write/close file operations. The protocol requires many round-trip communications to perform common and simple tasks. Each roundtrip increases the lag time between a click on the client and an action on the server. WANScaler optimizes the protocol by anticipating the user’s requests and pre-fetching the data on behalf of the user. This helps improve the responsiveness of the user’s session.
Quality of Service (QoS): Citrix WANScaler can support up to five separate classes of traffic, each designated a guaranteed percentage of the available bandwidth. Any number of Service Classes can be members of a single traffic class, which is used to reserve a percentage of the bandwidth. Also, the WANScaler’s implementation of QoS allows groups of virtual channels based on priority bits within the ICA protocol to be prioritized over other groups of ICA virtual channels. This gives the added benefit of reserving a greater amount of bandwidth for more sensitive Presentation Server traffic like screen refreshes over lower critical items like print traffic.
WANScaler Client: Citrix WANScaler can provide traffic optimization for remote users, even over encrypted SSL-VPN links, due to the inclusion of the WANScaler Client. The WANScaler Client is client-side software helping to optimize traffic in circumstances where the number of users does not warrant the use of a full-blown WANScaler device. Remote users and small branch offices can install the WANScaler Client and have the traffic optimized even while going through the Citrix Access Gateway SSL-VPN device.
Each of these five areas will be referenced as valid areas of optimization within the numerous integration points for a Presentation Server environment.
