Skip to main content

A Gateway Source Quench Concept

In order for the SQuID algorithm to work we rely upon the gateways to send SQs to us to tell us how we are doing. Because the loss of a single datagram affects data flow so much (see lost datagram discussion in Observed Results below) it would be much better for the source IP node if it got a warning before datagrams were discarded.

We propose gateway IP nodes start SQing before the node is flooded at a level we call SQ Keep (SQK) but forward the datagram. If the queue level reaches a critical level, SQ Toss level (SQT), the gateway should toss datagrams to resolve the problem unless the datagram is an ICMP message. Even ICMP messages will be tossed if the MaxQ level is reached. Once the gateway starts sending SQs it should continue to do so until the queue level goes below a low water mark level (SQLW) as shown below. This is analogous to methods some operating systems use to handle memory space management.

The gateway should try to send SQ to as many of the contributors of the congestion as possible but only once per contributor per second or two.

Source Quench Queue Levels​

+--------------+ MaxQ level
| |> datagrams tossed & SQed (but not ICMP msgs.)
+--------------+ SQT level (95%)
| |\
| | > datagrams SQed but forwarded
| |/
+--------------+ SQK level (70%)
| |\
| | \ datagrams SQed but forwarded if SQK level
| | / exceeded & SQLW or lower not yet reached
| |/
+--------------+ SQLW level (50%)
| |\
| | \
| | \
| | \ datagrams forwarded
| | /
| | /
| | /
| |/
+--------------+