Library Table of Contents Index Previous Next Comments

Section F: Tuning a streaming media cache for performance

About tuning and load balancing  Top

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.

Importance of load balancing data over network interfaces  Top

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:

Load balancing with WCCP 2.0

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:

Load balancing using the Load Balancing Interfaces 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.

Load distribution using a Foundry ServerIron L4 switch

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.

Check your firewall configuration  Top

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:

Using streaming media statistics to gauge performance  Top

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.

If this is the case...

Then...

The General Statistics page shows a large number of delayed connections.

The NetCache appliance is heavily loaded and you should take immediate action to decrease its load.

The Bytes Queued statistics show a large number of queued bytes.

A network problem exists. Check the client statistics to determine whether this problem is client-related.

If the problem is not client-related, use sysstat to check if CPU capacity is at 100 percent or if network interfaces are at maximum throughput. Verify that data is properly load-balanced across all network interfaces.

The Packets Delayed statistics show that clients are dropping bytes.

The network or client is experiencing problems. Check the Client Bytes Received statistics and Client Bytes Sent statistics to see if a particular client, or group of clients, is dropping bytes.

The client information statistics indicate that more than 5 percent of clients are dropping packets.

A network or client problem exists. Check the Streaming access log to see if a particular client, or group of clients, is affected.

To see streaming statistics, use the sysstat -S command.

CLI commands you can use to gather streaming data  Top

The following CLI commands can be used to gather data about the performance of the streaming media cache:

Library Table of Contents Index Previous Next Comments