5. Reservation Setup Protocol
There are a number of requirements to be met by the design of a reservation setuop protocol. It should be fundamentally designed for a multicast environment, and it must accommodate heterogeneous service needs. It must give flexible control over the manner in which reservations can be shared along branches of the multicast delivery trees. It should be designed around the elementary action of adding one sender and/or receiver to an existing set, or deleting one. It must be robust and scale well to large multicast groups. Finally, it must provide for advance reservation of resources, and for the preemption that this implies. The reservation setup protocol RSVP has been designed to meet these requirements [RSVP93a, RSVP93b]. This section gives an overview of the design of RSVP.
5.1 RSVP Overview
Figure shows multi-source, multi-destination data delivery for a particular shared, distributed application. The arrows indicate data flow from senders S1 and S2 to receivers R1, R2, and R3, and the cloud represents the distribution mesh created by the multicast routing protocol. Multicasting distribution replicates each data packet from a sender Si, for delivery to every receiver Rj. We treat uncast delivery from S1 to R1 as a special case, and we call this multicast distribution mesh a session. A session is defined by the common IP (multicast) destination address of the receiver(s).
Senders Receivers
_____________________
( ) ===> R1
S1 ===> ( Multicast )
( ) ===> R2
( distribution )
S2 ===> ( )
( ) ===> R3
(_____________________)
Figure 2: Multicast Distribution Session
5.1.1 Flowspecs and Filter Specs
In general, an RSVP reservation request specifies the amount of resources to be reserved for all, or some subset of, the packets in a particular session. The resource quantity is specified by a flowspec, while the packet subset to receive those resources is specified by a filter spec. Assuming admission control succeeds, the flowspec will be used to parametrize a resource class in the packet scheduler, and the filter spec will be instantiated in the packet classifier to map the appropriate packets into this class. The subset of the classifier state that selects a particular class is referred to in RSVP documentation as a (packet) "filter".
The RSVP protocol mechanisms provide a very general facility for creating and maintaining distributed reservation state across the mesh of multicast delivery paths. These mechanisms treat flowspecs and filter specs as mostly opaque binary data, handing them to the local traffic control machinery for interpretation. Of course, the service model presented to an application must specify how to encode flowspecs and filter specs.
5.1.2 Reservation Styles
RSVP offers several different reservation "styles", which determine the manner in which the resource requirements of multiple receivers are aggregated in the routers. These styles allow the reserved resources to more efficiently meet application requirements. Currently there are three reservation styles, "wildcard", "fixed-filter", and " dynamic-filter". A wildcard reservation uses a filter spec that is not source-specific, so all packets destined for the associated destination (session) may use a common pool of reserved resources. This allows a single resource allocation to be made across all distribution paths for the group. The wildcard reservation style is useful in support of an audio conference, where at most a small number of sources are active simultaneously and may share the resource allocation.
The other two styles use filter specs that select particular sources. A receiver may desire to receive from a fixed set of sources, or instead it may desire the network to switch between different source, by changing its filter spec(s) dymamically. A fixed-filter style reservation cannot be changed during its lifetime without re-invoking admission control. Dynamic-filter reservations do allow a receiver to modify its choice of source(s) over time without additional admission control;
however, this requires that sufficient resources be allocated to handle the worst case when all downstream receivers take input from different sources.
5.1.3 Receiver Initiation
An important design question is whether senders or receivers should have responsibility for initiating reservations. A sender knows the qualities of the traffic stream it can send, while a receiver knows what it wants to (or can) receive. Perhaps the most obvious choice is to let the sender initiate the reservation. However, this scales poorly for large, dynamic multicast delivery trees and for heterogeneous receivers.
Both of these scaling problems are solved by making the receiver responsible for initiating a reservation. Receiver initiation handles heterogeneous receivers easily; each receiver simply asks for a reservation appropriate to itself, and any differences among reservations from different receivers are resolved ("merged") within the network by RSVP. Receiver initiation is also consisent with IP multicast, in which a multicast group is created implicitly by receivers joining it.
Although receiver-initiated reservation is the natural choice for multicast sessions, the justification for receiver initiateion may appear weaker for unicast sessions, where the sender may be the logical session initiator. However, we expect that every realtime application will have its higher-level signalling and control protocol, and this protocol can be used to signal the receiver to initiate a reservation (and perhaps indicate the flowspec to be used). For simplicity and economy, a setup protocol should support only one direction of initiation, and, and receiver initiation appears to us to be the clear winner.
RSVP uses receiver-initiation of rservations [RSVP93b]. A receiver is assumed to learn the senders' offered flowspecs by a higher-level mechanism ("out of band"), it then generates its own desired flowspec and propagates it towards the senders, making reservations in each router along the way.
5.1.4 Soft State
There are two different possible styles for reservation setup protocols, the "hard state" (HS) approach (also called "connection-oriented"), and the "soft state" (SS) approach (also called "connectionless"). In both approaches, multicast
distribution is performed using flow-specific state in each router along the path. Under the HS approach, this state is created and deleted in a fully deterministic manner by cooperation among the routers. Once a host requests a session, the "network" takes responsibility for creating and later destroying the necessary state. ST-II is an example of the HS approach [ST2-90]. Since management of HS session state is completely deterministic, the HS setup protocol must be reliable, with acknowledgments and retransmissions. In order to achieve deterministic cleanup of state after a failure, there must be some mechanism to detect failures, i.e., an "up/down" protocol. The router upstream (towards the source) from a failure takes responsibility for rebuilding the necessary state on the router(s) along an alternate route.
RSVP takes the SS approach, which regards the reservation state as cached information that is installed and periodically refreshed by the end hosts. Unused state is timed out by the routers. If the route changes, the refresh messages automatically install the necessary state along the new route. The SS approach was chosen to obtain the simplicity and robustness that have been demonstrated by connectionless protocols such as IP [Clark88].
5.2 Routing and Reservations
There is a fundamental interaction between resource reservation set up and routing, since reservation requires the installation of flow state along the route of data packets. If and when a route changes, there must be some mechanism to set up a reservation along the new route.
Some have suggested that reservation setup necessarily requires route set up, i.e., the imposition of a virtual-circuit internet layer. However, our goal is to simply extend the Internet architecture, not replace it. The fundamental connectionless internet layer [Clark88] has been highly successful, and we wish to retain it as an architectural foundation. We propose instead to modify somewhat the pure datagram forwarding mechanism of the present Internet to accomodate "IS".
There are four routing issues faced by a reservation setup protocol such as RSVP.
- Find a route that supports resource reservation.
This is simply "type-of-service" routing, a facility that is already available in some modern routing protocols.
- Find a route that has sufficient unreserved capacity for a new flow.
Early experiments on the ARPANET showed that it is difficult to do load-dependent dynamic routing on a packet-by-packet basis without instability problems. However, instability should not be a problem if load-dependent routing is performed only at reservation setup time.
Two different approaches might be taken to finding a route with enough capacity. One could modify the routing protocol(s) and interface them to the traffic control mechanism, so the route computation can consider the average recent load. Alternatively, the routing protocol could be (re-)designed to provide multiple alternative routes, and reservation setup could be attempted along each in turn.
- Adapt to a route failure
When some node or link fails, adaptive routing finds an alternate path. The periodic refresh messages of RSVP will automatically request a reservation along the new path. Of course, this reservation may fail because there is insufficienct available capacity on the new path. This is a problem of provisioning and network engineering, which cannot be solved by the routing or setup protocols.
There is a problem of timeliness of establishing reservation state on the new path. The end-to-end robustness mechanism of refreshes is limited in frequency by overhead, which may cause a gap in realtime service when an old route breaks and a new one is chosen. It should be possible to engineer RSVP to sypplement the global refresh mechanism with a local repair mechanism, using hints about route changes from the routing mechanism.
- Adapt to a route change (without failure)
Route changes may occur even without failure in the affected path. Although RSVP could use the same repair techniques as
those described in (3), this case raises a problem with the robustness of the QoS guarantees. If it should happen that admission control fails on the new route, the user will see service degradation unnecessarily and capriciously, since the orginal route is still functional.
To avoid this problem, a mechanism called "route pinning" has been suggested. This would modify the routing protocol implementation and the interface to the classifier, so that routes associated with resource reservations would be "pinned". The routing prootocol would not change a pinned route if it was still viable.
It may eventually be possible to fold together the routing and reservation setup problems, but we do not yet understand enough to do that. Furthermore, the reservation protocol needs to coexist with a number of different routing protocols in use in the Internet. Therefore, RSVP is currently designed to work with any current-generation routing protocol without modification. This is a short-term compromise, which may result in an occasional failure to create the best, or even any, real-time session, or an occasional service degradation due to a route change. We expect that future generations of routing protocols will remove this compromise, by including hooks and mechanisms that, in conjunction with RSVP, will solve the problems (1) through (4) just listed. They will support route pinning, notification of RSVP to trigger local repair, and selection of routes with "IS" support and adequate capacity.
The last routing-related issue is provided by mobile hosts. Our conjecture is that mobility is not essentially different from other route changes, so that the mechanism suggested in (3) and (4) will suffice. More study and experimentation is needed to prove or disprove this conjecture.