Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Understanding Multicast Load Balancing Over 10-Gigabit Links for Routed Multicast Traffic on Switches

    Streaming video technology was introduced in 1997 and multicast protocols were subsequently developed to reduce data replication and network overloads. With multicasting, servers can send a single stream to a group of recipients instead of many unicast streams. Multicasting plus streamed video boosted the evolution of streaming from an occasional company presentation to a constant stream of movies, real-time data, news clips, and amateur videos flowing nonstop to computers, TVs, tablets and phones. All of these streams quickly overcame the capacity of network hardware, resulting in unacceptable blips and stutters in transmission.

    To satisfy the growing bandwidth demands, multiple links were virtually aggregated to form bigger logical point-to-point link channels for the flow of data. These virtual link combinations are called multicast interfaces, also known as link aggregation groups (LAGs).

    Multicast load balancing manages the individual links in each LAG, making sure that each link is used efficiently. Hashing algorithms continually evaluate the data stream, adjusting stream distribution over the links in the LAG, so that no link is underutilized or overutilized.

    This topic includes:

    Create LAGs for Multicasting in Increments of 10 Gigabits

    The maximum link size on Juniper Networks EX8200 Ethernet Switches is 10 gigabits. Therefore, if you need a bigger link, you can combine up to four 10-gigabit links. In Figure 1, four 10-gigabit links have been aggregated to form each 40-gigabit link.

    Figure 1: 40-Gigabit LAGs on EX8200 Switches

    40-Gigabit LAGs on EX8200 Switches

    When Should I Use Multicast Load Balancing?

    Use a LAG with multicast load balancing when you need a downstream link greater than 10 gigabits. This need frequently arises when you act as a service provider or when you multicast video to a large audience.

    To use multicast load balancing, you need the following:

    How Does Multicast Load Balancing Work?

    Juniper Networks Junos operating system (Junos OS) supports the Link Aggregation Control Protocol (LACP), which is a subcomponent of IEEE 802.3ad. LACP provides additional functionality for LAGs and is supported only on Layer 3 interfaces. When traffic can use multiple member links, traffic that is part of the same stream must always be on the same link.

    Multicast load balancing uses one of seven available IP address hashing algorithms and a technique called queue shuffling (alternating between two queues) to distribute and balance the data, directing streams over all available aggregated links. You can select one of the seven algorithms when you configure multicast load balancing, or you can use the default algorithm, crc-sgip, which uses a cyclic rededundancy check algorithm on the multicast packets’ group IP. We recommend that you start with the CRC SGIP default and try other options if this algorithm does not provide suiutable results. Six algorithms are based on the hashed value of IP addresses (IPV4 or IPV6) and will produce the same result each time they are used. Only the balanced mode option produces varied results depending on the order in which streams are added. See Table 1 for more information.

    Table 1: Hashing Algorithms Used by Multicast Load Balancing

    Hash Mode

    Based On

    Best Use

    crc-sgip

    Cyclic redundancy check of multicast packets’ source and group IP address

    Default—all high performance management of IP traffic on 10-Gigabit Ethernet network. Predictable assignment to same link each time. This mode is complex but yields a good distributed hash.

    crc-gip

    Cyclic redundancy check of multicast packets’ group IP address

    Predictable assignment to same link each time. Try this mode when CRC SGIP does not give satisfactory results and the group IP addresses vary.

    crc-sip

    Cyclic redundancy check of multicast packets’ source IP address

    Predictable assignment to same link each time. Try this mode when CRC SGIP does not give satisfactory results and the stream sources vary.

    simple-sgip

    XOR calculation of multicast packets’ source and group IP address

    Predictable assignment to same link each time. This is a simple hashing method that might not yield as even a distribution as CRC SGIP yields. Try this mode when CRC SGIP does not give satisfactory results.

    simple-gip

    XOR calculation of multicast packets’ group IP address

    Predictable assignment to same link each time. This is a simple hashing method that might not yield as even a distribution as CRC GIP yields. Try this when CRC GIP does not give satisfactory results and the group IP addresses vary.

    simple-sip

    XOR calculation of multicast packets source IP address

    Predictable assignment to same link each time. This is a simple hashing method that might not yield as even a distribution as CRC SIP yields. Try this mode when CRC SIP does not give satisfactory results and stream sources vary.

    balanced

    Round-robin calculation method used to identify multicast links with lowest streams assigned

    Best balance is achieved but you cannot predict which link will be consistently used because that depends on the order in which streams come online. Use when consistent assignment is not needed after every reboot.

    How Do I Implement Load Balancing on an EX8200 Switch?

    Follow these recommendations to get the best throughput for load balancing:

    • Allow 25 percent unused bandwidth in the aggregated link to accommodate any dynamic imbalances due to link changes caused by sharing multicast interfaces.
    • For downstream links, use the same size multicast interfaces whenever possible. Also for downstream aggregated links, throughput is optimized when members of the aggregated link belong to the same devices.
    • For upstream aggregated links, use a Layer 3 link whenever possible (as opposed to a routed VLAN interface (RVI) link). Also for upstream aggregated links, throughput is optimized when the members of the aggregated link belong to different devices.

    Published: 2012-06-19