Cvc2009 Moscow Repeater+Ica Fabian Kienle Final
-
Upload
highload-2009 -
Category
Technology
-
view
600 -
download
0
Transcript of Cvc2009 Moscow Repeater+Ica Fabian Kienle Final
Citrix WAN Optimisationwith Citrix Repeater 5.0 and ICA Acceleration
Fabian KienleBusiness Development Manager CE-E
Six Keys to Successful Application Delivery
Citrix EdgeSight™
Monitor End UserExperience
Citrix Repeater™
Accelerate Appsto Branch Users
Citrix AccessGateway™
Enable SecureApplication
Access
Citrix® NetScaler®
Deliver Web Applications
Citrix XenAppServer™
Deliver Windows Applications
Citrix XenDesktop™
Deliver Desktops
AppsUsers
Citrix Repeater helps with “the last mile”
WANScaler areas of operation
– TCP Flow Control
– Multi-Level Compression
– Protocol Optimization
Protocol Optimization
What is CIFS?•Common Internet File System
– Running on top of SMB “Server Message Blocks”•CIFS is used for
– Directory Browsing– File Transfer– UNC paths– Open/Read/Write/Close operations
•Common trait– Many roundtrips per transaction– Lots of meta data in relation to desired files
How Does WANScaler Accelerate CIFS?•Anticipate requests based on learned behavior
•Read ahead in anticipation of the next data block
•Avoid compressing meta data
– CIFS engine communicates with compression module
Multi-Level Compression
How Does WANScaler Compression Work?• Compression
– Replace a large data chunk with a small token. Send token instead – acts as pointer
– WANScaler Methods:– Disk Based Compression– Memory Based Compression
•Unlike a web cache, WANScaler is not object or file aware. It is only bit stream aware for TCP connections.
• The memory overwrites automatically when the history is full (FIFO).
WANScaler Compression Advantages•Compression is configurable per service class though not
required•WANScaler compression is application independent•Requires zero configuration:
– Automatically chooses the best compression method dynamically:– Disk-based compression (DBC)– Memory-based compression
Multi-Level Compression• Nested compression engines
– Disk-based compression: delivers up to 3500:1 compression for disk matches.
– Memory-based compression: delivers 300:1 compression for memory matches .
– Zlib– LZS
• Automatic – nothing to configure. WANScaler algorithms use the best available based on the situation
Flow Control
Typical TCP Flow Control
•Flow Control– TCP does not know what the bandwidth of the link is!
1TCP Slow Start - packet sending
rate is increased after each round trip.
2TCP Congestion Control -Packet Loss penalty = sending rate cut
by 50%.
Ethernet LAN, 10Mb/s, low latency and loss
Slow Start
Congestion ControlAlgorithm
1
2
x x x x x x
X = packet loss
x x x xx
TCP On the WAN
1High latency means a slower
recovery period during congestion control.
2Feedback (packet loss) is too
infrequent and ambiguous to be accurate.
T3, 45Mb/s, high latency and loss
Slow Start
Congestion Control
1 2
X = packet loss
x x x
TCP On the WAN
1. TCP Distance Bias–Short distance sessions may have packet loss but recover quickly
–Long distance sessions are impacted by packet loss but recover slowly
2. The Result is Low Throughput and Random Application Delays
Slow Start
Long Distance
x x x x x x
X = packet loss
x x x xx
Time (Milliseconds)
Per
form
ance
(Mbp
s) Short Distance1.
Typical WAN Communication
WAN RouterWAN
WAN RouterServer
WAN RouterWAN
WAN RouterClient
Switch Switch
120 ms
Typical WAN Communication
WAN RouterWAN
WAN RouterServer
WAN RouterWAN
WAN RouterClient
Switch Switch
SYN
120 ms
Typical WAN Communication
WAN RouterWAN
WAN RouterServer
WAN RouterWAN
WAN RouterClient
Switch Switch
SYN
SYN + ACK
ACK
120 ms
Typical WAN Communication
WAN RouterWAN
WAN RouterServer
WAN RouterWAN
WAN RouterClient
Switch Switch
SYN
SYN + ACK
ACK
HTTP GET
120 ms
Typical WAN Communication
WAN RouterWAN
WAN RouterServer
WAN RouterWAN
WAN RouterClient
Switch Switch
SYN
SYN + ACK
ACK
HTTP GET
120 ms
ACK+Data
Typical WAN Communication
WAN RouterWAN
WAN RouterServer
WAN RouterWAN
WAN RouterClient
Switch Switch
SYN
SYN + ACK
ACK
HTTP GET
120 ms
ACK+Data
ACK
TCP Flow Control with WANScaler
WAN Server
WAN Router
WANClient
Switch120 ms
SwitchWAN Router
TCP Flow Control with WANScaler
WAN Server
WAN Router
WANClient
Switch120 ms
SwitchWAN Router
WANScaler WANScaler
TCP Flow Control with WANScaler
WAN Server
WAN Router
WANClient
Switch120 ms
SwitchWAN Router
WANScaler WANScaler
SYN SYN+AC
KACK
HTTP GET
ACK AC
KACK
Fast Side Fast SideSlow Side Slow Side
WANScaler Flow Control
Each Segment has its own flow control:– Commonly deployed TCP Windows are 64kB max.– On the WAN side, WANScaler increases the Window to 8MB
(RFC 1323)– WANScaler acknowledges packets on the LAN side, so server
keeps sending Use rate-based sender on the WAN segment. Never
send faster than the configured link speed
WAN Server
WAN Router WANClient
Switch120 ms
SwitchWAN Router
WANScaler WANScaler
What’s new with version 5.0 ?ICA Acceleration
Location based ICA Optimisation
Citrix Repeater
Corporate LAN/Data Center
Branch Office/Regional Site
Based on the well known optimisation technologies, already known from the ICA ClientCaching function taken away from the client, and taken into the data center (Citrix Repeater).So it can be used by ANY user at the data center location !
Optimisation of GUI-, print- and data transfer
Branch Office/Regional Site
Corporate LAN/Data Center
System requirements for ICA AccelerationFor the first release:• XenApp Client
• 32-bit Windows PC* • 11.0
• XenApp Server• ONLY 32-bit Windows Server 2003• XA Server Version 4.5 or 5.0• HRP03 with post Acceleration HF
• Supported Appliances• Branch Repeater (Windows Server)
Version 1.5• Branch Repeater (Linux) on Version 5.0• WANScaler 8000 Series with version 5.0• WANScaler Client offers ONLY TCP
Acceleration**
Scenario # 1:
Example: Two users open the same document, but data will only be transferred once.
• ICA user uses the same Citrix Repeater Box:
1. Different users, by using the same ICA window size and resolution, that access the same texts, numbers etc. (z.B. Word or Excel)
Scenario # 2:
Example: Different users are using form or browser based appplications with identical background objects. Redundant data will not be transferred.
• ICA user uses the same Citrix Repeater Box:
2. Different users, that use the same ICA window size and resolution, scrolling within the same document.
Support of mixed environmentsHQ/Data Center
Branch Office
Citrix RepeaterBranch Repeater or WANScaler
Branch Office
Internet/WAN
For users WITHOUT WanScaler /Branch Repeater Box or with an older ICA Client it all stays the same!
Case Study #1Example of a non optimised environment
WANMPLS
10 - 45 Mbps> 180 ms
50 ICA users15% ICA data traffic
85% non ICA data traffic40% line utilisation ng
XenApp Server 4.5Mainly usage of the
Internet Explorer
Environment:• Slow applications through a slow network (high latency) • But nearly no usage of same/redundant ICA data• No repeatable application scenario (Usage of same data/documents)
Case Study #2Company with branch offices and a centralised serverfarm
WANDSL or fractional T1 (256 kbps – 768 kbps)
50 ms20 ICA users
>95% ICA data traffic>90% line utilisation
XenApp Server 4.5MS OfficePrinting
File sharing
Environment:• Users use same Word and Excel files• Printing is an important, and frequently used function • Users very often copy files (via ICA) from or to centralised file servers
Case Study #3Central server farm, big amount if print data
WANMPLS
1.5 Mbps~ 50 ms
30 ICA users>75% ICA data traffic>90% line utilisation
XenApp Server 4.5ERM Software
Web PortalPrinting of PDF files
Environment:• Slow Response times (applications) by large, and frequently used PDF-Print files• Usage of WEB based Portals and ERM software. Access on same Datensätze.• No usage of MS Office applications and Client Drive Mapping
ICA Acceleration - facts Ideal for print data, CDM file transfer and MS Office as well as applications with many
identical window contents
NOT ideal for Adobe/CAD applications as there are only few opportunities for compression and nearly no redundant data
ICA screen resolution makes the difference. Same resolution is optimal. Differentiating resolution means more (per resolution) data traffic and a larger amount of data within the Citrix Repeater Cache.
ICA Acceleration - facts• Optimal, when many ICA users utilise the same Citrix Repeater Box:
Different users are accessing under usage of the same ICA window size and resolution based on identical data (example: Word or Excel)
Same or different users are blättern within the same file under usage of the same ICA window size and resolution
Different or identical users are printing the same files via ICA
Duplication of same files under usage of ICA Client Drive Mapping. Example: local storage of mail attachments from a published Outlook
Six Keys to Successful Application Delivery
Citrix EdgeSight™
Monitor End UserExperience
Citrix Repeater™
Accelerate Appsto Branch Users
Citrix AccessGateway™
Enable SecureApplication
Access
Citrix® NetScaler®
Deliver Web Applications
Citrix XenAppServer™
Deliver Windows Applications
Citrix XenDesktop™
Deliver Desktops
AppsUsers
Data Center
Transform your datacenter into a delivery center