SUM410-Getting The Best Performance With Citrix NetScaler
SUM410-Getting The Best Performance With Citrix NetScaler
May 2013
Agenda
© 2013 Citrix
Netscaler Models
NetScaler Models
NetScaler MPX
© 2013 Citrix
Differences Between MPX and VPX
© 2013 Citrix
When to Use Which?
• Fast/remote deployment
© 2013 Citrix
NetScaler SDX
© 2013 Citrix
Network Topologies
One-Armed
If you are able to, one-armed topologies are the preferred method of
deploying NetScaler in most environments.
© 2013 Citrix
Network Topologies
Two-Armed
© 2013 Citrix
Performance Enhancing
Features and Settings
TCP Connection without NetScaler
Client Server
SYN
SYN+ACK Server allocates storage for
ACK connection
GET
ACK
© 2013 Citrix
Transaction with NetScaler
Client NetScaler Server
SYN
SYN+ACK
ACK
GET
GET
Data Server sees
Data
Data Data four packets
Data
Data
FIN
ACK
FIN
ACK
© 2013 Citrix
Global Performance Settings
Global Settings
• Surge Protection
© 2013 Citrix
HTTP Parameters
• Client IP Insertion
• Cookie Version
• Requests/Responses:
ᵒ Drop invalid HTTP requests
ᵒ Mark CONNECT request as invalid
ᵒ Mark HTTP/0.9 request as invalid
ᵒ Log HTTP error responses
• Server Header Insertion
© 2013 Citrix
TCP Parameters
• Window Scaling
• Selective Acknowledgments
• Nagle’s Algorithm
© 2013 Citrix
Performance Enhancing Features
• Faster response
• Fewer bytes on-wire
• Better response for low-
bandwidth clients
• Policy-based rules
© 2013 Citrix
Performance Enhancing Features – Caching
Source: Citrix Application Optimization for MOSS 2007 Performance Assessment - http://support.citrix.com/article/ctx120235
Citrix Confidential - Do Not Distribute
© 2013 Citrix
SSL-Offloaded HTTP Load Balancing
SSL-Offload + Compression Load Balancing Configuration
SSL Offload
Doc. Size Baseline + Compress
SSL Handling on NetScaler
987 kB .doc 16.34s 12.29s
Static/Dynamic content
5.29 MB .doc 89.86s 56.20s compressed
1.75 MB .pdf 28.62s 18.87s
Servers configured as plaintext
5.10 MB .pdf 80.28s 70.36s HTTP
Source: Citrix Application Optimization for MOSS 2007 Performance Assessment - http://support.citrix.com/article/ctx120235
Citrix Confidential - Do Not Distribute
© 2013 Citrix
SSL-Offload + Cmp +Caching HTTP Load Balancing
SSL offload + Compression + Integrated CachingLoad Balancing Configuration
SSL Offload
Doc. Size Baseline + Compress Caching
Source: Citrix Application Optimization for MOSS 2007 Performance Assessment - http://support.citrix.com/article/ctx120235
Citrix Confidential - Do Not Distribute
© 2013 Citrix
Troubleshooting Tools and Commands
NSCONMSG
Current logfile
Displaying current counter value information
NetScaler V20 Performance Data
Grep for ‘ssl_err’ NetScaler NS9.3: Build 57.53.nc, Date: Jul 20 2012, 07:26:39
Write to file
© 2013 Citrix
NSCONMSG – Examples
Checking for distribution and performance
nsconmsg –K newnslog –s ConLb=3 –d distrconmsg
ConDebug - Debugging
ConLb - Load Balancing
ConMon - Monitoring Probes
ConMEM - Memory Management
ConCSW - Content Switching
ConSSL - SSL Offload
ConCMP - Compression
ConIC - Integrated Caching
© 2013 Citrix
Graph Generated by AutoSupport Tools
© 2013 Citrix
Resources
Resources
© 2013 Citrix
Resource – 2
© 2013 Citrix
Conclusion
© 2013 Citrix
Question
© 2013 Citrix
Before you leave…
52 © 2013 Citrix
Work better. Live better.