The Per-Connection Ingress MPS Control (PCIMC) feature limits to a configurable level the per-Connection ingress message rate of each connection. Correctly configured message rate controls ensure that a single Connection cannot use the majority of the resources. (No limiting is done by PCIMC for the egress message rate.)
When a connection has data in its socket receive buffer, the data is read from the socket, but is not processed unless a process request is granted. Each time a request is granted, a single message is processed and another request must be granted before the next message can be processed. If a process request is not granted, the message is discarded.
When a process request occurs, if the connection has not exceeded its reserved capacity, the request is granted. If the reserved capacity has been exceeded and the maximum capacity is not yet reached, then the request is granted only if MP shared capacity has not been exceeded.
Per-Connection Ingress MPS Control allocates a DA-MP's ingress message processing capacity among the Diameter Peer Connections that it hosts. Each Peer Connection is allocated, through user-configuration, a Reserved Ingress MPS message processing capacity and a Maximum Ingress MPS message processing capacity.
The Reserved capacity for a Connection is available for exclusive use by the Connection. The capacity between a Connection's Reserved and Maximum capacity is shared with other Connections hosted by the DA-MP.
The DA-MP reads messages arriving from a Peer Connection and attempts to process them as long as Reserved or shared ingress message capacity is available for the Connection. When no Reserved or Shared ingress message capacity is available for a Connection, the DA-MP discards the messages without generation of any response to the Peer.
In addition to enforcing ingress message rate limits on a per Connection basis, Per-Connection Ingress MPS Control colors ingress messages based on the Reserved and average ingress message rates. Message color can be used at other traffic shedding points in the DSR, such as DA-MP Overload Control.
Traffic from under-utilized Connections is marked green by Per-Connection Ingress Message Controls, while traffic from over-utilized Connections is marked yellow. Traffic discarded by PCIMC due to capacity exhaustion (per-Connection or shared) is marked red and is not considered for any subsequent processing.
MPS rates and thresholds are used to manage ingress message MPS as it relates to the MP server as a whole.
This value provides a limit to the total Reserved Ingress MPS of all Diameter Connections assigned to the DA-MP. The value is displayed on the Diameter > Configuration > DA-MPs > MP Profiles GUI page for the MP Profile assigned to the DA-MP.
This value may be greater than the MP Engineered Ingress MPS.
The DA MP monitors its MPS rate and limits the rate to an MP Engineered Ingress MPS value. If the MP Engineered Ingress MPS rate is exceeded, overload can occur and ingress messages are discarded (due to MP Ingress MPS Limiting and MP Congestion Controls).
The Reserved Ingress MPS cannot exceed the configured Maximum Ingress MPS for a given Connection. A Connection can be configured with a zero Reserved Ingress MPS value; such Connections will not reserve message processing capacity.
The Reserved Ingress MPS for a Connection cannot be used by any other Connection, regardless of the load offered to other Connections.
If the Reserved Ingress MPS Capacity is set to a non-zero value, that value times the number of Connections using that Capacity Configuration Set on a given MP server must not be allowed to exceed the MP Maximum Reserved Ingress MPS (which is equal to the MP Engineered Ingress MPS - the highest MPS rate at which the MP server can process ingress Diameter messages).
The Maximum Ingress MPS must be greater than or equal to the Reserved Ingress MPS. Any difference between the Maximum Ingress MPS and the Reserved Ingress MPS represents MP server resources that are shared among Connections that are using the same Capacity Configuration Set.
The configured Maximum Ingress MPS of a Connection cannot exceed the Engineered Ingress MPS of the Connection (the ingress MPS that a Connection can process at a sustained rate without errors). If the Connection has Reserved Ingress MPS, the configured Maximum Ingress MPS must be greater than or equal to the Reserved Ingress MPS. All Connections must have a non-zero configured Maximum Ingress MPS; otherwise they would not be allowed to process traffic at all. (The Maximum Ingress MPS value in the Default Capacity Configuration Set is non-zero.)
The sum of the Maximum Ingress MPS configured for all Connections on the MP server can exceed the MP Engineered Ingress MPS - the highest MPS rate at which the MP server can process ingress Diameter messages.
The Ingress MPS Minor Alarm Threshold value must be less than the Ingress MPS Major Alarm Threshold value
The Ingress MPS Major Alarm Threshold must be greater than the Ingress MPS Minor Alarm Threshold.
For each Connection, the MP server maintains the average number of ingress Diameter messages per second read from the socket. This is the rate at which ingress Diameter messages are read from the socket, not the rate at which ingress Diameter messages arrive at the socket. There is no efficient means to know the rate at which messages actually arrive.
The average ingress message rate is a running average (approximately 30 seconds). This provides a good picture of the level of ingress messages being read by each Connection while avoiding erratic readings caused by short duration spikes in the rate.
The Per Connection Ingress MPS Control feature provides a Connection alarm with two severities to alert the network operator when the average ingress MPS rate goes above the configured thresholds for percentage of the configured maximum ingress MPS for the Connection.
The Connection Ingress MPS Alarm is a per Connection alarm that can be configured in a Connection's Capacity Configuration Set to trigger at a Minor and Major capacity threshold.
The Minor alarm is asserted when the 30-second average MPS rate exceeds the configured Ingress MPS Minor Alarm Threshold value for the Connection. The Minor alarm is cleared when the 30-second average MPS rate falls 5% below the Ingress MPS Minor Alarm Threshold value configured for the Connection.
The Major alarm is asserted when the 30-second average MPS rate exceeds the Ingress MPS Major Alarm Threshold value configured for the Connection. The Major alarm is converted to a Minor alarm when the 30-second average MPS rate falls 5% below the Ingress MPS Major Alarm Threshold value configured for the Connection.
An alarm cannot be abated until an abatement time delay has expired. For example, if a Minor alarm is asserted, the alarm cannot be cleared until the abatement time delay has expired and the average ingress MPS for the Connection is 5% below the Minor alarm assert percentage. The abatement time delay is 15 seconds.
The alarm abatement time delay affects only clearing of alarms, not asserting of alarms. Therefore, it is possible to transition rapidly from a Minor alarm to a Major alarm.