2.5 Weighted GTT Load Sharing

The default behavior for performing load sharing between nodes with the same relative cost is to perform the load sharing in a round-robin fashion. A limitation of this design is that all destinations have equal processing power and should receive an equal load. However, as new hardware is added to load-sharing groups, the load-sharing groups may have different processing capabilities. Customization of the load-sharing group would allow the traffic load to be distributed on the individual characteristics of each destination.

Another default behavior is to route traffic to a load-shared group if any member of that group with the relative cost value is available. Depending on the traffic, this can overwhelm and congest a node, even though other nodes at different relative cost values could have handled the traffic.

Both of these scenarios can be solved with the Weighted GTT Load Sharing feature, which allows unequal traffic loads to be provisioned in mated application (MAP) and mated relay node (MRN) load sharing groups.

The Weighted GTT Load Sharing feature is enabled by default. The MAP and MRN sets are used by MAP and MRN load sharing groups. Weighted GTT Load Sharing can be applied to load shared only or combined dominant/load shared MAP or MRN groups, and cannot be applied to solitary mated applications, or dominant MAP or MRN groups.

This feature also allows provisioning control over load sharing groups so that if insufficient capacity within the load sharing group is available, the load sharing group is not used.

Weighted GTT Load Sharing provides two controls for GTT traffic distribution through either the MAP or MRN groups:

  • Individual weighting for each entity in a relative cost (RC) group
  • In-Service threshold for each RC group

An RC group is a group of entries in either a MAP group or an MRN group that have the same relative cost value. An entity is either a point code entry in the MRN table or a point code and subsystem number entry in the MAP table.

A MAP group or MRN group can also be referred to as an entity set.

Weighted GTT Load Sharing can be applied to only load shared or combined dominant/load shared MAP or MRN groups, and cannot be applied to solitary mated applications, or dominant MAP or MRN groups.

Individual Weighting

Individual weighting is a method for assigning a different load capacity to each member of an RC group. Each entity is assigned a weight from 1 to 99 and receives a percentage of the traffic equal to its weight relative to the RC group’s total weight. To calculate the percentage of traffic that a particular entity receives within its RC group (assuming all nodes are active and available for traffic), use the following equation:

% of traffic for the entity = (weight value assigned to the entity/RC group weight) x 100%

Note:

With round-robin load-sharing, there is a concept of the preferred entity. The preferred entity is the outcome of GTT. It is the first entity used for load-sharing after initialization, and is the primary entity for Class 1 SCCP Sequenced traffic. When weights are applied, no entity has any preference over another based on GTT information. Distribution is based on the RC group chosen by GTT, not the specific entity.

Individual Weighting Example

Table 2-1 shows how weighting affects traffic delivery. Entity A has a weight of 40 and the total RC group weight is 110, entity A receives 36% of the traffic. Entity C is has a weight of 10 and receives only 9% of the traffic for this group. The total group weight is the sum of the individual weight values assigned to each entity in the group.

Note:

In order to maintain 100% for the RC group, some rounding may occur. This rounding error will always be ± 1%.

Table 2-1 RC Group Weight Example

Entity RC Weight RC Group Weight Percentage of Traffic
A 10 40 110 (40 / 110) * 100% = 36%
B 10 30 (30 / 110) * 100% = 27%
C 10 10 (10 / 110) * 100% = 9%
D 10 30 (30 / 110) * 100% = 28%

If all entities in an RC group have the same weight, the outbound traffic pattern provides equal distribution. For weighted load shared or weighted combined load shared MRN or MAP groups with In-Sequence Class 1 SCCP option on, In-Sequence Class 1 SCCP traffic is routed using the provisioned data as the initial method of routing and dynamic data (if the entity selected by provisioned data is prohibited) as the secondary method of routing. This allows all Class 1 traffic to be delivered to the same destination, and the traffic routing is affected unless the original destination changes status. If Transaction-Based GTT Load Sharing is not turned on, then the Weighted GTT Load Shared MSU Key is used. This provides a consistent MSU Key for the Class 1 SCCP

An MSU Key is a value calculated from parameters of an MSU that allows the MSU to be assigned to an entity within an RC group. An MSU Key always maps to the same entity until there is a status change to the MAP or MRN group.

In-Service Threshold

The in-service threshold defines the minimum percentage of weight that must be available for an RC group to be considered available. If the percentage of the available weight is less than the in-service threshold, then the entire RC group is considered unavailable for traffic. If the percentage of the available weight is equal to or greater than the in-service threshold, then the RC group is considered available, and traffic can be sent to any available entity in the RC group. The in-service threshold helps to prevent congestion when only a small portion of the RC group is available.

The in-service threshold has an initial value of 1%, and has a range of values from 1% to 100%. Current round-robin load sharing has an in-service threshold value of 1%, where if any entity in an RC group is available, it is always used.

The group weight that must be available to carry traffic (the required group weight) is determined by multiplying the total group weight (the sum of the individual weight values assigned to each entity in the group) by the in-service threshold value, expressed as a percentage. For example, if the RC group weight is 110, and the in-service threshold is 75%, the required group weight is 82.

An RC group can be in one of three states: Available, Prohibited, and Threshold-Prohibited. These states are determined by comparing the required RC group weight to the weight of the entities that are actually available for traffic, the entity available weight.

If the state of the entity in the RC group is Available, the entity available weight is the weight value assigned to the entity. If the state of the entity in the RC group is either Congested or Prohibited, the entity available weight is 0. The sum of all entity available weights in the RC group is the RC group available weight. Table 2-2 shows how the states of the RC group are determined.

Table 2-2 RC Group In-Service Threshold States

RC Group State Description
Available The RC group available weight is greater than or equal to the Required RC group weight. Traffic can routed to the RC group in all circumstances.
Prohibited All entities in the RC group are prohibited (the RC group Available Weight = 0). No traffic can be routed to this RC group.
Threshold-Prohibited

At least one entity in the RC group is not prohibited, but RC group available weight is less than the required RC group weight. Even if the RC group available weight is 0, if one entity is congested, then the state of the RC group is Threshold-Prohibited. Normally, no traffic is routed to this RC group.

The Transaction-based GTT Load Sharingand the SCCP Class 1 Sequencing features may route traffic to this group if the primary node is congested. Instead of moving this transaction-based traffic to another node and then back quickly when the congestion abates, routing will continue to the primary node.

In-Service Threshold Example

In the example shown in Table 2-3, the RC group consisting of entities A, B, C, and D does not have sufficient available weight for the group (70 is less than 82), and therefore the RC group is considered Threshold-Prohibited. This RC group is unavailable for traffic.

The RC group consisting of entities E and F does have sufficient available weight for the group, and the RC group is considered Available.

The RC group consisting of entities G and H is Prohibited, since both entities G and H are Prohibited.

The RC group consisting of entities I and J is Threshold-Prohibited, since entity I is Congested. In order for the RC group status to be Prohibited, all entities in the RC group must be Prohibited. Non-Transaction-Based GTT Load Sharing traffic is not routed to the RC group.

If the Transaction-Based GTT Load Sharing feature is enabled and turned on, or SCCP Class 1 Sequencing is used, then traffic can be routed to entity I if that is the primary entity for the traffic (traffic would be routed if entity I were Available).

Table 2-3 In-Service Threshold Example

Entity RC Wgt. RC Group Wgt. In-Service Threshold Req. RC Group Wgt. Entity Status Entity Avail. Wgt. RC Group Avail. Wgt. RC Group In-Service Threshold Status
A 10 40 110 75% 82 Available 40 70 Threshold - Prohibited
B 10 30 Prohibited 0
C 10 10 Prohibited 0
D 10 30 Available 30
E 20 30 40 100% 40 Available 30 40 Available
F 20 10 Available 10
G 30 20 70 50% 35 Prohibited 0 0 Prohibited
H 30 50 Prohibited 0
I 40 25 50 50% 25 Congested 0 0 Threshold - Prohibited
J 40 25 Prohibited 0

Load-Sharing Groups

Weighted GTT Load-Sharing can be applied to only load shared mated application or MRN groups, or combined dominant/load shared mated application or MRN groups.

A load shared MAP or MRN group is a MAP or MRN group containing entries whose RC (relative cost) values are equal.

When Weighted GTT Load Sharing is applied to load shared MAP or MRN groups, traffic is distributed among the entities according to:

  • Entity Status – traffic is only routed to an entity if the entity is considered Available.
  • Entity Available Weight – the entity receives a percentage of the traffic determined by its weight relative to the total available weight of the RC group.
  • RC group status - refer to Table 2-2.
  • Available RC group weight – The sum of all entity available weights in the RC group.

Table 2-4 shows an example of Weighted GTT Load Sharing applied to a load shared MAP or MRN group.

Table 2-4 Load Shared Group with Weighted GTT Load Sharing Example

Entity RC Weight RC Group Weight In-Service Threshold Required RC Group Weight Entity Status
A 10 40 110 50% 55 Available
B 10 30 Prohibited
C 10 10 Available
D 10 30 Available
Entity Entity Available Weight RC Group Available Weight RC Group In-Service Threshold Status MAP or MRN Group Status Current Load %
A 40 80 Available Available 50%
B 0 0
C 10 13%
D 30 37%

All entities in the load shared group are in the same RC group, so if the RC group is unavailable for traffic, all traffic is discarded.

A combined dominant/load shared MAP or MRN group is a MAP or MRN group containing a minimum of two entries whose RC (relative cost) values are equal and a minimum of one entry whose RC value is different.

When Weighted GTT Load Sharing is applied to combined dominant/load shared MAP or MRN groups, traffic is distributed among the entities according to:

  • Entity Status – traffic is only routed to an entity if the entity is considered Available.
  • Entity Available Weight – the entity receives a percentage of the traffic determined by its weight relative to the total available weight of the RC group.
  • RC group status – refer to Table 2-2.
  • Available RC group weight – The sum of all entity available weights in the RC group.
  • MRN or MAP Group Status – the MRN or MAP group must be considered Available in order to route traffic.

Table 2-5 shows an example of a weighted combined load shared group.

Based on the results of global title translation, traffic is routed to one of the RC groups in the weighted combined load shared group. If that RC group is unavailable for traffic, the RC group with the next highest cost that is available for traffic is used to route the traffic. If a higher cost RC group is being used to route traffic, and a lower cost RC group becomes available, the lower cost RC group is then used to route the traffic.

The status of the combined dominant/load shared group is based on the status of the RC groups that make up the combined dominant/load shared group. If the status of any RC group is Available, then the status of the combined dominant/load shared group is Available. If no RC group is available for traffic, but the status of at least one of the RC groups is Threshold-Prohibited, then the status of the combined dominant/load shared group is Threshold-Prohibited. If the status of all the RC groups is Prohibited, then the status of the combined dominant/load shared group is prohibited.

Table 2-5 Combined Dominant/Load Shared Group with Weighted GTT Load Sharing Example

Entity RC Weight RC Group Weight In-Service Threshold Required RC Group Weight Entity Status
A 10 40 110 75% 82 Available
B 10 30 Prohibited
C 10 10 Prohibited
D 10 30 Available
E 20 30 40 100% 40 Available
F 20 10 Available
G 30 10 10 1% 1 Available
Entity Entity Available Weight RC group Available Weight RC group In-Service Threshold Status MRN or MAP Group Status Current Load %
A 40 70 Threshold - Prohibited Available 0
B 0 0
C 0 0
D 30 0
E 30 40 Available 75%
F 10 25%
G 10 10 Available 100%

Note:

The Current Load % column shows the percentage of traffic each entity in the RC group handles.

MSU Routing under Congestion

For Transaction-Based GTT Load Sharing or SCCP Class 1 Sequenced traffic, the original destination of the traffic must be maintained under congestion. Diverting traffic during congestion can lead to invalid transaction states, and the originator is not informed of any problem. If a congested node is selected, then traffic is routed to that node. If the message is discarded, then a UDTS is generated so the originator is informed of a problem. If the node is prohibited, then the selection of an alternate node is acceptable.

For all other traffic, rerouting this traffic away from a congested node is acceptable, since no sequencing or state information needs to be maintained. This can be accomplished by considering a congested entity as Unavailable (thus, its available weight is 0). The congested node receives no traffic. The state of the RC group may transition from Available to Threshold-Prohibited.