This section contains information regarding tuning by load balancing when you are operating your NetCache appliance as a streaming media cache with a WCCP 2.0 router or an L4 switch.
It also provides instructions on gathering streaming media data and interpreting the statistics to gauge the performance of a streaming media cache.
You cannot achieve optimal performance unless you first ensure that your network deployment properly load balances connections across the network interfaces of your NetCache appliance.
Streaming media proxies can deliver streaming data to clients very quickly over multiple network interfaces. However, if a proxy is forced to deliver streaming data only over a single interface, the proxy is likely to become limited in its network throughput by the bandwidth of the single network interface.
To ensure proper load balancing, do both of the following:
Note
Network Appliance recommends that you configure both the WCCP NetCache IP Addresses for Load Balancing option and the Load Balancing Interfaces option.
When you deploy your NetCache appliance with a router running WCCP, you can enable NetCache to deliver data over multiple network interfaces by setting the WCCP Load Balancing option on the Transparency Settings page; you list the NetCache network interfaces over which you want NetCache to deliver data to clients. If you do not list any network interfaces, NetCache delivers data to clients over a single interface, which NetCache chooses.
Use the following guidelines to determine which, if any, network interfaces to list in the WCCP Load Balancing option:
By listing the IP addresses of all the network interfaces of your NetCache appliance in the Load Balancing Interfaces option on the Network - General Settings page, you enable NetCache to send out requests with different source IP addresses. This configuration ensures that Web and streaming server requests and responses are distributed over multiple network interfaces.
Note
Configuring the Load Balancing Interfaces option is beneficial if you expect the NetCache appliance to handle a large number of on-demand streaming requests.
If you are using a Foundry ServerIron L4 switch, you must configure the switch to ensure an even distribution of client connections across the cache interfaces by using round-robin or hashing on the client (source) IP address.
Ensuring that the NetCache appliance interacts correctly with the firewall is of paramount importance in establishing and maintaining streaming media quality. You can avoid many streaming media problems by ensuring that you have properly set up access to the firewall and have opened the required ports for streaming media.
The following list describes the effectiveness of each transport:
UDP is the recommended transport for steaming media, and streaming media quality is highest when UDP is allowed. However, all UDP streaming connections require additional TCP control connections. Therefore, to implement UDP streaming, you must also open the streaming TCP ports on the firewall.
The quality of your streaming media degrades when TCP is used for data transport. However, you do not have to open UDP ports to enable TCP streaming. (QuickTime streaming requires UDP ports.)
Streaming media quality is poorest when HTTP encapsulation is used for data transport. NetCache supports both server-side HTTP encapsulation and client-side HTTP encapsulation.
If you do not have a streaming license or streaming is disabled, NetCache will proxy streaming traffic over HTTP (TCP port 80). When NetCache proxies streaming requests over HTTP, NetCache does not split or cache the traffic. From a bandwidth perspective, HTTP proxying is the least desirable method of transporting streaming media.
Note
See the Command Line Reference for category descriptions, syntax, and examples of CLI commands.
The Streaming - General Statistics page and the Streaming - Detailed Statistics page under the Data tab in the Appliance Manager provide traffic statistics about streaming real-time information, and streaming media connections and performance. You can customize the statistics reported in the Statistics tab page by selecting or clearing fields in the Options tab.
The following table shows some of the performance problems indicated by the statistics on the Streaming Media Instrumentation page.
The following CLI commands can be used to gather data about the performance of the streaming media cache:
Provides statistics indicating the current CPU usage, and the amounts of network and disk I/O.
Provides statistics about packets.
Provides streaming statistics indicating the current system load.
Provides statistics for streaming connections. These statistics are identical to those provided in the Appliance Manager.
Displays the current network conditions.
Displays the current TCP statistics. The cache must be rebooted to clear TCP statistics.
Provides statistics about the interfaces enabled on the NetCache appliance.
Provides statistics for active streaming connections.
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-00369
File: stream29.htm
Last updated: 11/12/02 12:13:46