Skip to main content

Notes on the Meeting: SPF and Multiple Constraint Routing

SPF routing -- BBN - Seamonson​

Postel: This was a fine presentation of the principles of the "Shortest Path First" (SPF) routing procedures with some remarks on how it is tailored to the Internet gateway situation. One point that was impressed on me was that when using SPF in a set of gateways (say, the core autonomous system) the procedure will do routing to an "exit" gateway. Somehow I had not thought about it in those terms before, but (obviously) just as there is a source and a destination IMP in the ARPANET there will be an entrance and an exit gateway in an SPF autonomous system.

Muuss:

Features -
  Metric, update procedures, path calculation, forwarding

Current GGP problems -
  o   Counting to infinity
  o   Not enough topology information in each Gw
  o   Updates potentially very large

SPF in ARPANET
  o   Single path (not optimal) - no split of flow
  o   Delay based, to minimize delay
  o   Global knowledge of connection topology and delays

Metric used -
  o   Delay, delay of each packet averaged
        (queueing plus transmission plus propagation)
        arrival-to-arrival time.
  o   Average delay on each trunk computed every 9.6 seconds.
      Report large changes in delay, fast

Update procedure -
  o   Updates report delay to each neighbor
  o   Update triggered by topology change, significant delay
      change, or 1 time/minute.
      Decay of threshold to direct to send update
  o   Sequence numbers
  o   Flooding on all trunks sent out on all lines
  o   Receipt of echo is acknowledgement
  o   Retransmission
  o   Aging of information
  o   Updates are 2*n*l packet growth.  n = number imps,
      l = number lines

    - When lines goes up, rather than dumping routing
      table,just waits one minute until all updates have
      been heard.

Path calculation
   o   Dijkstras Algorithm

                            20
                   A _______________ F
                  / \  \
               3 /   \10\15
                /     \  \
              B/___5___\D \E
               \      /  /
                \    /  /
               1 \  /  /5
                  \/  /
                   C /

1.         A       B(A, 3), D(A, 10), E(A, 15). F(A, 20)

2.         A       C(B, 4), D(B, 8), E(A, 15), F(A, 20)
           |
           B

4.         A          E(C, 9),  F(A,20)
           |
           B
          / \
         C   D

5.         A
           |
           B
           |
           C
          /
         E

Then tree is inverted into a "go here to get to this destination."

For Internet -

    Similar algorithm, needs special packet header to
    indicate "exit" gateway to get to destination network.

   Update procedure -
      Neighbor interface, neighbors, and delay to neighbor.

      "Next door neighbors" for minimizing traffic.
      Ability to package multiple updates in one average
      explicit Acks.

   Path calculation -
     o   Possible to build different trees based on type of
         service.

   Forwarding -
     o   Exit Gw
     o   Consistent databases are important.

Multiple Constraint Routing -- SRI - Shacham​

Postel: This was a clear presentation of some of the consequences of the idea of type of service routing. The level of complexity of the routing procedure is determined to depend on how many catagories of service there are and how many selections there are in each catagory. A few examples were discussed including the current type of service parameters of IP.

Muuss:

Both current and proposed ARPANET algorithms provide "best" path
under single constraint (number of hops, delay).
Internet will have diverse characteristics, it would be nice to
consider more than one constraint.

o Determine a set of measures.
o Represent each measure as a single number.
o Determine range of values. (complexity 0(c**n) range of n)
o Define path measure as a function of measure of length.
sum (delay, cost)
min/capacity, length, security)

If just one cost is used, then SPF (or whatever) can be used for
each cost. However, under multiple constraints there is a more
difficult problem. e.g.: minimum delay with packet size of at
least 1000 bytes.

RUMC has been shown to be in the NP complete family.

RUMC needs bigger tables, more processing and routing overhead.
Its not awful for 2-choice TOS, like in IP.

Table size is random, we have to be prepared for the worst case.

Possible strategies: flood a "search packet," dropped when
constraints are not met, see if it makes it though. Good only for
virtual circuit. Weighted sum (VC only) works only with some
probability.

TOS is needed for Internet, but the algorithms are costly.
Complexity for providing TOS IP style is not too high.