Apparatus and methods for dynamic bandwidth allocation
A system capable of dynamically reserving bandwidth and adjusting bandwidth reservations for active sessions of data communication in a data communications device is provided. The system generally separates the operation of bandwidth allocation and adjustment from the operation of data transport through the device, thereby allowing bandwidth reservations and adjustments to be made without disturbing sessions of data communication that are actively being transported through the device. The system can accept requests to allocate or reserve bandwidth in a data communications device using bandwidth reservation protocols such as RSVP. The reservation requests create sender state data that can be used to compute resource allocation data. The resource allocation data can be used to label data storage locations in a data storage mechanism according to the required bandwidth reservations. A data scheduling apparatus, which is ignorant of particular sessions and specific amounts of reserved bandwidth, examines data and deposits data into data storage locations having a label corresponding to a session identification specified in the data, if any. If an unknown or no session identification is specified in the data, the data scheduler deposits data into a data storage location that is unlabeled or that has an unreserved label. Thus session bandwidth is determined by the percentage of labeled data storage locations for the session. Changes in bandwidth reservations are reflected in the separate operation of alterations made in the data storage labeling scheme, and do not affect the data scheduler, or data dequeuing mechanisms, thus allowing data sessions to continue without interruption during bandwidth adjustments.
Latest Cisco Technology, Inc. Patents:
- MULTI-LINK PROCEDURE TO IDENTIFY LINK DISABLEMENT IN BASIC SERVICE SET (BSS) TRANSITION MANAGEMENT FRAMES
- LOW LATENCY, LOW LOSS, SCALABLE THROUGHPUT SUPPORT AND QUEUING
- Techniques for device to device authentication
- Intuitive graphical network mapping based on collective intelligence
- Systems and methods to optimize non-3GPP untrusted WI-FI to new radio evolved packet system fallback handover
This application is a continuation of U.S. application Ser. No. 09/317,381, filed May 24, 1999, issued as U.S. Pat. No. ______, the entire teachings of which are incorporated herein by reference.
BACKGROUND OF THE INVENTIONA typical data communications network includes many hosts interconnected by various data communication devices. The data communication devices can be routers, bridges, switches, access servers, gateways, hubs, concentrators, proxy servers, repeaters and so forth which exchange data over an interconnection of data links. The data links may be physical connections or may be provided using wireless communication mechanisms. The network allows data to propagate between various applications that execute on the hosts. The hosts are often general purpose computer systems such as personal computers, workstations, minicomputers, mainframes and the like, or the hosts may be dedicated devices such as web-site kiosks, facsimile servers, video servers, audio servers, and so forth. Each host couples to one or more of the data communications devices that form the network.
Various physical or hardware data communications connection mechanisms allow the hosts to interconnect with the network. Physical data communications connection mechanisms can include modems, transceivers, network interface cards, fiber optic cards, ports and other hardware devices which allow data to be transferred at various data transfer rates (i.e., bandwidths) to and from the hosts and between data communications devices. For example, certain hosts may have high-speed network interfaces which provide connections to the network at high data rates such as fractional-T1, T1, E1 or higher, while other hosts may use an inexpensive modem that provides a maximum data transfer rate of 56.6 kilobits per second (Kbps) to and from the network.
Depending upon a specific use of the host which often depends on an application running on a host, data traveling across the network that is associated with those applications may require different levels of data service (i.e., data transfer rates or network bandwidth). For example, a distributed applications protocol such as the Multicasting Protocol can be used to serve streams of data from one or more source hosts to one or more destination hosts which subscribe to the stream (called joining a multicast group). A multicasting video server coupled to the network may require a minimum amount of network bandwidth to be supplied from itself to all other hosts that require access to the streams of transmitted multicasted video. Another host may be supplying multicasted audio streams to remote destination hosts throughout the network. Though streaming audio data typically requires less network bandwidth than streaming video data (which usually contains encoded audio data as well as video images), both data types require a certain guaranteed minimum quality of service or QoS since each of these data types requires real-time transmission. The real-time bandwidth requirements of video or audio data contrast sharply with best-effort only bandwidth requirements associated with non-urgent data such as E-mail communications which can be delayed in the network for prolonged periods without affecting the intended purpose or performance of the E-mail application.
As another example of the need for varying bandwidth requirements, hosts that connect or subscribe to networks using high speed connection mechanisms such T1 interface cards generally expect to be provided with, and often pay a premium for the ability to send and receive data across the network at T1 data rates. Other hosts may not require such high data transfer rates and therefore only subscribe to the network and pay for the capability to transfer data at lower data transfer rates. In either case, the data communications devices in the network must be able to distinguish and handle the flows of data from hosts having differing levels or qualities of service.
Since many connections, sessions or data traffic flows (i.e., data associated with an end-to-end application or stream) from multiple hosts with potentially different data rates are frequently switched, routed or transferred through the same data communication devices in a network such as the Internet, the data communications devices must provide a way to establish, allocate or reserve the bandwidth requirements for the various flows, sessions, or connections. Once the bandwidth is allocated, the devices must distinguish the different data flows or connections requiring the different levels of service (i.e., different data rates or bandwidth requirements). Once distinguished, the data communications devices must be able to service each connection or flow at its prescribed level of service. For example, if T1 service is required, the data communications devices must identify and transport data on T1 or higher speed links through the network at T1 speeds, while data from slower links should at least be transferred through the network at a minimum subscription rate of those links. Management of the various data transmission and propagation requirements associated with data having differing levels of service is a well known problem associated with data communications devices in modem networks.
Various bandwidth allocation or reservation protocols have been developed for use in modern networks to provide guaranteed QoS or controlled end-to-end delays for transmitted data. These protocols allow applications that exchange data between sending and receiving hosts to establish reservations of bandwidth over the network for the various services required by the applications. One such protocol is called RSVP, which stands for the ReSerVation Protocol.
As its name implies, hosts use RSVP to request a specific QoS from the network on behalf of an application data stream. RSVP carries the request through the network, visiting each data communications device or node that the network will use to carry the stream. At each node, RSVP attempts to make a resource (i.e. bandwidth) reservation for the stream. Once bandwidth is reserved in each node on the network path from sender to receiver, the sender can commence transmission of the stream using the reserved network bandwidth. The QoS for that stream is generally guaranteed since the bandwidth is reserved for use by that particular stream (e.g., Multicast group) and no other.
The packet classifier 104 uses the filterspec parameters to filter each packet (data in) that arrives at the device to determine the route and queue for the packet within the data queuing mechanism 105. For example, there may be many prioritized queues, each providing a specific level of service or QoS. The packet scheduler 106 uses the flowspec parameters to properly service the queues in the data queuing mechanism 105 to achieve the promised QoS for each stream. Typically, the packet scheduler 106 employs a weighted fair queuing algorithm to dequeue the data from the various queues in the data queuing mechanism 105 according to the bandwidth allocation requirements or QoS defined in the flowspec parameters.
The RSVP protocol does not define how a device (e.g. 100 in
Accordingly, RSVP only provides a framework for hosts to notify and request reservations of bandwidth in all data communications devices that are on paths between sending and receiving hosts. Once the data communications devices have agreed to reserve the requested bandwidth (i.e., admission and policy control), the implementation of how that bandwidth is actually reserved or set aside within each device is left up to the device and is not part of the RSVP protocol. The previously described prior art implementations of device bandwidth reservation mechanisms using customized packet classifiers and packet schedulers which operate in conjunction with the RSVP protocol have become quite popular.
However, one problem that stems from these prior art implementations is that they do not allow adjustments to be made to the amount of bandwidth reserved to a session of data communication without requiring the session to be interrupted. That is, once the prior art implementations of bandwidth reservation techniques (i.e. modified classifiers and schedulers) reserve a set amount of bandwidth between two or more hosts, the prior art implementations cannot adjust the amount of reserved bandwidth without clearing the session from end-to-end of all data in the path(s) between sending and receiving hosts. This essentially requires the sender(s) to stop sending session data to provide time for all session data in the network to clear and reach the intended receiver(s). In other words, if the bandwidth or QoS requirements of a session need to change (e.g., the receiver needs more bandwidth to properly receive the stream), the RSVP negotiation that must take place requires that the sending host halt data transmission for a period of time, while the sending and receiving hosts, and all data communication devices in between, clear themselves of the session data. Then, the sender and receiver must use another set of RSVP reservation and path messages to adjust (i.e., increase or decrease) the amount of bandwidth allocated between the sender and receiver hosts to meet the new requirements.
One reason that current implementations of RSVP do not allow bandwidth adjustments once a communication session is in progress is not due to limitations of the RSVP protocol. Rather, the design of prior art data communications devices that support RSVP, such as show in
By way of example, if the classifier 104 identifies data associated with a session having a high bandwidth reservation, the classifier 104 may queue the data in a high bandwidth queue. The scheduler 106 may service the high bandwidth queue more frequently that other queues which may have lower bandwidth allocations or reservations which are serviced less frequently. Since the classifier, the scheduler, and sometimes the queuing structure are all involved in prior art device specific implementations of bandwidth reservation using RSVP, data associated with a specific session may exist in any one of these components in the device at any point in time. Hence, if the RSVP daemon 101 were to attempt to change the allocation of reserved bandwidth during an active session of data communication, the scheduler 106 might need to reconfigure queuing structures and the classifier 104 might need to be made aware of the new bandwidth allocation scheme for that session. If data communications devices using prior art implementations of RSVP attempted to dynamically reconfigure bandwidths allocated to sessions of data communication during transport of those sessions, significant delays and/or lost data would result for flows using the data communications device.
To avoid such losses or delays of data, prior art implementations of RSVP require that the sending host halt the transmission of data and that all data be flushed through the network to the receiver. Once the prior art devices clear the network of any data associated with a specific session of data communication, the prior art devices use another sequence of RSVP messages to adjust bandwidth and establish a new session. Once the prior art devices have established a new bandwidth allocation, a new session of data communication must be reinitiated.
The present invention avoids the prior art situation of requiring a break in a data communication session in order to re-allocate or adjust bandwidth reserved for a session. The present invention provides a device implementation that can accept bandwidth allocation changes and can dynamically adjust bandwidth during an active session of data communication using a protocol such as RSVP without requiring a pause or break in the transmission of data along the entire path from sender(s) to receiver(s). This can be accomplished since the present invention manages resources, and is not focused on managing time.
More specifically, the present invention provides a data communications device capable of dynamically adjusting reserved bandwidth while maintaining a session of data communication. The device includes an input for receiving data including bandwidth reservation requests and a data storage mechanism including data storage locations. Also included is a bandwidth reservation processor coupled to the input port which accepts a first bandwidth reservation request indicating a first amount of bandwidth to reserve for the session of data communication in the data communications device. The bandwidth reservation processor then establishes a first bandwidth reservation associated with a session of data communication in the data storage locations. A data scheduler is included and is coupled to the input port and coupled to the data storage mechanism. The data scheduler receives data associated with the session of data communication and deposits the data associated with the session of data communication into the data storage locations associated with the first bandwidth reservation. Using such a mechanism, data transport is separated from bandwidth reservation and allocation. The bandwidth reservation may enforce reservations for high priority traffic, for example.
In another embodiment which allows dynamic adjustments to the bandwidth reservation already in effect, the bandwidth reservation processor receives bandwidth allocation adjustment information from the input port during the session of data communication and dynamically adjusts the first bandwidth reservation in the data storage locations to produce a second bandwidth reservation for the session of data communication in accordance with the bandwidth allocation adjustment information. This apparatus performs this operation while the data scheduler continually receives and deposits data associated with the session of data communication into the data storage locations associated with the session of data communication. In other words, the session of data communication continues during the bandwidth adjustment processing.
In a more detailed embodiment, the bandwidth reservation processor includes a bandwidth request handler coupled to the input port to receive bandwidth reservation requests. Also provided is a bandwidth labeler coupled to the bandwidth request handler and coupled to the data storage locations. The bandwidth labeler receives bandwidth allocation information indicated in the first bandwidth reservation request and labels, with an identity of the session of data communication, a first available percentage of the data storage locations used to store data transported through the data communications device thus establishing the first bandwidth reservation.
Another embodiment is provided in which the bandwidth reservation processor further includes a resource allocation table accessible by the bandwidth labeler and a resource allocation calculator coupled to access the resource allocation table independently of the bandwidth labeler. The resource allocation calculator receives the bandwidth allocation information indicated in the first bandwidth reservation request and calculates and stores in the resource allocation table a first percentage of total device bandwidth to allocate to the session of data communication based upon the first bandwidth reservation request. Using these mechanisms, the bandwidth reservation processor can continually allow for bandwidth adjustments over time without disturbing the session of data communication for which the bandwidth reservation exist.
Another embodiment of the invention provides a system for reserving bandwidth in a data communications device. The system includes a bandwidth request handler that accepts a first bandwidth reservation request indicating a first amount of bandwidth to reserve for a session of data communication in the data communications device. Also included is a bandwidth labeler coupled to the bandwidth request handler. The bandwidth labeler labels, with an identity of the session of data communication, a percentage of available data storage locations used to store data transported through the data communications device to establish a first bandwidth reservation. The percentage of storage locations labeled is based upon the first amount of bandwidth requested as indicated in the first bandwidth reservation request. Preferably, the data storage locations for a path or session of data communication are in the form of a single rotating queue structure.
Similar to this embodiment, another embodiment is a data communications device that includes a bandwidth reservation processor that processes requests to reserve bandwidth for a session of data communications and labels a percentage of available data storage locations in the data communications device with a session identifier. A data transporter in this embodiment concurrently processes and transports data through a data communications device using the available data storage locations to store data as it is processed. The data transporter deposits only data having a corresponding identifier equivalent to the session identifier of the storage locations into the data storage locations labeled with the session identifier. In this manner, only labeled storage location are use for session data and comprise the reserved bandwidth.
The aforementioned apparatus embodiments perform processing that is unique to this invention as well. The processing steps also are embodiments of the invention and are summarized below.
Specifically, one processing or method embodiment provides a method for separately handling bandwidth reservation processing in a data communications device from data transport processing. The method includes the steps of processing requests to reserve bandwidth for a session of data communications and labeling a percentage of available data storage locations in the data communications device with a session identifier. Also, the method includes the step of concurrently processing and transporting data through a data communications device using the available data storage locations to store the data as it is processed, and depositing only data having a corresponding identifier equivalent to the session identifier of the storage locations into the data storage locations labeled with the session identifier. Using such a method, the device can reserve bandwidth while concurrently processing session data in the device.
In another method of the invention, the step of processing requests, processes requests to change an amount of reserved bandwidth associated with the session of data communication.
In yet another method embodiment, a method of storing bandwidth reservation information is provide and includes the steps of accepting a bandwidth reservation request indicating an amount of bandwidth to reserve for a session of data communication. Then, the step of calculating a percentage of total device bandwidth to allocate to the session of data communication based upon the bandwidth reservation request is performed. This is then followed by the step of storing the percentage in a resource allocation table which is independently accessible by a flow labeler.
Another embodiment of the invention provides a method for dynamically adjusting reserved bandwidth in a data communications device while transporting a session of data communication within the device. This method embodiment includes the steps of establishing a first bandwidth reservation associated with a session of data communication in the data communications device. This may be done, for example, by accepting a first bandwidth reservation request indicating a first amount of bandwidth to reserve for the session of data communication in the data communications device and by labeling, with an identity of the session of data communication, a first percentage of available data storage locations used to store data transported through the data communications device thus establishing the first bandwidth reservation. The first percentage of storage locations labeled is generally based upon the first amount of bandwidth requested as indicated in the first bandwidth reservation request.
Preferably, after the step of accepting a first bandwidth reservation request, the step of establishing a first bandwidth reservation further includes the step of calculating and storing a first percentage of total device bandwidth to allocate to the session of data communication based upon the first bandwidth reservation request. The first percentage of data storage locations labeled in the step of labeling is based upon the calculated first percentage of total device bandwidth to allocate to the session of data communication. Also, the step of calculating and storing preferably stores the calculated first percentage in a resource allocation table which is independently accessible by the step of labeling and the step of dynamically adjusting, so as to allow the step of dynamically adjusting to alter the calculated percentage in the resource allocation table without disrupting the step of labeling, thus allowing the bandwidth reservation in the device to be adjusted without effecting operation of a step of transporting (summarized below). Accordingly, data storage locations are labeled in accordance with the bandwidth requests and the labeling of the locations inherently reserves the bandwidth for sessions associated with the label.
As noted above, the embodiment also includes the step of transporting, through the data communication device, data associated with the session of data communication utilizing data storage locations associated with the first bandwidth reservation. The step of transporting can deposit the data associated with the session of data communication into data storage locations having an identification associated with the session of data communication and does so independently of how the identification associated with the session of data communication is created. Preferably, this step of transporting deposits the data associated with the session of data communication only into those data storage locations having an identification associated with the session of data communication. In other words, storage locations are labeled with an identity of a session of data communication for which bandwidth is reserved and during data transport, data associated with that session of data communication is placed into the labeled storage locations corresponding to the session. Preferably, other data not associated with the session of communication does not use the labeled locations, since they are reserved for the session data only. In this manner, the number of labeled locations selected from a total set of available location, such as labeling selected data storage locations in a single large rotating queue, are reserved for the session data.
The embodiment also includes the step of receiving bandwidth allocation adjustment information during the session of data communication. Preferably, this is done via a resource allocation protocol such as RSVP. That is, the data communications device uses an RSVP protocol to determine an amount of bandwidth to reserve.
Furthermore, the embodiment includes the step of dynamically adjusting the first bandwidth reservation to produce a second bandwidth reservation for the session of data communication in accordance with the bandwidth allocation adjustment information while continually maintaining the session of data communication.
In another embodiment based on the former embodiment, the step of dynamically adjusting the first bandwidth reservation to produce a second bandwidth reservation includes the steps of accepting a second bandwidth reservation request indicating a second amount of bandwidth to reserve for the session of data communication, and labeling, with an identity of the session of data communication, a second percentage of available data storage locations used to store data transported through the data communications device thus establishing the second bandwidth reservation. The second percentage of storage locations labeled is based upon the second amount of bandwidth requested as indicated in the second bandwidth reservation request, and the second percentage of storage locations labeled is different than the first percentage of storage locations labeled. This allows bandwidth to be adjusted by altering the labeled percentages for storage locations (e.g. in the single rotating queuing structure) associated with (i.e., labeled to receive) various sessions of data communication.
In another embodiment, after the step of dynamically adjusting the first bandwidth reservation to produce a second bandwidth reservation completed, the method further includes the step of calculating and storing a second percentage of total device bandwidth to allocate to the session of data communication based upon the second bandwidth reservation request. The second percentage of data storage locations labeled in the step of labeling is based upon the calculated second percentage of total device bandwidth to allocate to the session of data communication. The second percentage replaces the first percentage calculated previously.
Preferably, the step of calculating and storing stores the calculated second percentage in a resource allocation table as a replacement for the calculated first percentage. The step of calculating can include the steps of obtaining a current measurement of data communications device data storage locations available for data storage and a current bandwidth utilization rate and then computing an amount of bandwidth to reserve for the session of data communication based on the current bandwidth utilization rate and on the current measurement of data communication device data storage locations available for data storage.
The resource allocation table is independently accessible by the step of labeling and the step of dynamically adjusting, so as to allow the step of dynamically adjusting to alter the calculated first percentage in the resource allocation table without disrupting the step of labeling, thus allowing the first bandwidth reservation in the device to be adjusted without effecting operation of the step of transporting. The resource allocation table may be a database, table, linked list, object, or other data structure or storage mechanism used to store resource allocation data as described herein.
In another embodiment, the step of dynamically adjusting the first bandwidth reservation to produce a second bandwidth reservation includes the steps of accepting a bandwidth reservation request indicating a specific amount of bandwidth to reserve for the session of data communication. Next, a step of calculating and storing a percentage of total device bandwidth to allocate to the session of data communication based upon the bandwidth reservation request is performed, followed by a step of labeling, with an identity of the session of data communication, a percentage of available data communication device data storage locations used to store data transported through the data communications device. In this embodiment, the labeled percentage is based upon the calculated percentage of total device bandwidth to allocate to the session of data communication. Thus, the data storage locations are labeled according to reserved bandwidth requirements.
Other apparatus embodiments include computer program product(s) having a computer-readable medium including computer program logic encoded thereon for allocating bandwidth in a data communications device. The computer program logic, when executed on one or more processing units with the data communications device, cause the processing unit(s) to perform any and all of the aforementioned methods steps. That is, since certain embodiments of the invention can be implemented in software, the computer program embodiments cover a disk or other computer readable medium encoded with instructions to execute the invention as a software program. The disks or other mediums themselves containing the code are actual embodiments of this invention.
The resource allocation information for bandwidth reservations is preferably stored in the resource allocation table. In one embodiment, a computer readable medium is provided that is encoded with a data structure. The data structure stores bandwidth allocation information. The bandwidth allocation information includes an identity of at least one session of data communication and a number representing a percentage of data storage locations to associate with the identity of the at least one session of data communication. The number representing the percentage of data storage locations to associate with the identity of the session of data communication is preferably a number indicating a number of labels to apply to data storage locations so as to reserve the data storage locations for the data associated with the at least one session of data communication. This data structure embodiment can be used to maintain bandwidth reservation information within a data communications device and can be dynamically changed to re-apportion bandwidth resources while the device concurrently and separately maintains the sessions of data communication.
BRIEF DESCRIPTION OF THE DRAWINGSThe foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
An brief overview of the invention will assist in understanding the discussion of detailed embodiments. Generally, the system of the invention allows a data communications device to dynamically reserve bandwidth and adjust bandwidth reservations for sessions of data communication without session disruption. The device can perform reservation and adjustment operations independently of sessions of data communication that are in progress (i.e. actively being transmitted) in the device and that may be using any currently reserved bandwidth resources. However, as the bandwidth is adjusted, the session(s) for which bandwidth adjustment is made are transported according to the new bandwidth reservation. That is, adjustments in reserved bandwidth for a session of data communication can be made without concerning or bothering the continual process of transporting data for that session, but the session data itself will be transported using the new bandwidth reservation as it is put in place, whether the new reservation is an increase or decrease in available bandwidth.
By having the device separate the operation of bandwidth allocation and adjustment from the continual operation of transporting data through the device, the device can perform bandwidth reservations and adjustments without disturbing the flow or sessions of data communication. The system can accept requests to allocate or reserve bandwidth in a data communications device using bandwidth reservation protocols such as RSVP. The reservation requests create sender state data that can be used to compute resource allocation data. The device uses the resource allocation data to associate labels with data storage locations in a data storage mechanism according to the required bandwidth reservations. A data scheduling apparatus, which is ignorant of particular sessions having specific amounts of reserved bandwidth, examines data and deposits data into data storage locations having an associated label corresponding to a session identification specified in the data, if any. This way, the device only places session data into the labeled storage locations reserved for that session data. If the data contains an unknown session identification (or none at all), the data scheduler deposits data into a data storage location that is unlabeled or that has an unreserved label. Thus the percentage of data storage locations labeled in a device for a session determines bandwidth reserved for the session. The data storage labeling scheme of the invention operates separately from the data scheduling, enqueuing and data dequeuing mechanisms to allow data sessions to continue without interruption during bandwidth adjustments.
As illustrated, the hosts 210 are general purpose computer systems such as personal computers, mini-computers, mainframes or the like that exchange data, as will be explained, over the network 200. It is to be understood, however, that the hosts 210 may be many different types of computing or data exchanging devices such as file servers, web-site servers, network-telephony devices, audio or video servers, and so forth and that the invention is not limited to application only in a computer network or only for data exchange between devices of a specific type.
The data communication devices 201 provide the processing resources (routing and switching algorithms, queues, buffers, switching fabrics, data busses, backplanes, input and output ports, and so forth) to propagate data through the network 200 between the hosts 210. The data communication devices 201 may be any type of data processing device that can transfer, switch, route or otherwise direct or propagate data in a network. Possible examples of data communications devices 201 are network access servers, routers, switches, hubs, bridges, gateways, proxy servers, firewalls, modem banks, concentrators, repeaters, and similar data transfer devices, or any combination thereof. Preferred embodiments of invention are implemented within the data communications devices 201 and allow each device 201 to dynamically reserve bandwidth to one or more sessions of data communication between hosts 210 and allow the amount of bandwidth that is reserved by or to those sessions to be changed without disrupting the sessions that are using the reserved bandwidth or that require a change in the amount of reserved bandwidth in each data communications device 201.
Due to the critical or real-time nature of data in the “A” video stream 203, the sending and receiving hosts 210-A1, 210-A2 and 210-A3, in conjunction with the data communications devices 201-B, 201-C 201-D and 201-E use a bandwidth reservation protocol such as RSVP to establish and reserve a 100 Kbps channel for the “A” video stream 203 through the network 200. Specifically, using RSVP, each data communications device 201-B, 201-C 201-D and 201-E receives RSVP path and bandwidth reservation request messages (not specifically shown in this figure) which specify, among other things, an identity of a specific session of data communication (the “A” video stream 203 in this example), an amount of bandwidth to reserve for the session of data communication (100 Kbps in this example), and the path for which the requested bandwidth is to be reserved for the specified data stream (i.e., 203) within each particular device 201-B through 201-E. In an alternative embodiment, the network policy server 150 supplies the requests to each device 201 (in the form of commands) which tell the devices 201 how much bandwidth to reserve for flows, streams, or sessions of data communication in the network 200.
According to the invention, each data communication device 201 contains a bandwidth reservation processor 500 (abbreviated B.R.P. in
Continuing with the example, the bandwidth reservation processor 500 in each device 201-B through 201-E receives the RSVP path and bandwidth reservation request messages. If the bandwidth reservation processor 500 determines that a requesting application or host (e.g., receiving hosts 210-A2 or 210-A3) has permission or privileges to reserve the requested bandwidth (e.g., RSVP policy control) and also determines that the requested resource (e.g., the 100 Kbps bandwidth) is available in the device 201, the bandwidth reservation processor 500 in each data communications device 201-B through 201-E grants the request and establishes the 100 Kbps bandwidth reservation for the “A” data stream 203 along the path from sending host 210-A1 to receiving hosts 210-A2 and 210-A3. Once the bandwidth reservation is established, each data communications device 201-B through 201-E transports data (i.e., packets) associated with the session of data communication (i.e. the “A” video data stream 203) using the reserved 100 Kbps resources (data storage locations in this invention, as will be explained).
Extending the example, assume that each recipient host 210-A2 and 210-A3 receives the “A” data stream 203 at the reserved rate of 100 Kbps. That is, the bandwidth reservation processor 500 configures each data communications device 201-B through 201-E with a bandwidth reservation of 100 Kbps of its total bandwidth (i.e., its total data transfer capacity or throughput for the path specified for, or required by, the data stream) for the “A” video stream packets 203 which are continuously delivered to the recipient hosts 210-A2 and 210-A3 in real-time across network 200. If a video client application (not shown) executing on recipient host 210-A3 senses that more network bandwidth is required (such as 120 Kbps) to effectively receive the “A” video data stream 203, the host 210-A3 can use RSVP to make a bandwidth reservation request (not shown) containing bandwidth allocation adjustment information to each network device 201-E, 201-D, 201-C and 201-B. The bandwidth allocation adjustment information in the bandwidth reservation request specifies a request for 120 Kbps of bandwidth to be reserved for the “A” video data stream 203.
Using the invention, the bandwidth reservation processor 500 in each device 201-E through 201-B along the path of the “A” data stream 203 receives the RSVP bandwidth allocation adjustment information. Assuming bandwidth resources (i.e., an extra 20 Kbps) are available to meet the needs of the additional request (e.g. RSVP admission control), and that permission is granted for the requesting host (e.g., 210-A3) or client application to increase bandwidth to the requested level, the bandwidth reservation processor 500 in each device 201-E through 201-B dynamically adjusts the original bandwidth reservation of 100 Kbps to produce a new bandwidth reservation of 120 Kbps for the “A” video data stream 203 while continually maintaining (i.e., transporting) the “A” video data stream 203. Essentially, the invention's implementation of the separation of bandwidth reservation, adjustment and control from the transportation of data through a data communications device, as configured according to the invention allows a session of data communication to be uninterrupted during adjustments to bandwidth for that session.
The network policy server 150 is also shown in this embodiment to illustrate that the bandwidth reservation processor 500 can receive commands 530 to govern bandwidth allocation operations (as explained herein), instead of using bandwidth reservation requests 511 from individual hosts 201. This alternative arrangement may be beneficial when each data communications device 201 network-wide is to have a permanent amount of dedicated reserved bandwidth for use by a special purpose application or network wide (e.g. multicast) session of data communication, for example.
According to the general operation of the data communications device 201, initial bandwidth reservation for a particular session of data communication is generally performed before data communication for the session actually begins. The invention however is equally applicable to situations where a session of data communication is already established (i.e., data transport is underway across the network) but there is no particular amount of bandwidth pre-allocated for that session in the data communications devices 201 which are transporting the data. That is, the invention can be used to establish a bandwidth reservation concurrently with an active session of data communication that is already being transported through a network without having to disrupt or interrupt the session in any way. In a similar manner, as explained in the above example, the invention can also be used to adjust or modify a bandwidth reservation already assigned to a data communication session that is underway and that is currently being transported through a network.
To reserve bandwidth for a session(s) of data communication in any of these situations, the data communications device 201 receives bandwidth reservation requests and path messages 511 which are directed to the bandwidth request handler 520. The bandwidth request handler 520 is a process that executes on the data communications device 201 and is responsible for accepting or denying the bandwidth reservation requests 511. If accepted, the bandwidth request handler 520 provides one or more data structures called sender state data 504 (
The path in the sender state data 504, in this example embodiment, indicates a route through which the session data travels (DATA IN, DATA and DATA OUT in
Once the bandwidth labeler 550 obtains the sender state data 504, the bandwidth labeler 550 accesses 512 the data storage mechanism 340 to establish the requested bandwidth reservation as specified in the sender state data 504. The bandwidth labeler 550, as its name implies, operates (as will be explained in more detail) to label a certain percentage of data storage locations (not shown in this figure) maintained within the data storage mechanism 340 with the identity (i.e., a label) of the session of data communication for which bandwidth is to be reserved as specified in the sender state data 504. Using the aforementioned example, the bandwidth labeler 550 labels a certain percentage of data storage locations used to transfer data between input port 505 and output port 506 in the data storage mechanism 340 with a label corresponding to the “A” video data stream 203. The percentage of storage locations labeled is based upon the amount of bandwidth requested (100 Kbps) as indicated in the bandwidth reservation request, which is also provided in the sender state data 504.
In this manner, bandwidth reservation is accomplished via use of the bandwidth reservation processor 500 which accesses the data storage mechanism 340 to label certain data storage locations with a labels corresponding to the sessions of data communication requiring reserved bandwidth.
During a session of data communication, the input port 505 receives packets of application data 203 (which in this invention generally refers to data transferred in a session of data communication) directs them to the data scheduler 320. The data scheduler 320 schedules or deposits the data packets 203 into data storage locations (not specifically shown) within the data storage mechanism 340 which have corresponding labels provided by the bandwidth labeler 550. The data storage mechanism 340 then operates to transport the application data packets 203 back onto the network 200 from an appropriate output port 506, in order to send the application data 203 further towards its eventual destination (e.g., one of receiving hosts 210-A2, 210-A3 in
It is important to understand that the data scheduler 320 does not need to be made aware or provided with an indication of each different session (active or not) of data communication (i.e., “A” data stream 203) for which bandwidth is reserved in the data communications device 201 configured according to this embodiment of the invention. Rather, the data scheduler 320 only needs to look at each data packet 203 to determine if the packet is associated with any session of data communication and if so, the data scheduler 320 deposits the packet into a data storage location in the data storage mechanism 340 that has a corresponding label equivalent to the label for the session contained in the packet header 180 (e.g., in the Tspec field 191 in
In this manner, the bandwidth reservation processor 500 reserves bandwidth in a data communications device 201 without requiring the data scheduler 320 to be notified each time bandwidth is allocated for a session of data communication. This aspect of the invention also allows the bandwidth reservation processor 500 to adjust bandwidth for a session of data communication without requiring any runtime changes or notifications to be made, or provided, to the data scheduler 320. That is, the data scheduler 320 can remain ignorant of how many sessions of data communication are currently active and/or have bandwidth reserved in the data communications device 201. Instead, the data scheduler 320 can focus on repetitively depositing packets into data storage locations having labels that match an RSVP packet header 180, if any. If no RSVP packet header 180 or other session identifier information exists for a packet, then the data scheduler 320 deposits that packet into any data storage location that is not presently labeled.
In this embodiment, the data storage mechanism 340 (
The dequeuing mechanism 350 removes the data packets 203 through 206 from the queue 340-1 as they appear at the right-most end and transfers the data packets from the device 201 via output port(s) 506 onto the network 200. The speed at which the dequeuing mechanism 350 dequeues packets, the rotation of the queue 340-1, and the number of queue entries 345 that make up the queue 340-1 generally determine the overall bandwidth that can be provided to transport data to the output port 506. It is assumed in this example that the input and output ports 505, 506 can handle data faster that the data transporter 300 and that, for purposes of this explanation, the data scheduler 320 can examine the packet headers (e.g., RSVP header 180) to determine where to direct a packet (e.g., 203 through 206) at a rate that is greater than the overall maximum bandwidth for a port or session of data communication. Thus the data scheduler 320 does not act as a bottleneck in the device 201.
Of particular importance to the invention is the manner in which the data scheduler 320 deposits data packets 203 through 206 into the queue 340-1 within the data storage mechanism 340. Since the invention in this embodiment eliminates the need for the data scheduler 320 to be made aware of what particular data flows or sessions of data communication (e.g., 203 through 205) have associated reserved bandwidth at any point in time, the data scheduler 320 simply examines information in each packet 203 through 206 that arrives at the input port 505 and deposits that packet into a queue entry 345 that contains a label, such as label 555 “C”, that matches the information examined in the packet (i.e., 203 through 206).
The information examined in each packet 203 through 206 is preferably packet or RSVP header information contained in one or more of header fields 180, 181 and 182, as illustrated in
In other words, the data scheduler 320 is coupled to the input port 505 to receive data packet 203 through 206 associated with one or more sessions of data communication (e.g., “A” 203, “B” 204, etc.) and deposits the data packets 203 through 205 associated with that session(s) into data storage locations (queue entries 345 in this embodiment) associated with the bandwidth reservation for each session. The data scheduler 320 deposits “U” Packets 206 that are not associated with a particular session of data communication into queue entries 345 that have either no label (i.e., do not contain a label 555 for a reserved bandwidth session) or a label indicating that the entry 345 is unreserved, as illustrated by the example queue entry label “U” 556.
In this manner, the data transporter 300 including the data scheduler 320 and the data queuing mechanism 340 operate independently of the bandwidth reservation processor 500 to continually maintain and transport one or more sessions of data communication along with data (e.g., 206) not specifically associated with reserved bandwidth reserved in the device 201. The operations of the data scheduler 320 and data storage mechanism 340 (e.g. queue 340-1) can be performed irrespective of the current bandwidth reservations (i.e., number of labeled queue entries 345) that may exist or that may change for session(s) of data communication (e.g. streams “A” 203, “B” 204, “C” 205).
The bandwidth reservation processor 500 including the bandwidth request handler 520 and the bandwidth labeler 550 operates asynchronously with the data transporter 300 mechanisms (e.g., 320, 340) and is responsible for labeling the queue entries 345 in the queue 340-1. Using the data storage location labeling techniques explained herein, bandwidth reservations are established and maintained for each session of data communication 203 through 205. The techniques also allow for data 206 which is not specifically associated with reserved bandwidth sessions to be transported as well.
More specifically, with respect to the example embodiment in
In this example embodiment, sender state data 504 includes, for each session of data communication for which bandwidth resources are requested (e.g., each session listed in the sender state data, such as streams 203 through 205), an identity of the session of data communication, an amount of bandwidth associated with the session of data communication, and the path (e.g., input/output port pair) through the device 201 that the session of data communication is to traverse using the reserved bandwidth resources. More specifically, Table 1 below illustrates an example of the sender state data 504 created by the bandwidth daemon 501, including some example requested bandwidth rates to be reserved for the sessions or flows “A” 203, “B” 204 and “C” 205 in
As shown in Table 1, the request 511 (
To assist in the explanation of the operation of this example embodiment, it is also assumed that the maximum total bandwidth for the output port 506 is 400 Kbps. Thus when the data scheduler 320, queue 340-1 and dequeuing mechanism 350 all operate at peak capacity, a maximum bandwidth or throughput of 400 Kbps is available from the output port 506.
To configure bandwidth reservations for each flow or session of data communication (e.g., “A”, “B”, “C”) defined in the sender state data 504, the bandwidth labeler 550 in this embodiment includes a resource allocation calculator 552, a resource allocation table 553, and a label calculator 554.
The resource allocation calculator 552 creates labeling information that is maintained in the resource allocation table 553 based on the sender state data 504. To do so, in this embodiment, the resource allocation calculator 552 obtains as input 560 the size and speed of rotation of the data storage mechanism 340 (e.g. queue 340-1). Essentially, the resource allocation calculator 553 calculates and stores a percentage of total bandwidth (for the path to the output port 506 in this example) to allocate or reserve for each session of data communication based on the sender state data 504 as defined by the received bandwidth reservation requests 511.
As noted above, the resource allocation calculator 552 obtains as input the queue size and speed data 560 from the data storage mechanism 340. Using this information in conjunction with the sender state data 504, the resource allocation calculator 552 computes PERCENT UTILIZATION and ENTRY COUNT OF TOTAL QUEUE SIZE values for each flow or session of data communication (e.g., “A” 203, “B” 204, “C” 205) in the sender state data 504.
The resource allocation calculator 552 computes PERCENT UTILIZATION by converting the requested bandwidth to be reserved for each data flow or session to a percentage of total bandwidth for the queue 340-1. In this embodiment, the queue size/speed data 560 determines total bandwidth for the path. In this example, the queue 340-1 has a queue size equal to twelve queue entries 345. Each entry 345 can store one packet (e.g., one packet 203 through 206). A packet size in this embodiment is assumed to constant at 1000 bits. The queue speed in this example is assumed to be 33⅓ rotations per second. Based on these values, the total bandwidth for this queuing structure 340-1 can be computed as follows:
QUEUE_BANDWIDTH=TOTAL_NUMBER_OF_ENTRIES*ENTRY_SIZE*ROTATIONS_PER_SECOND.
Or for this particular embodiment, overall total queue bandwidth equals:
400 Kbps=(12 Queue entries)*(1000 bit entry size)*(33⅓ Rotations per second).
Once the total queue bandwidth is calculated, PERCENT UTILIZATION may be calculated as follows:
PERCENT UTILIZATION=REQUESTED_BANDWIDTH_PER_FLOW/QUEUE_BANDWIDTH.
In the example embodiment, since the overall queue bandwidth is 400 Kbps using the requested reserved bandwidth values from Table 1 (sender state data 504), the PERCENT UTILIZATION for each FLOW ID for flows “A”, “B” and “C” (203 through 205) is computed as follows:
Any remaining bandwidth, expressed as a percentage (i.e., 100 percent−Total Reserved percentage), is allocated to all unreserved data packets 206 (e.g. all data with FLOW ID=“U”). In this example, data associated with FLOW ID “U” gets 26 percent of the total bandwidth, since that is the remaining amount of bandwidth not reserved to the sessions of data communication 203 through 205.
The resource allocation calculator 552 computes ENTRY COUNT OF TOTAL QUEUE SIZE (Column 3) values in the resource allocation table 553 based on the percent utilization of each FLOW ID in proportion to the number of total queue entries 345 in the queue 340-1. The final result may be rounded or the allocation can be adjusted over each rotation of the data storage mechanism 340-1 so the average transmission rate converges to the correct percentage. Specifically, in this example embodiment:
ENTRY COUNT OF TOTAL QUEUE SIZE=PERCENT UTILIZATION*TOTAL_NUMBER_OF_ENTRIES.
In the example embodiment, since there are twelve queue entries 345 in the queue 340-1, the ENTRY COUNT OF TOTAL QUEUE SIZE values are computed as follows:
Once the resource allocation calculator 552 computes the data in the resource allocation table 553, the label calculator 554 can use the resource allocation table 553 to properly produce labels (e.g., 555) for the queue entries 345 in the queue 340-1. As indicated in
Accordingly, by labeling the data storage locations 345 that form the queue 340-1 with the appropriate labels 555 for each flow identification (FLOW ID, Column 1) specified in the resource allocation table 553, the bandwidth labeler 550 can constantly maintain the appropriate amount of reserved bandwidth for each session of data communication 203, 204, 205. The data scheduler 320 uses the entries 345 that are either unlabeled by the bandwidth labeler 550 or that are labeled with a “U” (signifying unreserved or unlabeled), as indicated by label 556 in
In this embodiment, the bandwidth labeler 550 can continuously monitor the sender state data 504 for changes in bandwidth requests (i.e., bandwidth reservations or changes that have been granted by the bandwidth daemon 501) for any session of data communication (e.g. 203, 204, 205). Once a change is detected in the sender state data 504, the resource allocation calculator 552 recalculates the values in the resource allocation table 553. The label calculator 554 detects this change and then correspondingly alters the labeling of the queue entries 345 to effectuate the requested bandwidth change.
In this manner, the system of the invention allows bandwidth to be dynamically adjusted without affecting the data scheduler 320. That is, since the bandwidth reservation processor 500 adjusts a proportionate number of labels 555, 556, etc. for sessions of data communication within the queue entries 345, the maximum allowable bandwidth for the sessions (e.g. 203, 204 or 205 in this example) is inherently governed, since the data scheduler 320 can only place as many packets of session data (i.e. 310) into labeled queue entries 345 as there are matching labels 555 associated with the entries 345.
By isolating the operation of the data scheduler 320 from the bandwidth reservation processor 500 as shown in the previous embodiments, it has been illustrated how bandwidth may be reserved and adjusted dynamically at any time before, during, or after one or more sessions of data communication (e.g. 203 through 205) are in operation. Once the data scheduler 320 queues a data packet 310 for a session of data communication in the queue 340-1, the data 310 remains in the data storage location 346 until it is dequeued by dequeuing mechanism 350. The label calculator 554 in this embodiment only labels 555 or changes labels of queue entries 345 that do not already contain data 310. In this manner, the data scheduler 320 and queue 340-1 operate in continuously the same manner. This allows any session data in the “pipeline” comprising the input port 505, data scheduler 320, queue 340-1, dequeuing mechanism 350, and output port 506 to remain undisturbed during a change in bandwidth.
Recall that prior art implementations of bandwidth reservation require a session of data communication to be broken or halted for a period of time while classification, scheduling, queuing, and dequeuing mechanism are all reconfigured to handle the new bandwidth requirements. Once reconfigured, the session can then be reinstated. The system of the invention avoids much of this effort and allows the session to be continually transmitted before, during and after bandwidth allocations or adjustments. The adjustments take effect dynamically as the new label configurations for the data storage locations 345 in queue 340-1 are used. Thus the bandwidth labeler 550 can dynamically re-label queue entries 345 and the new labels are used by the data scheduler 320 to deposit session data.
An example highlights the particular importance of this aspect of the invention. Suppose that the device 201 is currently transporting the “B” session 204 of data communication at a maximum bandwidth of 64 Kbps, as illustrated in
Assuming the bandwidth daemon 501 grants the request 511, the sender state data 504 for the SESSION IDENTIFICATION “B” indicates a REQUESTED RESERVED BANDWDITH value of 100 Kbps. The resource allocation calculator 552 detects the change in the sender state data 504 and updates the resource allocation table 553 as explained above so that FLOW ID “B,” (which was set at 16 percent with 2 queue entries labeled with “B”), now contains a PERCENT UTILIZATION value of 0.25 (or 25 percent of the total 400 Kbps bandwidth for this path) and an ENTRY COUNT OF TOTAL QUEUE SIZE value of 3. When the resource allocation table 553 is updated in this manner, the label calculator 554 detects the change and begins to re-label the queue entries 345 according to the new information in the resource allocation table 553. Once the label calculator 554 re-labels all entries 345 in the queue 340-1, three entries 345 are labeled with a “B” instead of two as in the previous configuration. Note that the label calculator 554 preferably operates to re-label queue entries 345 just after the dequeuing mechanism 350 removes the data (310 in
Alternative embodiments of the invention provide that the label calculator 554 always operates to continuously label entries 345 according to the resource allocation table 553. In this manner, if the number of labels required for all sessions having reserved data exceeds the total number of queue entries 345 in the overall queue 340-1, each entry 345 is provided with a different label upon being emptied by the dequeuing mechanism 350. In other words, if the rotation speed 560 of a short queue 340-1 (i.e. a queue 340-1 having so few entries 345 that all entries 345 combined cannot hold the total amount of reserved bandwidth) is fast enough, the label calculator 554 can simply provide labels for every entry 345 after that entry passes the dequeuing mechanism 350. In this manner, a short queue changes its labeling configuration with each rotation, and the label calculator controls the bandwidth allocation for each session via the labels for the entries 345.
All data packets (e.g., packets for sessions 203 through 205 and unreserved data packets 206) that currently exist in the queue 340-1 during the labeling process remain queued and eventually propagate their way to the dequeuing mechanism 350. Preferably, relabeling takes place as soon as each entry 345 in the queue 340-1 is emptied or dequeued of its data packet 310 by the dequeuing mechanism 350. As the relabeled queue entries 345 make their way clockwise around to the data scheduler 320 to obtain more data packets 310, the new labeling configuration (i.e., the queue 340-1 now containing three “B” labeled entries 345) will dictate what data can be placed into which entries 345. In this manner, the bandwidth can be changed for the session of data communication 204 without disrupting the transport of data for the session.
In step 604, the bandwidth daemon 501 updates the sender state data 504 that already exists for the requested resource, without disturbing any session or sessions of data communication that may be using that resource (i.e., without notifying the data scheduler 320). In step 605, the bandwidth daemon 501 makes the sender state data 504 available to the bandwidth labeler 550 so that the bandwidth labeler 550 can label (e.g., 555) the data storage locations (e.g., entries 345) accordingly in the data storage mechanism 340, which is preferably the rotating queue structure 340-1 discussed above. By making the sender state data 504 available to the bandwidth labeler 550, the bandwidth request handler 520 can focus its operation primarily on bandwidth request processing and does not need to make the sender state data 504 available to other components of the system, such as the data scheduler 320 or the dequeuing mechanism 350.
In one embodiment, step 751 consults the entry label counts for each session of data communication as indicated in Column 3 of the resource allocation table 553. Step 752 then labels 555 the entries 345 according to the entry label calculations. The labeling of queue entries 345 may proceed serially by labeling entries 345 with all of the “A” labels (e.g., 3 “A” labels 555), and then when there are no more “A” labels remaining, labeling entries 345 with “B” labels (2 in the example) until none remain, and so forth. With respect to the example resource allocation table 553 in
-
- “A” “A” “A”“B” “B” “C” “C” “C” “C” “U” “U” “U”
However, as will be explained next with respect to
It may be apparent to those skilled in the art that a situation might arise where the data scheduler 320 detects an RSVP header that indicates a session identification (i.e., a labeled packet) for which there are currently no corresponding labeled queue entries 345. The invention addresses this situation in a number of ways. First, the data scheduler 320 can simply buffer the data until an entry 345 having a corresponding label 555 appears. After a certain time period, which preferably corresponds to a certain number of rotations of the queue 340, if no labeled entry 345 appears (to the data scheduler 320) that matches the packet data (with a session identification) that is buffered with the unknown session identification, the data scheduler 320 can either discard the unknown session data or can simply deposit the data into one of the data storage locations that is indicated as being unreserved (i.e. labeled “U”). The later mechanism (queuing into an unreserved entry 345) is preferred over the packet discard mechanism, since data will not be lost and will not require re-transmission from the sender if the unknown data stream has such error detection/correction capabilities enabled.
In this manner, if session data is transported to a device 201 which is unaware of the existence of the session, the invention still allows the data to be transported as if it were unlabeled data not associated with any particular session. In prior art systems in which a classifier and scheduler are made aware of all active sessions, the unknown session data might confuse the classifier and/or scheduler and may require either, at a minimum, to pause operation to consult with the RSVP daemon (e.g., 101 in
-
- “A” “B” “C” “U” “A” “B” “C” “U” “A” “C” “U” “C”
In total, there are three “A” entries, two “B” entries, four “C” entries, and three “U” entries, and that the entries are somewhat staggered from each other. The sequence A-B-C-U begins at the left and repeats itself twice, after which there are no more “B” labels to be produced, and so the remaining “A” and “U” labels are produced. In this manner, the bandwidth labeler 550 presents a more even distribution of labeled (i.e., reserved) bandwidth entries 345 so that the data scheduler 320 does not have to wait for significant periods of time while buffering data and awaiting for an entry with the correct label to appear.
In yet another embodiment of the bandwidth labeler 550 and the label calculator 554, the label calculator 554 only labels the queue entries 345 each time the resource allocation table 553 changes. As such, the labels (e.g. 555 in
It is to be understood by those skilled in the art that the labeling patterns in
It is also to be understood that the invention is not limited to applications providing bandwidth reservation and allocation using the RSVP protocol. Rather, the invention is intended to operate in conjunction with other bandwidth reservation, allocation, or adjustment protocols that currently exist or that may be developed in the future. For example, future versions of RSVP may provide specific message formats to enable bandwidth adjustments. The invention provides implementations of data communications devices as explained herein that can take advantage of such messages to dynamically adjust bandwidth as required for sessions of data communication.
For more details on the operation of bandwidth reservation protocols such as RSVP and its derivatives, the reader is directed to Request For Comments 2205 and 1633 and RSVP93 (RFC-2205, RFC-1633, RSVP93), published by the Network Working Group of the Internet Engineering Task Force (IEFT), and available on the Internet at ftp://ftp.isi.edu/in-notes/rfc2205.txt, each of which protocol references is hereby incorporated by reference in their entirety.
The invention applies to all types of data transmitted to or from any type of device through any type of network and/or network communications medium. While the illustrated examples discuss packet data which is primarily applicable to Transmission Control Protocol/Internet Protocol (TCP/IP) networks such as the Internet, the invention is equally applicable to networks that use such units of data as tokens, cells, frames, blocks, and so forth. Other network architectures such as Asynchronous Transfer Mode (ATM) networks can use the concepts of the invention as well to reserve bandwidth for cell transfer. Also, networking architectures such as packet-wireless, Fiber Distributed Data Interface (FDDI), Systems Network Architecture (SNA), Digital Subscriber Link (DSL), Advanced Peer-to-Peer Networking (APPN) and others may benefit from use of the invention.
Another alternative scenario that could illustrate the features of the invention would be to have several networked computers each running different types of applications having different data communications requirements. The data produced from each application may need to be transferred between the computers at different reserved rates. The invention could be used to provide this capability. It is also understood that a data communications device 201 configured according to the invention may have one or more data schedulers 320 and one or more data queues 340. An arrangement such as a single data scheduler per input port that can deposit data into many different queues 340-1, 340-2, etc., where there is one queue 340 per output port is contemplated as a device configured according to the invention. Other arrangements are possible as well which are contemplated by the invention. Such alternative arrangements and alternative designs of data communications devices can apply the concepts of the invention as disclosed herein to provide dynamic bandwidth reallocation without interrupting streams of data, since the operation of the bandwidth allocation mechanisms are generally separated from the data transport mechanisms, as explained herein.
While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A method for dynamically adjusting reserved bandwidth in a data communications device while transporting a session of data communication within the device, the method comprising the steps of:
- receiving a first RSVP bandwidth reservation request associated with application data of a session of data communication;
- reserving a first amount of data storage locations in the data communications device for the session of data communication, the first amount of data storage locations reserved based upon an amount of bandwidth requested in the first RSVP bandwidth reservation request; and
- dynamically adjusting the first amount of data storage locations in the data communications device for the session of data communication to produce a second amount of data storage locations in the data communications device for the session of data communication request while continually maintaining the session of data communication, the dynamic adjusting based upon bandwidth allocation adjustment information within a second RSVP bandwidth reservation request.
2. The method of claim 1 wherein reserving comprises:
- labeling, with an identity of the session of data communication, a first percentage of available data storage locations used to store application data transported through the data communications device to establish a first bandwidth reservation, the first percentage of available data storage locations labeled based upon the amount of bandwidth requested in the first RSVP bandwidth reservation request.
3. The method of claim 2 wherein dynamically adjusting comprises:
- labeling, with an identity of the session of data communication, a second percentage of available data storage locations used to store application data transported through the data communications device to establish a second bandwidth reservation while continually maintaining the session of data communication, the second percentage of available storage locations labeled based upon an amount of bandwidth requested in a second bandwidth reservation request, the second percentage of storage locations labeled being different than the first percentage of storage locations labeled.
4. The method of claim 1 wherein receiving comprises:
- receiving a first RSVP bandwidth reservation request associated with application data of a session of data communication, the first RSVP bandwidth reservation request distinct from the application data.
5. The method of claim 1 wherein dynamically adjusting comprises:
- dynamically adjusting the first amount of data storage locations in the data communications device for the session of data communication to produce a second amount of data storage locations in the data communications device for the session of data communication request while continually maintaining the session of data communication, the dynamic adjusting based upon bandwidth allocation adjustment information within a second RSVP bandwidth reservation request, the second RSVP bandwidth reservation request distinct from the application data.
6. A data communications device comprising:
- at least one communications interface;
- controller; and
- an interconnection mechanism coupling the at least one communications interface, the memory, and the processor;
- wherein data communications device is configured to:
- receive a first RSVP bandwidth reservation request associated with application data of a session of data communication via the at least one communications interface;
- reserve, via the controller, a first amount of data storage locations in the data communications device for the session of data communication, the first amount of data storage locations reserved based upon an amount of bandwidth requested in the first RSVP bandwidth reservation request; and
- dynamically adjust the first amount of data storage locations in the data communications device for the session of data communication to produce a second amount of data storage locations in the data communications device for the session of data communication request while continually maintaining the session of data communication, the dynamic adjusting based upon bandwidth allocation adjustment information within a second RSVP bandwidth reservation request received via the at least one communications interface.
7. The data communications device of claim 6 wherein, when reserving, the data communications device is configured to:
- label, with an identity of the session of data communication, a first percentage of available data storage locations used to store application data transported through the data communications device to establish a first bandwidth reservation, the first percentage of available data storage locations labeled based upon the amount of bandwidth requested in the first RSVP bandwidth reservation request.
8. The data communications device of claim 7 wherein, when dynamically adjusting, the data communications device is configured to:
- label, with an identity of the session of data communication, a second percentage of available data storage locations used to store application data transported through the data communications device to establish a second bandwidth reservation while continually maintaining the session of data communication, the second percentage of available storage locations labeled based upon an amount of bandwidth requested in a second bandwidth reservation request, the second percentage of storage locations labeled being different than the first percentage of storage locations labeled.
9. The data communications device of claim 6 wherein, when receiving, the data communications device is configured to:
- receive a first RSVP bandwidth reservation request associated with application data of a session of data communication, the first RSVP bandwidth reservation request distinct from the application data.
10. The data communications device of claim 6 wherein, when dynamically adjusting, the data communications device is configured to:
- dynamically adjusting the first amount of data storage locations in the data communications device for the session of data communication to produce a second amount of data storage locations in the data communications device for the session of data communication request while continually maintaining the session of data communication, the dynamic adjusting based upon bandwidth allocation adjustment information within a second RSVP bandwidth reservation request, the second RSVP bandwidth reservation request distinct from the application data.
11. A computer program product having a computer-readable medium including computer program logic encoded thereon for allocating bandwidth in a data communications device, such that the computer program logic, when executed on at least one processing unit with the data communications device, causes the at least one processing unit to perform the steps of:
- receiving a first RSVP bandwidth reservation request associated with application data of a session of data communication;
- reserving a first amount of data storage locations in the data communications device for the session of data communication, the first amount of data storage locations reserved based upon an amount of bandwidth requested in the first RSVP bandwidth reservation request; and
- dynamically adjusting the first amount of data storage locations in the data communications device for the session of data communication to produce a second amount of data storage locations in the data communications device for the session of data communication request while continually maintaining the session of data communication, the dynamic adjusting based upon bandwidth allocation adjustment information within a second RSVP bandwidth reservation request.
12. A data communications device comprising:
- at least one communications interface;
- a controller; and
- an interconnection mechanism coupling the at least one communications interface and the controller;
- wherein the data communications device is configured to produce a means dynamically adjusting reserved bandwidth in a data communications device while transporting a session of data communication within the device, such means including:
- means for receiving a first RSVP bandwidth reservation request associated with application data of a session of data communication;
- means for reserving a first amount of data storage locations in the data communications device for the session of data communication, the first amount of data storage locations reserved based upon an amount of bandwidth requested in the first RSVP bandwidth reservation request; and
- means for dynamically adjusting the first amount of data storage locations in the data communications device for the session of data communication to produce a second amount of data storage locations in the data communications device for the session of data communication request while continually maintaining the session of data communication, the dynamic adjusting based upon bandwidth allocation adjustment information within a second RSVP bandwidth reservation request.
13. The data communications device of claim 12 wherein the means for reserving comprises:
- means for labeling, with an identity of the session of data communication, a first percentage of available data storage locations used to store application data transported through the data communications device to establish a first bandwidth reservation, the first percentage of available data storage locations labeled based upon the amount of bandwidth requested in the first RSVP bandwidth reservation request.
14. The method of claim 13 wherein the means for dynamically adjusting comprises:
- means for labeling, with an identity of the session of data communication, a second percentage of available data storage locations used to store application data transported through the data communications device to establish a second bandwidth reservation while continually maintaining the session of data communication, the second percentage of available storage locations labeled based upon an amount of bandwidth requested in a second bandwidth reservation request, the second percentage of storage locations labeled being different than the first percentage of storage locations labeled.
Type: Application
Filed: Feb 4, 2005
Publication Date: Jun 16, 2005
Applicant: Cisco Technology, Inc. (San Jose, CA)
Inventors: Hamesh Chawla (San Leandro, CA), John Waclawsky (Fredrick, MD)
Application Number: 11/051,227