GB2341751A - A multiple tier communications cell scheduler - Google Patents

A multiple tier communications cell scheduler Download PDF

Info

Publication number
GB2341751A
GB2341751A GB9928907A GB9928907A GB2341751A GB 2341751 A GB2341751 A GB 2341751A GB 9928907 A GB9928907 A GB 9928907A GB 9928907 A GB9928907 A GB 9928907A GB 2341751 A GB2341751 A GB 2341751A
Authority
GB
United Kingdom
Prior art keywords
timing wheel
priority
scheduler
higher priority
scheduling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB9928907A
Other versions
GB2341751B (en
GB9928907D0 (en
Inventor
Gary Scott Delp
Victor Firoiu
Roch Andre Guerin
Philip Lynn Leichty
David Richard Poulter
Vinod Gerard John Peris
Rajendran Rajan
John Handley Shaffer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US08/823,155 external-priority patent/US6028843A/en
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Publication of GB9928907D0 publication Critical patent/GB9928907D0/en
Publication of GB2341751A publication Critical patent/GB2341751A/en
Application granted granted Critical
Publication of GB2341751B publication Critical patent/GB2341751B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/04Selecting arrangements for multiplex systems for time-division multiplexing
    • H04Q11/0428Integrated services digital network, i.e. systems for transmission of different types of digitised signals, e.g. speech, data, telecentral, television signals
    • H04Q11/0478Provisions for broadband connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5651Priority, marking, classes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5678Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management
    • H04L2012/5679Arbitration or scheduling

Abstract

A method and apparatus are provided for scheduling the transmission of cells of a plurality of data streams in a communications network. A multiple tier cell scheduler is provided that includes at least two scheduling timing wheels. The priority of a first timing wheel is higher than the priority of a second timing wheel. The priority of the second timing wheel is higher than the priority of an optional third timing wheel. The third timing wheel includes a best effort operational mode. The relative rates between data streams are maintained, while the absolute rates of the data streams are increased or decreased in the lowest priority wheel.

Description

4 2341751 AN EARLIEST DEADLINE FIRST COMMUNICATIONS CELL SCHEDULER
Field of the Invention
The invention relates to the scheduling of multiple data streams through a data communications network, and more particularly, to the choice of which cell or packet should be transmitted or passed on from a network element when there are multiple potential streams with data that could be transmitted or passed on. Further the invention describes a method for classifying connections by their reserved data rate and delay bounds. This delay bound is also referred to as a deadline.
Description of the Prior Art
Multimedia communications involve the blending together of computer data processing, audio/video, and display technology in an interactive environment. Evolving multimedia applications such as desktop computer conferencing and video-on-demand bring with them the need for network access to shared or common real-time data.
A Motion Pictures Experts Group MPEG-2 standard for multimedia stream transport is described in "MPEG-2" International organization for Standardization; Organization Internationale De Normalisation (ISO/IEC ITCl/SC29/WG11) Coding of Moving Pictures and Associated Audio. The MPEG-2 standard has defined a system layer that integrates multiple media sources into a single data stream with integrated time stamps or program clock references (PCRs). The MPEG-2 standard has defined a fixed and variable rate encoding scheme for video streams that allows for variable size and quality of video streams. The MPEG-2 standard has defined a transport mechanism for other video encoding schemes, for example, MPEG 1. The MPEG-2 multimedia stream is transported over a digital network which uses the ITU standards commonly referred to as Asynchronous Transfer Mode (ATM). The Asynchronous Transfer Mode (ATM) network described in "Asynchronous Transfer Mode: Solution for Broadband ISDN", M de Prycker, Ellis Horwood, 1991 is an internationally agreed upon technique for transmission, multiplexing and switching in a broadband network. It uses fixed size cells as a unit of transmission.
ATM networks are designed to support the integration of high quality voice, video, and high speed data traffic. To the end-user, it promises to provide the ability to transport connection-oriented and connectionless traffic at constant or variable bit rates. It allows for allocation of bandwidth on demand and intends to provide negotiated Quality-of -Service (QoS). To a network provider, it enables the transport of different traffic types through the same network. In order for a network to meet QoS requirements as set by the user for a session, 2 the network must have sufficient information about the traffic characteristics of the session. This may be approximated by (but not limited to) three basic parameters: 1) average transmission rate, 2) peak transmission rate, and 3) the interval over which the data may be transmitted at peak rate. As a part of the QoS contract with the network, all sessions must abide by the traffic parameters and not violate these parameters in order for the network to guarantee QoS to all the users. This gives rise to a complex scheduling problem when many sessions are established over a network link, which requires that each session's contract with the network not be violated. At the same time, all sessions must get the desired capacity from the network. This problem is fairly complex particularly when it involves a large number of sessions with a wide range of traffic descriptors. The problem is further compounded with the fact that different sessions require is different QoS. Therefore, in case of contention, where a multiplicity of sessions have data to be transmitted and their individual contracts with the network will allow them to transmit, sessions requiring stricter QoS guarantee typically are given priority over other sessions.
In ATM networks, one known algorithm called the leaky bucket algorithm has been used to determine when a cell for a single session may be transmitted. This leaky bucket algorithm may be used to determine if a cell is allowed to be transmitted for any single session at a given time. Scheduling a multiplicity of sessions can be provided by running the leaky bucket algorithm at any time t for all the sessions to determine which sessions may be scheduled for transmission at that time.
Then, cells from these sessions may be scheduled based on their assigned priorities. The leaky bucket algorithm is described in ATM Forum Technical Committee Traffic Management Specification, version 4.0 (af-tm
0056.000) April, 1996.
An Internet Draft document, entitled &Resource ReSerVation Protocol (RSVP)" Version 1 Functional Specification of the Internet Engineering
Task Force (IETF) dated March 18, 1996 describes a version 1 of RSVP, a resource reservation setup protocol designed for an integrated services Internet. RSVP provides receiver- initiated setup of resource reservations for multicast or unicast data flows, with good scaling and robustness properties. A scheduling algorithm implementation advantageously should be compatible with the RSVP protocol.
Guaranteeing that a flow is served in a manner consistent with its traffic contract or traffic contract rate guarantee can be quite different from guaranteeing also that this flow is served with specific delay guarantees, provided it complies with its traffic contract rate guarantee. Examples that illustrate this difference follow.
3 Assume two connections with both a token bucket size of 5 cells and a peak rate equal to the link speed where cells can be sent every slot if tokens are available. Connection 1 has an average token generation rate of once every 5 slots, while connection 2 has an average token generation rate of once every 10 slots. Enforcement of this traffic contract can be achieved by putting the flows on a timing wheel utilizing leaky bucket rate connection parameters. Assume also that connection 1 has a delay requirement of 3 slots, while connection 2 has a delay requirement of 6 slots. This means that connection 1 wants to be guaranteed that its cells will be transmitted on the link within at most 3 slots from the time they become eligible, while connection 2 wants to be guaranteed that its cells will be transmitted on the link within at most 6 slots from the time they become eligible.
is In the examples below, time slots are numbered from 1 and up with higher numbers representing later times. For example, because connection 1 has a delay requirement of 3 slots, if a cell from connection 1 becomes eligible at time slot 6 or is ready to be transmitted at slot 6, the cell should have been transmitted on the link by slot 9 at the latest or at most 3 slots after slot 6.
Assume first that both connections 1 and 2 have the following arrival patterns starting at slot 1:
- connection 1: 3,2,1,0,0,0,0,1,0,0,0,0,1,0,.
- connection 2: 3,2,1,0,0,0,0,0,0,0,0,0,1,0,....
Cell eligibility times out of the leaky buckets for each connection follows, where it is assumed that each connection starts with a full token bucket, a token was just generated at time 0, and denote a token generation time:
- connection 1: 1,1,1,1,1,1,0,0,0,1,0,.... (1 every 5) - connection 2: (1 every 10) Note also that the above sequence was determined assuming each cell could be transmitted at the time it becomes eligible, or in case a cell cannot be transmitted at the time it becomes eligible that the eligibility time of the next cell is computed based on the time the previous one should have left and not the time it actually left. This is a peak rate enforcement issue, and does not affect the issue of providing delay guarantees.
4 The actual transmission times of cells based on the above sequences of eligibility times depend on how the scheduling of cells is handled.
Let us first assume that both connections are put on the same timing wheel. This essentially amounts to considering them equal from a delay point of view. The sequence of cell transmissions is then as follows:
1,2,1,2,1,2,1,2,1,2,1,1,2,-,1 where the number in the above sequence indicate connection 1 or connection 2 to which the transmitted cell belongs, and - corresponds to no cell transmissions. From the above example, it can be seen that some of the cells of connection 1 are not transmitted within the desired delay is requirement of 3 slots. Specifically, the sequences of eligibility versus transmission times for cells from connections 1 and 2 are as follows:
Connection 1:
eligibility times: 1,2,3,4,5,6,10, transmission times: 1,3,5,7,9,11,12, Connection 2:
eligibility times: 1,2,3,4,5,10, transmission times: 2,4,6,8,10,13, As can be seen from the above sequences, the cells from connection 1 that are eligible at times 5 and 6 and get transmitted at times 9 and 11 which violates the deadline of 3 slots. However, none of the cells from connection 2 violate their deadline of 6 slots. in the above example, the best possible scenario is used where cells from connection 1 were always scheduled before cells from connection 2 in those cases where they were enqueued on the same transmission slot, i.e., things could have been worse.
one possible approach to try to distinguish between connections 1 and 2 is to use static priorities to allow cells from connection 1 to be transmitted ahead of cells from connection 2. For example, cells from connection 1 are placed on a high priority timing wheel and cells from connection 2 are placed on a low priority timing wheel. However, while this clearly improves performance for connection 1; it can be seen from the following that this static priority approach only reverses the problem, now cells from connection 2 miss their deadline. This can be seen by constructing the sequence of cell transmissions for this static priority approach as follows:
1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 2, 2 So, the sequences of eligibility versus transmission times for cells from connections 1 and 2 are as follows:
Connection 1:
eligibility times: 1,2,3,4,5,6,10,...
transmission times: 1,2,3,4,5,6,10, Connection 2:
eligibility times: 1,2,3, 4, 5,10---.
transmission times: 7,8,9,11,12,13_ The above example shows that while all the cells from connection 1 are transmitted within their deadline, the cells from connection 2 that were eligible at time 4 and 5 missed their deadline since they were only transmitted at times 11 and 12, respectively. The above example is illustrative of the inherent problem of static priorities as they do not allow to account for the fact that as a cell waits, its priority should be increased to make sure it is transmitted by a given time. This requires some form of dynamic priorities; however, that is not readily supported by the static assignment of different priorities to different timing wheels.
one example of a dynamic priority scheme that would have enabled meeting the deadlines of all the above cells, is the earliest deadline first (EDF) policy, also called the earliest due date (EDD) policy. This EDF policy sends out cells in the order of their deadlines which correspond to the latest times the cells can be transmitted. In the context of the above example, this corresponds to:
Connection 1:
eligibility times: 1,2,3,4,5,6,10, deadlines: 4,5,6,7,8,9,13, Connection 2:
eligibility times: 1,2,3,4,5,10, deadlines: 7,8,9,10,11,16, The EDP policy would then have selected the following transmission order:
Connection: 1,1,1,1,2,1,2,1,2,2, 2, 1, 2 deadlines: 4,5,6,7,7,8,8,9,9,10, 11,13,16 transmission time: 1,2,3,4,5,6,7,8,9,10,11,12,13 6 As can be seen, the EW policy successfully selected transmission times for the two connections, so that all their cells were transmitted within their deadline. Note this was done based on the eligibility times of cell and not their arrival time. This is important to note as the ability to guarantee deadlines is certainly dependent on assumptions on the amount of traffic that each connection generates, i.e., a traffic contract. However, while we have assumed in the above example that the traffic of connections 1 and 2 was actually reshaped to conform to its traffic contract before cells could be considered for transmissions, we will see next that this is not a requirement. In particular, it suffices that reshaping or enforcement of the traffic contract be logical instead of physical.
A need exists for an improved method and apparatus for scheduling is the transmission of cells in a communications network.
Disclosure of the Invention
Important objects of the present invention are to provide an improved method and apparatus for scheduling the transmission of cells in a communications network; to provide an improved earliest deadline first (EDF) scheduler; to provide a method for classifying virtual connections by their reserved data rate and delay bounds; and to provide such method and apparatus that overcome disadvantages of prior art arrangements.
A multiple tier cell scheduler is provided that includes at least two scheduling timing wheels. The priority of a first timing wheel is higher than the priority of a second timing wheel. The priority of the second timing wheel is higher than the priority of an optional third timing wheel. The third timing wheel includes a best effort operational mode. The relative rates between data streams are maintained, while the absolute rates of the data streams are increased or decreased in the lowest priority wheel.
Brief Description of the Drawings
The invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
Figure 1 is a block diagram representation illustrating a communications network system including cell schedulers of the preferred embodiment; Figure 2 is a block diagram representation illustrating the operation of the cell scheduler of the preferred embodiment of figure 1; 1 7 Figure 3 is a chart illustrating a logical channel descriptor (LCD) for a data stream used by the cell scheduler of the preferred embodiment of figure 1; Figure 4 is a chart illustrating scheduling rate parameters for a constant bit rate, variable bit rate or a leaky bucket rate; Figure 5 is a schematic and block diagram representation illustrating data structures including a timing wheel of the cell scheduler of the preferred embodiment of figure 1; Figure 6 is a schematic and block diagram representation illustrating fast and show timing wheels and a last active bucket of the cell scheduler of the preferred embodiment of figure 1; Figure 7 is a flow chart illustrating sequential operations of the cell scheduler of the preferred embodiment of figure I to enqueue cells; Figure 8 is a flow chart illustrating sequential operations of the cell scheduler of the preferred embodiment of figure 1 to determine a next logical channel descriptor (LCD) to pass to transmission preparation logic; Figure 9 is a flow chart illustrating sequential operations of the cell scheduler of the preferred embodiment of figure 1 to determine a move to a next time slot; Figure 10 is a flow chart illustrating calculation of a next timestamp, and a next time slot by the cell scheduler of the preferred embodiment of figure 1; - Figure 11 is a block diagram representation illustrating an alternative three tier timing wheel cell scheduler of the preferred embodiment of figure 1; and Figure 12 is a flowchart illustrating exemplary operations of the three tier timing wheel cell scheduler of figure 11.
Detailed Description of the Invention
Having reference now to the drawings in figure 1, there is shown a communications network 100 including at least one cell scheduler 102 of the preferred embodiment. As shown in figure 1, cell scheduler 102 advantageously is used at selected network interconnects 108 at the ingress to or outbound from the network 100. Cell scheduler 102 advantageously is included with a network interface 104 of a computing or 8 communication system 106, at an inbound policing and shaping input 110 of a network internal switching or routing system 112, and/or at an outbound queuing and shaping output 114 of the switch or router 112.
The cell scheduler 102 includes functional operations as a scheduler disclosed in U.S. Patent 5,533,020.
Cell scheduler 102 includes major and substantial changes which provide advantages over known schedulers. Cell scheduler 102 provides earliest deadline first (EDP) scheduling with reshaping. Reshaping is defined as receiving a data stream with its cells distributed in time and retransmitting the data stream cells with an optionally different time distribution, such that the data stream conforms to a predefined traffic specification, for example, a leaky bucket specification.
In accordance with features of the preferred embodiment, cell scheduler 102 provide an earliest deadline first (EDF) scheduling policy that combines logical traffic reshaping and deadline based scheduling.
In the logical traffic reshaping performed by the cell scheduler 102, the eligibility time of a cell or packet is determined based upon the leaky bucket state, without necessarily enforcing that the packet be held back until it becomes eligible. The eligibility time of the packet is only used to arbitrate between packets, when there are several packets from different flows contending for transmission. It should be understood that this logical traffic reshaping and deadline based scheduling policy of the preferred embodiment does not ensure that the flow of packets being transmitted conforms to its traffic contract. For example, a stream flow can exceed its traffic contract, in the absence of other competing traffic flows currently on the network link 100. This may not be a suitable approach when connecting to entities that require strict compliance with a traffic contract, e.g., an ATM service provider.
However, in the context of an internal network connection, this is perfectly adequate on trunks between network nodes. Furthermore, the reshaping by cell scheduler 102 that is performed when needed at the input of each network node, ensures that deviations from the traffic contract remain limited.
In order to combine traffic contract enforcement and the scheduling of cell transmissions, both the eligibility time of the next cell and the delay bound or deadline assigned to its connection are used, i.e., added, to determine the maximum time at which the next cell needs to be transmitted. This is best explained in the context of an example as follows, where two connections I and 2, have a token bucket size of 5 cells. In the following example, connection I has a token generation rate of one every 5 slots and a delay requirement of 3 slots. Connection 9 2 has a token generation rate of one every 10 slots and a delay requirement of 6 slots.
Assume connection 1 and connection 2 have the following arrival patterns starting at slot 1:
- connection 1: 0,0,0,0,0,0,0,5,0,0,1,0,0,0..... - connection 2: 5,5,0,0, 0,0,0,0,0,0,0,0,1,0,.... cell eligibility times out of the leaky buckets for each connection are then as follows:
connection 1: 8,9,10,11,12,13.....
connection 2: 1,2,3, 4, 5,10,20,30,40,50,60 is Based on the above eligibility times and the fact that connection 1 has a delay bound of 3 slots and connection 2 has a delay bound of 6 slots, we compute the following deadlines for the cells of the two connections:
connection 1:
arrival times: 8,8, 8, 8, 8,11, eligibility times: 8,9,10,11,12,13, deadlines: 11,12,13,14,15,16, Connection 2:
arrival times: 1,1,1, 1, 1, 2, 2, 2, 2, 2,13, eligibility times: 1,2,3, 4, 5,10,20,30,40,50,60, deadlines: 7,8,9,10,11,16,26,36,46,56,66,.
This will then result in the following sequence of cell transmissions when using the EDF policy based on deadline equal to the sum of the eligibility time of a cell and its delay bound:
Connection: 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, arrival times: 1, 1, 1, 1, 1, 2, 2, 8, 8, 8, 8, 8, 11, deadlines: 7,8,9,10,11,16,26,11,12,13,14,15,16,...
transmission time: 1,2,3, 4, 5, 6, 7, 8, 9,10,11,12,14, eligibility time: 1,2,3, 4, 5,10,20, 8, 9,10,11,12,13, The above example shows that while packets from connection 2 are transmitted before their eligibility time, this did not impact connection 1. The result is provided because packets are scheduled so that their deadline are never violated and each flow is reshaped logically instead of physically.
Having reference to figure 2, the cell scheduler 102 is fed by a data enqueue mechanism 202 providing transmission/processing queues 204 with each queue including a logical channel descriptor (LCD) 206 or other such type of logical connection control block. The data enqueue mechanism 202 may be receive logic from the network 100, a stored program processor, or a combination of both of these mechanisms. Cell scheduler 102 uses the set of logical channel descriptors LCDs 206 that hold the data for each scheduled data entity. This may include a queue of data descriptors and configuration information for the transmission preparation logic. The scheduling selection logic of cell scheduler 102 selects a succession of LCDs and passes this selected succession to the transmission preparation logic 208. The transmission preparation logic 208 takes the LCD data structure selected by the scheduling selection logic 102 and prepares a transmission.
Referring to figure 3, there is shown a chart illustrating the logical channel descriptor (LCD) 206 for a data stream used by cell scheduler 102. The LCD 206 is a data structure which describes a data stream cell queue. LCD 206 includes a next LCD pointer 209 for linking LCDs together at a timing wheel time slot. LCD 206 includes pointers to a chain of cells and/or packets to be transmitted including a head of cell/packet queue pointer 210 and a tail of cell/packet queue pointer 212. LCD 206 also includes scheduling information for the corresponding data stream shown as scheduling parameters 214, a scheduling state 216 and a timing wheel selector 218. The LCD also maintains a timestamp for the connection.
Referring to figure 4, there is shown a chart listing multiple scheduling rate parameters 220 including a peak transmission rate 222, a sustainable transmission rate 224, a peak burst length 226, a constant bit rate/variable bit rate CBR/VBR traffic type 228, and a max delay 230.
These scheduling rate parameters 220 are specified for a constant bit rate, variable bit rate or a leaky bucket rate connection. These rates 222 and 224 are converted into intervals in terms of a number of fast timing wheel slots and fractions. The burst length is maintained as the maximum difference between the connection time stamp and the current time.
Referring to figure 5, the cell scheduler 102 is made up of data structures including at least one timing wheel, such as timing wheels 400, 402 illustrated in figure 6. As shown in figure 5, the data structures include a timing wheel comprising an array 122 of pointers to LCDs and an optional occupancy bit map 120 of the timing wheel, comprising a bit for each storage location in the timing wheel. Each bit indicates whether the timing wheel slot contains a valid pointer. This bit is used to control the need for reading memory locations and is used 11 to support a fast scan forward. This bit array may be able to be read more than 1 bit at a time. Reading this bit array returns a frame of bits which can be evaluated as a group. Additionally, the LCD contains a pointer that can be used to point to the next LCD stored in the same slot in the timing wheel. This pointer is used to create a chain of LCDs for each active time slot. Optionally the timing wheel can contain a set of pointers that point to the last entry in the chain of LCDs. This second pointer can be used for fast insertion to the end of the chain of LCDs.
While not a required element, this second pointer is included in the preferred embodiment.
Having reference to figure 6, a fast timing wheel 400 and a slow timing wheel 402 optionally are used. Each slot in each timing wheel corresponds to a range of time, with the fast timing wheel 400 used for smaller ranges of time, and the slow timing wheel 402 used for larger ranges of time. Figure 6 illustrates connections between these timing wheels 400 and 402, together with a last active bucket 404 that is used for any LCDs with intervals greater than the slow timing wheel 402.
Cell scheduler 102 keeps track of the current time of the system by a global variable, curr_slot which equals the current time in slots. For each LCD connection (i) the constants that are maintained include a mean interval in slots, mean-int (i); a product of the mean interval, and the burst size in slots, bmproduct(i); the minimum cell inter-transmission time in slots, peak_int(i); and the delay guarantee or deadline in slots for the connection (i), max-delay (i). Dynamic connection variables that are maintained include the state of the leaky bucket, state(i), which is the greater of state(i) and the sum of the mean_int(i) and (curr-slot bmproduct(i)); and the slot in the timing wheel where the cell from connection (i) is placed, qslot (i). The state of the leaky bucket, state(i) is further defined in the following. Note that bmproduct(i) acts as a limit to the temporal memory of the scheduling state.
A basic scheduling algorithm of cell scheduler 102 scans forward in the timing wheel 400 with a limited lookahead, L, from the current time curr-slot. If it finds a first connection, say connection (i) with an LCD enqueued on the timing wheel (TW) within that range, i.e., (qslot(i) curr_slot) < L, then cell scheduler 102: a) sends out this cell; b) increments the curr-slot; and c) computes the next time that this LCD has to be enqueued on the timing wheel 400 or 402.
At initialization, scheduling algorithm of cell scheduler 102 sets the curr_slot = 0; and state (i) = curr_slot + mean-int (i) - bmproduct (i).
12 Two conditions 1) and 2) to be considered for deciding where scheduling algorithm will enqueue an LCD on the timing wheel are now described.
1) A Packet from connection (i) is Enqueued for Transmit to the scheduling algorithm la) If LCD is already on the Timing wheel, then:
Add packet to the LCD queue.
lb) If LCD is not on the timing wheel, then:
state(i) = max( is state(i), curr-slot + mean_int(i) - bmproduct(i)) qslot(i) = max{state(i), curr-slot) + max-delay(i) Enqueue the LCE) on the TW at qslot(i) 2) The LCD for connection (i) is on the slot that has just been selected for transmission by the scheduling algorithm of cell scheduler 102, then:
2a) If there are no packets queued on this LCD, then:
Remove LCE) from Timing wheel (transmit nothing).
2b) If there are more cells to be transmitted, then set:
state(i) = mean-int(i) + state(i) qslot(i) = max(state(i) + max-delay(i), qslot(i)) Enqueue the LCD on the TW at qslot(i) It is assumed that the above operation 2)a), does not waste a slot; in other words that some valid cell, if it exists, can be sent out in that slot. If this is not the case, then we have to account for this loss of a slot, primarily a call admission issue. The lookahe ad of L does not waste a slot. This lookahead of L typically is large enough to cover the largest value of max-delay(i) or covers a reasonable range of max_delays for a given node.
Referring to figure 7, the general process used by the cell scheduler 102 to enqueue is illustrated including exemplary steps 13 starting at a block 500. Checking for data waiting to be enqueued is performed as indicated at a decision block 502. If so, then the data waiting is enqueued to an LCD data queue as indicated at block 504. More than one LCD data queue can be provided for each logical connection.
Next, checking for an LCD already active in the timing wheel 400 is provided as indicated at a decision block 506. If so, then the sequential operations return to the beginning at block 500. If the LCD is not already active in the timing wheel 400, then as indicated at block 508 the next steps include to calculate a next target transmission time, select atiming wheel 400 or 402, set an active bit for a time slot, and clear the next LCD pointer in this LCD. Next checking for an active tail pointer is provided as indicated at a decision block 510. For an active tail pointer, in the LCD pointed to by the tail pointer, the LCD address is written in the next LCD pointer location and the LCD address is written in the tail pointer for this time slot as indicated at a block 512. Otherwise, the LCD is written in the head and tail pointer slots for this time slot as indicated at a block 514. Then the sequential operations return to the beginning at block 500.
Referring to figure 8, the general process used by the cell scheduler 102 to determine the next LCD to pass to the transmission preparation logic 208 is illustrated. As shown in figure 6, there are several possible mechanisms for calculating the next transmission time slot that an LCD should be moved to, and there are several mechanisms that may be used to calculate the move to the next time. Starting at a block 600, checking for an active bit on for the current time is performed as indicated at a decision block 602. When an active bit on for the current time is not identified, then a move to a next time slot is provided using one of multiple possible methods as indicated at a block 604. Then the sequential operation return to the beginning at block 600. otherwise, when an active bit on for the current time is identified, then the first LCD is prepared for transmission (TX), a next pointer from the LCD is saved and the LCD is rescheduled using one of multiple possible methods as indicated at a block 606. Checking for a next pointer being active is provided as indicated at a decision block 608. If yes, then the next pointer is stored in the first LCD as indicated at a block 610. Then the sequential operations return to block 606 to prepare the first LCD for transmission. otherwise, when the next pointer is not active; then the active bit is cleared, the first pointer is cleared and the last pointer is cleared as indicated at a block 612.
Then a move to a next time slot is performed at block 604. Then the sequential operation return to the beginning at block 600.
Referring to figure 9, exemplary steps for the move to the next time are shown. The sequential steps begin at a block 700. Checking for an empty current time slot is performed as indicated at a decision block 702. If the current time slot is not empty, then the entry from the current time slot is processed as indicated at a block 704. Then the sequential operation return to the start at block 700. When the current time slot is empty, then the current time is compared with the current time slot as indicated at a decision block 706. If the current time is greater than the current time slot, then the current time slot is moved forward one time slot as indicated at a block 708. If the current time is less than or equal to the current time slot, then scanning forward one frame of active bits is performed as indicated at a block 710. Checking for an active bit on for any time slot in the frame is performed as indicated at a decision block 712. When an active bit on for any time slot in the frame is identified at block 712, then one entry form the first time slot in the frame with the active bit set is processed as indicated at a block 714 and the sequential operation return to the start is at block 700. When an active bit on for any time slot in the frame is not identified at block 712, then checking for any more frames in the range L is performed as indicated at a decision block 716. When another frame in the range is identified, then the sequential operation return to block 710 for scanning forward one frame of active bits. When another frame in the range is not identified, then the sequential operation return to the start at block 700.
Figure 10 illustrates calculation of a new timestamp and a new time slot by the cell scheduler 102. A new timestamp is calculated as indicated at a block 720 utilizing the following equation:
New timestamp = MAX(old timestamp + sustained interval, current time burst limit).
A new time slot is calculated as indicated at a block 722 utilizing the following equation:
New time slot = MAX(timestamp + sustained interval, current time + peak interval) + max delay, where peak interval is the minimum cell inter-arrival time in slots. The move forward method of figure 9 and the new timestamp and new time slot calculation algorithms of figure 10 provide the effect of maintaining a list of LCDs into the future that is sorted by deadline, resulting from the addition of the deadline term in the new time slot term. Cells from the connection with the earliest deadline are transmitted first. When the transmission resource, network 100 is not over subscribed, the each cell of multiple data streams will be transmitted before its deadline.
Figure 11 is a block diagram representation illustrating an alternative three tier timing wheel cell scheduler 102. The three tier timing wheel cell scheduler 102 includes a leaky bucket timing wheel 902 having a highest priority, an earliest deadline first timing wheel 904 having a middle priority and a best effort timing wheel 906 having a lowest priority. Three tier cell scheduler 102, a new time slot is calculated for the best effort timing wheel 906 that does not include the addition of the max delay 230, as shown in the following equation:
New time slot = MAX(timestamp + sustained interval, current time + peak interval), Figure 12 illustrates exemplary operations of the three tier timing wheel cell scheduler 102 starting at a block 1000. First checking whether a LCD is ready for transmission on the highest priority leaky bucket wheel is performed as indicated at a decision block 1002. If a LCD is ready for transmission on the highest priority leaky bucket wheel 902, then one cell is transmitted from the LCD on the leaky bucket timing wheel as indicated at a block 1004. Then the sequential operations return to the beginning at block 1000.
When a LCD is not ready for transmission on the highest priority leaky bucket wheel 902, then checking whether a LCD is ready for transmission on the middle priority earliest deadline first wheel 904 is performed as indicated at a decision block 1006. If a LCD is ready for transmission on the middle priority earliest deadline first timing wheel 904, then one cell is transmitted from the LCD on the earliest deadline first timing wheel 904 as indicated at a block 1008. Then the sequential operations return to the beginning at block 1000.
When a LCD is not ready for transmission on the middle priority earliest deadline first timing wheel 904, then checking whether a LCD is ready for transmission on the lowest priority best effort timing wheel 906 is performed as indicated at a decision block 1010. If a LCD is ready for transmission on the lowest priority best effort timing wheel 906, then one cell is transmitted from the LCD on the lowest priority best effort timing wheel 906 as indicated at a block 1012. When a LCD is not ready for transmission on the lowest priority best effort timing wheel 906 or after the cell is transmitted at block 1012, then the sequential operations return to the beginning at block 1000.
16

Claims (7)

1. A multiple tier cell scheduler for scheduling the transmission of cells of a plurality of data streams in a communications network comprising:
memory means for storing a corresponding data cell queue for each of the plurality of data streams; means for storing predetermined logical channel control parameter values for each data cell queue, means for calculating a target transmission time for each said data cell queue utilizing predetermined logical scheduling rate parameters of is each data stream; means responsive to each said calculated next target transmission time, for selecting a higher priority timing wheel, or a lower priority timing wheel, means for calculating a timing wheel time slot in said selected timing wheel, means for setting an active indication for said identified timing wheel time slot and means for storing an entry to point to said corresponding data cell queue for said identified timing wheel time slot; means for selecting a next data cell queue for transmission including means for identifying scheduling opportunities on said timing wheel and means, responsive to identified scheduling opportunities, for moving entries from said lower priority timing wheel to said higher priority timing wheel.
2. A scheduler as claimed in claim 1 wherein said higher priority timing wheel includes a higher priority leaky bucket timing wheel and wherein said lower priority timing wheel includes a lower priority earliest deadline first timing wheel.
3. A scheduler as claimed in claim 1 wherein said higher priority timing wheel includes a higher priority earliest deadline first timing wheel and wherein said lower priority timing wheel includes a lower priority best effort timing wheel.
4. A scheduler as claimed in claim 1 wherein said higher priority timing wheel includes a higher priority leaky bucket timing wheel and wherein said lower priority timing wheel includes a lower priority best effort timing wheel.
17
5. A scheduler as claimed in claim 1 further including a middle priority timing wheel.
6. A scheduler as claimed in claim 5 wherein said higher priority timing wheel includes a higher priority leaky bucket timing wheel, said middle priority timing wheel includes a earliest deadline first middle priority timing wheel, and said lower priority timing wheel includes a lower priority best effort timing wheel.
7. A scheduler as claimed in claim 6 further including means for defining scheduling opportunities on at least one of said higher priority leaky bucket timing wheel and said middle priority earliest deadline first timing wheel utilizing a predefined pseudo data cell queue; and wherein said means for calculating said target transmission time for each said data cell queue utilizing predetermined logical scheduling rate parameters of each data stream includes said predefined pseudo data cell queue, and said identified target transmission time for said predefined pseudo data cell queue defining scheduling opportunities of multiple lower priority best effort timing wheel time slots.
S. A multiple tier cell scheduler for scheduling the transmission of cells of a plurality of data streams in a communications network as claimed in claim 6 wherein said means for selecting a next data cell queue for transmission includes means for checking for said active indication in a current timing wheel time slot of said higher priority leaky bucket timing wheel; means, responsive to an absence of said active indication in said current frame, for reading a next frame and means for moving an entry from said lower priority best effort timing wheel to at least one of said higher priority leaky bucket timing wheel and said middle priority earliest deadline first timing wheel.
GB9928907A 1997-03-25 1998-03-05 An earliest deadline first communications cell scheduler Expired - Lifetime GB2341751B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/823,155 US6028843A (en) 1997-03-25 1997-03-25 Earliest deadline first communications cell scheduler and scheduling method for transmitting earliest deadline cells first
GB9804618A GB2324678B (en) 1997-03-25 1998-03-05 An earliest deadline first communications cell scheduler

Publications (3)

Publication Number Publication Date
GB9928907D0 GB9928907D0 (en) 2000-02-02
GB2341751A true GB2341751A (en) 2000-03-22
GB2341751B GB2341751B (en) 2000-08-09

Family

ID=26313220

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9928907A Expired - Lifetime GB2341751B (en) 1997-03-25 1998-03-05 An earliest deadline first communications cell scheduler

Country Status (1)

Country Link
GB (1) GB2341751B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2381406A (en) * 2001-10-24 2003-04-30 Ipwireless Inc Packet data queuing and processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0710046A2 (en) * 1994-10-31 1996-05-01 International Business Machines Corporation ATM cell Scheduler
US5535201A (en) * 1995-05-10 1996-07-09 Mitsubishi Electric Research Laboratories, Inc. Traffic shaping system using two dimensional timing chains
WO1997022195A1 (en) * 1995-12-14 1997-06-19 Cisco Systems, Inc. Multi-level rate scheduler
EP0817436A2 (en) * 1996-06-27 1998-01-07 Xerox Corporation Packet switched communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0710046A2 (en) * 1994-10-31 1996-05-01 International Business Machines Corporation ATM cell Scheduler
US5535201A (en) * 1995-05-10 1996-07-09 Mitsubishi Electric Research Laboratories, Inc. Traffic shaping system using two dimensional timing chains
WO1997022195A1 (en) * 1995-12-14 1997-06-19 Cisco Systems, Inc. Multi-level rate scheduler
EP0817436A2 (en) * 1996-06-27 1998-01-07 Xerox Corporation Packet switched communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2381406A (en) * 2001-10-24 2003-04-30 Ipwireless Inc Packet data queuing and processing
US7385994B2 (en) 2001-10-24 2008-06-10 Ipwireless, Inc. Packet data queuing and processing

Also Published As

Publication number Publication date
GB2341751B (en) 2000-08-09
GB9928907D0 (en) 2000-02-02

Similar Documents

Publication Publication Date Title
US6028843A (en) Earliest deadline first communications cell scheduler and scheduling method for transmitting earliest deadline cells first
US5844890A (en) Communications cell scheduler and scheduling method for providing proportional use of network bandwith
US6377583B1 (en) Rate shaping in per-flow output queued routing mechanisms for unspecified bit rate service
US6038217A (en) Rate shaping in per-flow output queued routing mechanisms for available bit rate (ABR) service in networks having segmented ABR control loops
US6064650A (en) Rate shaping in per-flow output queued routing mechanisms having output links servicing multiple physical layers
US5926459A (en) Rate shaping in per-flow queued routing mechanisms for available bit rate service
JP2001519120A (en) Hierarchical packet scheduling method and apparatus
US6526062B1 (en) System and method for scheduling and rescheduling the transmission of cell objects of different traffic types
EP0817433B1 (en) Packet switched communication system and traffic shaping process
Vickers et al. Congestion control and resource management in diverse ATM environments
US6542509B1 (en) Virtual path level fairness
EP0817431B1 (en) A packet switched communication system
Le Pocher et al. An efficient ATM voice service with flexible jitter and delay guarantees
GB2341751A (en) A multiple tier communications cell scheduler
Devalla et al. Adaptive connection admission control for mission critical real-time communication networks
EP0817432B1 (en) A packet switched communication system
Peha Scheduling and admission control for integrated-services networks: The priority token bank
Tse et al. Efficient distributed scheduling architecture for wireless atm networks
EP0817434A2 (en) A packet switched communication system and traffic shaping process
Chen et al. Hierarchical scheduling for multiple classes of applications in connection-oriented integrated-service networks
Minami et al. Design of buffer controller for flow-based high quality communications
Mammeri et al. Connection allocation schemes for guaranteeing hard real-time communications with ATM network
Wu Link-sharing method for ABR/UBR services in ATM networks
Le Pocher et al. An application‐and management‐based approach to ATM scheduling
Xie et al. An efficient network architecture motivated by application-level QoS

Legal Events

Date Code Title Description
746 Register noted 'licences of right' (sect. 46/1977)

Effective date: 20080228

PE20 Patent expired after termination of 20 years

Expiry date: 20180304