US7621162B2 - Hierarchical flow-characterizing multiplexor - Google Patents

Hierarchical flow-characterizing multiplexor Download PDF

Info

Publication number
US7621162B2
US7621162B2 US10/750,120 US75012003A US7621162B2 US 7621162 B2 US7621162 B2 US 7621162B2 US 75012003 A US75012003 A US 75012003A US 7621162 B2 US7621162 B2 US 7621162B2
Authority
US
United States
Prior art keywords
hierarchical
pdu
flow
gating
level
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.)
Expired - Fee Related, expires
Application number
US10/750,120
Other versions
US20050141427A1 (en
Inventor
Alan Keith Bartky
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.)
Alcatel Lucent SAS
Original Assignee
Alcatel Lucent SAS
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 to US10/750,120 priority Critical patent/US7621162B2/en
Application filed by Alcatel Lucent SAS filed Critical Alcatel Lucent SAS
Assigned to ALCATEL INTERNETWORKING, INC. reassignment ALCATEL INTERNETWORKING, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BARTKY, ALAN KEITH
Assigned to ALCATEL reassignment ALCATEL ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ALCATEL INTERNETWORKING, INC.
Priority to AT04029804T priority patent/ATE385366T1/en
Priority to DE200460011598 priority patent/DE602004011598D1/en
Priority to EP20040029804 priority patent/EP1551136B1/en
Publication of US20050141427A1 publication Critical patent/US20050141427A1/en
Assigned to ALCATEL LUCENT reassignment ALCATEL LUCENT CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: ALCATEL
Publication of US7621162B2 publication Critical patent/US7621162B2/en
Application granted granted Critical
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/31Flow control; Congestion control by tagging of packets, e.g. using discard eligibility [DE] bits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/60Software-defined switches
    • H04L49/602Multilayer or multiprotocol switching, e.g. IP switching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10TTECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION
    • Y10T70/00Locks
    • Y10T70/70Operating mechanism
    • Y10T70/7441Key
    • Y10T70/7763Key ejecting

Definitions

  • the invention generally relates to a technique for processing data flows in a packet switching device.
  • the invention relates to a system and method for multiplexing a plurality of data flows into a single output using hierarchical gating operations being preferred over hierarchical queues.
  • Network routers and multi-layer switches generally include a plurality of ports operatively coupled to communications links over which the switch or router exchanges packets with other network nodes.
  • a router or switch is adapted to transmit an inbound packet, received on a port, toward a destination reachable through any of the other ports.
  • the packets destined for an outbound port can be classified into a plurality of traffic flows in order to apply the appropriate processing and quality of service, for example.
  • a priority and/or weighted queue structure and output scheduler are typically employed to coordinate the processing and transmission of these flows in a manner that fairly allocates output bandwidth to the competing flows.
  • An example hierarchical queue structure 100 illustrated in FIG. 1 includes a plurality of packet buffers or queues organized into three levels of hierarchical data packet flows.
  • each individual queue 104 is associated with a single flow 110 identified by a classified mechanism in the router or switch.
  • the packets of the flows 110 are enqueued by an enqueuing function, temporarily buffered in a queue 104 , dequeued by a dequeue function associated with the queue 104 , processed in accordance with one or more processing operations 112 , and then mapped 114 - 116 into a second level of queues.
  • Each of the flows 120 at the second level of queues is buffered in an individual queue 105 - 107 while they await processing associated with the particular level. After being dequeued, the flows at the second level may undergo one or more processing operations 113 before being mapped 118 into a single flow at the third level of queues where the packets are buffered in the “final” queue 108 immediately prior to transmission from the egress port.
  • each individual packet is enqueued and dequeued into and out of multiple queues as it propagates from the first level of queues to the last.
  • the queue structure 100 may make a decision to continue to process the packet or discard it.
  • a packet may be discarded prior to being enqueued or after being dequeued where, for example, (a) the queue is full or nearly full; (b) the queue descriptors used to manage packets within the queue are empty or low; (c) the amount of data in a given time has exceeded maximum allotted storage for the flow being enqueued; (d) the time spent in queue exceeds the maximum allowable time; (e) a buffer pool is empty or low; or (f) the data destination line is down or otherwise inoperable.
  • a queue structure with multiple levels of hierarchical queues has a number of drawbacks.
  • the queue structures require (a) valuable system resources including system memory, (b) additional flow processing needed to make decisions whether to pass or discard a packet, and (c) significant processing time that increases latency, i.e., the time necessary for the packet to propagate through the data communications system.
  • queues consume a significant memory to (a) store queue descriptors, (b) support basic queue management for tracking head/tail pointers, the queue itself, and timers; and (c) retain queue state information including links relating hierarchical queues.
  • queue structures require a significant number of clock cycles to process the enqueue function and dequeue function for each of the plurality of queues.
  • the presence of hierarchical layers of queues in the prior art introduces additional processing inefficiencies.
  • the processing operations and enqueue/dequeue functions performed on behalf of a packet from the first to last queue level are associated with separate software code executed as separate tasks. For example, the initial task A 160 associated with a packet of flow 101 involves enqueueing the packet in first level queue 104 . The processor then goes off to perform some other task.
  • a second task B 161 checks the queue 104 and dequeues the packets for further processing.
  • third task C 162 and fourth task D 163 the process of separately enqueuing and dequeueing a packet is repeated for each packet at each level of the hierarchical-based queuing structure.
  • the act of performing consecutive tasks in a non-continuous fashion consumes significant processing time, thereby increasing the latency (i.e., signal delay) through the data communications system and reducing the time available to the CPU to perform other operations.
  • these queues take up significant space on the chip and a similar increased latency also applies.
  • the invention in its several embodiments features a method of multiplexing a plurality of data flows into a single output using hierarchical gating operations instead of queues.
  • the data flows generally comprise protocol data units (PDU) identified by a classification mechanism in a network switching device.
  • PDU protocol data units
  • the hierarchical multiplexing method Upon receipt of a PDU associated with one of a plurality of flows, the hierarchical multiplexing method in one embodiment sequentially processes the PDU at each of a plurality of hierarchical levels with processing that involves the steps of: characterizing the flow at the current hierarchical level, and gating the PDU wherein the PDU is either passed or discarded based upon the character of the flow at each level. If the PDU is passed at each of the hierarchical levels, the PDU is transmitted by the hierarchical flow-characterizing multiplex to the next downstream process, which may be an egress port or switch fabric, for example.
  • Gating refers to the application of discard control logic to decide whether to pass or discard a PDU.
  • the decision to discard or not is made for each packet at one or more hierarchical levels as a function of traffic parameters for the level and the state of the system.
  • the flows are characterized by a Three Color Marker (TCM) algorithm and the PDU passed or discarded by the gating operation depending, in part, on the color associated with the PDU by the TCM algorithm.
  • TCM Three Color Marker
  • the method of the preferred embodiment may be used by a router or multi-layer switch to process multiple data flows in a hierarchical fashion without a plurality of hierarchical queues.
  • Using a TCM algorithm instead of queues in this manner significantly reduces processing and memory requirements in packet or frame based systems while improving latency.
  • a PDU may be processed from input to output in a single computational “task,” thereby eliminating the piecemeal processing and the enqueue/dequeue functions associated with approaches commonly employed in the art.
  • PDU forwarding operations used to prepare a PDU for egress including addressing and virtual local area network (VLAN) stacking, may seamlessly be integrated into the processing steps performed at one or more hierarchical layers.
  • VLAN virtual local area network
  • FIG. 1 is a functional block diagram of a prior art queue structure with multiple levels of hierarchical queues
  • FIG. 2 is a functional block diagram of an example network switching device with which the invention may be implemented, according to the preferred embodiment
  • FIG. 3 is a functional block diagram of the hierarchical, flow-characterizing multiplexor for mapping a plurality of flows at the input into a single output, according to the preferred embodiment
  • FIG. 4 is a flowchart of the method for processing a packet with hierarchical gating, according to the preferred embodiment.
  • FIG. 5 is a diagram of a sequence of processes to which a packet is subject when propagating through the hierarchical, flow-characterizing multiplexor, according to the preferred embodiment.
  • FIG. 2 Illustrated in FIG. 2 is a functional block diagram of an example network switching device with which the invention may be implemented.
  • the switching device 200 in the preferred embodiment is adapted to perform switching and routing operations with protocol data units (PDUs) at layer 2 (Data Link Layer) and layer 3 (Network Layer) as defined in the Open Systems Interconnect (OSI) reference model.
  • PDUs protocol data units
  • the switching device 200 is preferably one of a plurality of switching devices operatively coupled to one another via a common switch fabric (not shown).
  • the switching devices are in turn operatively coupled to a plurality of nodes in a communication network embodied in a local area network (LAN), wide area network (WAN), metropolitan area network (MAN), or a combination thereof, for example.
  • LAN local area network
  • WAN wide area network
  • MAN metropolitan area network
  • the switching device 200 of the preferred embodiment generally comprises one or more ingress switch controllers 230 and one or more hierarchical flow-characterizing multiplexors (HFM) 240 operatively coupled to the network via a plurality of external ports 210 , each external port being operatively coupled to a communications link for purposes of receiving ingress data traffic and transmitting egress data traffic.
  • FAM hierarchical flow-characterizing multiplexors
  • traffic entering the switching device 200 at the ports 210 is referred to as ingress traffic while traffic exiting at a port 210 is referred to as egress traffic.
  • the ports 210 are preferably Ethernet-enabled media access control (MAC) interfaces enabled with Institute of Electrical and Electronics Engineers (IEEE) standard 802.3.
  • MAC Ethernet-enabled media access control
  • the PDUs of the ingress flow are conveyed between the plurality of ports 110 and ingress switch controller 230 via one or more internal data buses 220 .
  • the ingress switch controller 230 of the preferred embodiment generally includes a classifier and a forwarding processor.
  • the classifier parses ingress PDUs; extracts one or more fields from the PDUs including source or destination addresses, or both, protocol types, and priority information; and maps the PDUs to one of a set of flow categories based upon class of service (CoS) and or quality of service (QoS) policies, or both.
  • CoS class of service
  • QoS quality of service
  • the forwarding processor in some embodiments then prepares the PDUs of each flow for transmission, which may include identifying the appropriate egress port from which to transmit the PDU, identifying the next-hop physical address of an adjacent device to which the frame is to be forwarded, appending one or more VLAN tags, and encapsulating the PDU in a new Data Link Layer header.
  • the PDUs of the ingress flow are then transmitted by the ingress switch controller 230 to the switch fabric 250 .
  • the switching device 200 further includes an egress HFM 240 for processing egress traffic.
  • the egress HFM 240 in the preferred embodiment receives PDUs from the switch fabric 250 via an input channel 234 , performs various forms of hierarchical processing and hierarchical gating as a function of the flow and system resources, and buffers the PDUs immediately prior to transmission to the designated egress port among the plurality of ports 210 via the output channel 236 .
  • the HFM 240 obviates the need for a scheduler and complex hierarchical queuing employed in previous systems while substantially reducing the demands on computational resources required to perform egress processing.
  • FIG. 3 Illustrated in FIG. 3 is a functional block diagram of the hierarchical, flow-characterizing multiplexor 240 for mapping a plurality of flows 310 at the input into a single flow at the output 340 with minimal demands on processing and memory resources.
  • the PDUs of the flows generally undergo processing at each of the plurality of hierarchical levels before being enqueued at an egress queue 308 .
  • the PDUs of the flows may undergo processing used to condition the PDU for egress from the switching device 200 and or to regulate the flow in accordance with some flow parameters, the most notable of which is bandwidth.
  • each of the plurality of flows 310 at the first hierarchical level 350 is mapped into flow at the second hierarchical level 351 which is, in turn, mapped to the third hierarchical level 352 .
  • Each downstream flow generally represents the confluence of one or more upstream flows.
  • the plurality of flows 310 at the first level may be associated with inner tunnels that map into a plurality of outer tunnels represent by the downstream flows 320 at the second hierarchical level 351 .
  • the PDUs associated with the virtual paths are subsequently mapped into a single flow 330 that is direct to a final stage queue 308 prior to transmission from the HFM 240 output.
  • Hierarchical Forwarding Operations broadly include one or more procedures necessary to prepare each PDU for the next process in the hierarchy.
  • the cumulative affect of the hierarchical PDU forwarding processes prepare the PDU for transmission to the next post-HFM downstream entity, which may take the form of an egress port, a switch fabric, a network node, or a software routing, for example.
  • the PDU forwarding operations may encompass any number of processes and are highly dependent on the particular type of switch and its implementation.
  • each of the forwarding operations at one hierarchical level may involve the identification and insertion of an inner label while forwarding operations at the next level may involve the identification and insertion of an outer label.
  • forwarding operations at the next level may involve the identification and insertion of an outer label.
  • Gating operations generally include one or more decision-making operations used to regulate or otherwise conform the flow in accordance with a system parameter defined by the network administrator or by the inherent limitations of the switching device 200 , for example.
  • the gating operation includes bandwidth gating used to prevent a flow from exceeding a given number of bytes per unit of time.
  • a network service provider may limit a customer to a predefined flow rate specified in a service level agreement in order to prevent the customer from impacting the traffic of other customers.
  • the switching device 200 may drop PDUs of an inner tunnel 310 at the first hierarchical level 350 , drop PDUs of an outer tunnel 320 at the second hierarchical level 351 , and or drop PDUs at the third hierarchical level 352 to limit the rate of transmission from the egress port.
  • srTCM single rate Three Color Marking
  • trTCM two rate Three Color Marking
  • the first, srTCM is defined in Internet Engineering Task Force (IETF) Request for Comment (RFC) 2697, and trTCM defined in IETF RFC 2698.
  • IETF Internet Engineering Task Force
  • RFC Request for Comment
  • trTCM defined in IETF RFC 2698.
  • Either TCM algorithm described in these standards may be used alone or in combination to augment other decision-making processes in the switch responsible for determining if and when to discard packets.
  • the HFM 240 employs a plurality of measure/mark modules (MM) 312 to measure how much data is flowing per given time period and, based on that measurement, classify the packet into one of three categories referred to by those skilled in the art as “colors,” namely green, yellow, and red.
  • the color associated with a PDU is determined as a function of traffic parameters defined for each flows.
  • the traffic parameters in srTCM include a committed information rate (CIR) and two associated burst sizes, namely a committed burst size (CBS) and an excess burst size (EBS).
  • a MM 312 , 322 , 332 evaluates the flow in accordance with srTCM to determine which mark to apply. If the PDU does not exceed the CBS, a green marker is applied to indicate that the PDU should be delivered unless, for example, a port is down. A PDU that is part of a flow that exceeds both the CIR and EBS is marked red and immediately discarded. If the PDU exceeds the CBS but not the EBS, a yellow marker is associated with the PDU to signify that the PDU may be delivered as long as there is system resources or queuing resources to do so. Although a yellow PDU may be discarded depending on the availability of system resources, it must always be dropped before a green PDU is dropped. The PDU may be marked using a protocol-specific field or a non-protocol marking when not supported by the protocol.
  • a plurality of discard control logic (DCL) units 313 , 323 , 333 are used downstream of an associated MM to selectively drop PDUs as needed.
  • each DCL 313 at the first hierarchical level 350 is adapted to inspect the mark on each PDU, or PDU descriptor, of the associated flow 310 and serve as a gatekeeper by either dropping or passing the PDU.
  • generally all green PDUs and potentially one or more yellow PDUs are passed to one or more HFO 313 , each HFO 313 being defined as a function of the specific flow and level.
  • the green and yellow packets of the first level 350 flows passed by the DCL 313 are then mapped by multiplexors 114 , 115 , 116 into a plurality of secondary flows at the second hierarchical level 351 .
  • the mapping represented by the multiplexors 114 , 115 , 116 may be implemented using linked lists or other system of pointers, for example.
  • the PDUs of the flows 320 at the second level 351 are subjected to additional gating and forwarding operations.
  • an MM 322 operating in a color-blind mode applies a color to the PDUs of the flows 320 based upon traffic parameters specific to those second level 351 flows 320 .
  • one or more MM 322 may be configured to operate in a color-aware mode in which the color applied by a preceding entity is left undisturbed.
  • the PDUs are tagged with green, yellow, or red markers depending on the CIR, CBS, and EBS associated with the flow 320 . As described above, red packets are immediately dropped while yellow packets are passed or discarded depending on resource availability at the switching device 200 .
  • Discard of one or more yellow PDUs may be necessary to the extent that system resources are insufficient to support burst traffic in excess of the CIR but less than CBS for a flow 320 prescribed by the customer's service level agreement.
  • the green and yellow PDUs not discarded are then processed in accordance with HFO 324 .
  • the plurality of flows from the second hierarchical level 351 are then mapped by multiplexor 118 into a single flow 330 at the third hierarchical level 352 .
  • the third level flow 330 is subjected to additional gating at DCL 333 , which may be employed to regulate the output flow of PDUs currently buffered by the queue 308 and minimize the probability of green packets being lost due to tail drop, for example.
  • the output 340 of queue 308 may then be transmitted to an egress port or other processing entity.
  • Illustrated in FIG. 4 is a flowchart of the method for processing an egress packet using hierarchical gating.
  • Illustrated in FIG. 5 is a diagram of a sequence of processes to which a packet is subject when propagating through the HFM 240 .
  • the HFM 240 receives (step 402 ) the input flow 310 previously classified by an upstream process such as a switch controller.
  • the packet is subjected to processing in accordance with the first hierarchical level of a plurality of hierarchical levels.
  • the HFM 240 characterizes (step 406 ) the flow associated with the PDU in order to qualitatively assess the flow and the need for subsequent gating. If the srTCM algorithm is employed, the flow is characterized in accordance with the CIR, CBS, and EBS traffic parameters 502 provided (step 408 ) by the switch controller 200 via the flow control 232 . Depending on traffic rate for the particular flow at the current hierarchical level, the packet is categorized into one of the three colors at the MM 312 by marking the packet, or an associated packet descriptor, with the applicable color.
  • the packet is subjected to gating (step 410 ).
  • the DCL 313 associated with the current hierarchical level is applied. If the PDU is colored red, the discard testing (step 412 ) is answered in the affirmative and the packet immediately discarded ( 414 ), preferably by transmitting the packet or its descriptor to a discard queue 510 . A packet colored yellow may also be discarded by DCL 313 depending on system state variables indicating the level of congestion, for example. If not dropped, the discard testing (step 412 ) is answered in the negative and the packet passed. In some embodiments, the packet is subjected to one or more hierarchical forwarding operations 314 (step 416 ).
  • the HFOs are generally specific to the flow and to the hierarchical level. Forwarding operations may include, for example, MPLS label addressing, VLAN header encapsulation referred to by those skilled in the art as VLAN stacking, or multi-layer encapsulation associated with a protocol stack.
  • egress protocol stack for example, flows at the transport level comprising transport control protocol (TCP) and User Datagram Protocol (UDP) segments may be mapped initially into IP protocol at the first hierarchical level, followed by a second hierarchical layer for multiple network level protocol processing such as IP, Internetwork Packet exchange (IPX), or Systems Network Architecture (SNA) encapsulation.
  • TCP transport control protocol
  • UDP User Datagram Protocol
  • IPX Internetwork Packet exchange
  • SNA Systems Network Architecture
  • the packet then maps or otherwise proceeds to the next hierarchical level of processing. Unless the current hierarchical level is the last level, the last level testing (step 418 ) is answered in the negative and the current level advanced upon retrieval of the next level (step 420 ).
  • the HFM 240 In the process of getting the next level (step 420 ), the HFM 240 generally retrieves level-specific control information including MPLS address and path information or the packet's srTCM parameters, for example.
  • the second flow 320 which represents the confluence of a plurality of logically related first level flows, is characterized based upon new traffic parameters 504 (step 408 ).
  • the second level traffic parameters 504 include CIR, CBS, and EBS values transmitted to the HFM 240 via flow control 232 .
  • the MM 322 marks (step 406 ) the packet in accordance with the characterization, the DCL 323 transmits or discards (step 410 ) the packet as a function of the mark, and one or more hierarchical forwarding operations 324 further prepare (step 416 ) the packet for the next downstream process.
  • the packet process described above is repeated for any subsequent hierarchical levels until the last hierarchical level, e.g. third hierarchical level 352 , is reached.
  • the packet is subjected to a final MM 332 using traffic parameters 506 and, if not discarded by DCL 333 , is subsequently buffered at the output queue 308 .
  • An enqueue function commits the packet to the output queue 308 where it remains until a separate dequeue function, signified by task B 163 , transmits the packet 340 from an egress port 210 , into a switch fabric, or other processing entity.
  • Packets subsequent received by the HFM 240 may be processed from input 310 to final the queuing 308 in the manner described above.
  • the packet processing can be perform packet sequentially from one hierarchical level to the next without delay, intervention, or interruption. As such, all levels may be continuously processed in a single task E 370 from the point where the packet is received by the HFM 240 to the point of the final queue 308 . This is in sharp contrast to other approaches in the art where the enqueue and dequeue functions associated with a myriad of queues cause hierarchical forwarding processes to be performed in a piecemeal fashion while consuming substantial computational resources.

Abstract

A method of multiplexing a plurality of data flows into a single output using hierarchical gating operations instead of queues is disclosed. In the preferred embodiment, the hierarchical multiplexing method comprises sequentially processing a packet at each of a plurality of hierarchical levels by characterizing the flow at each hierarchical level and either passing or discarding the packet. The decision whether to pass or discard a packet is generally made for each packet at one or more hierarchical levels based on traffic parameters and the state of the system such as congestion. In the preferred embodiment, a Three Color Marker algorithm is used to characterize the flow and mark packets subjecting to the discard decision. The invention may be used by a router or multi-layer switch to process multiple data flows in a hierarchical fashion without hierarchical queues, thereby reducing processing and memory requirements.

Description

FIELD OF INVENTION
The invention generally relates to a technique for processing data flows in a packet switching device. In particular, the invention relates to a system and method for multiplexing a plurality of data flows into a single output using hierarchical gating operations being preferred over hierarchical queues.
BACKGROUND
Network routers and multi-layer switches generally include a plurality of ports operatively coupled to communications links over which the switch or router exchanges packets with other network nodes. A router or switch is adapted to transmit an inbound packet, received on a port, toward a destination reachable through any of the other ports. Inside the router or switch, the packets destined for an outbound port can be classified into a plurality of traffic flows in order to apply the appropriate processing and quality of service, for example. A priority and/or weighted queue structure and output scheduler are typically employed to coordinate the processing and transmission of these flows in a manner that fairly allocates output bandwidth to the competing flows.
An example hierarchical queue structure 100 illustrated in FIG. 1 includes a plurality of packet buffers or queues organized into three levels of hierarchical data packet flows. At the first level of queues 101-103, each individual queue 104 is associated with a single flow 110 identified by a classified mechanism in the router or switch. The packets of the flows 110 are enqueued by an enqueuing function, temporarily buffered in a queue 104, dequeued by a dequeue function associated with the queue 104, processed in accordance with one or more processing operations 112, and then mapped 114-116 into a second level of queues. Each of the flows 120 at the second level of queues is buffered in an individual queue 105-107 while they await processing associated with the particular level. After being dequeued, the flows at the second level may undergo one or more processing operations 113 before being mapped 118 into a single flow at the third level of queues where the packets are buffered in the “final” queue 108 immediately prior to transmission from the egress port.
In the hierarchical queue structure 100, each individual packet is enqueued and dequeued into and out of multiple queues as it propagates from the first level of queues to the last. At any given enqueue or dequeue point, the queue structure 100 may make a decision to continue to process the packet or discard it. A packet may be discarded prior to being enqueued or after being dequeued where, for example, (a) the queue is full or nearly full; (b) the queue descriptors used to manage packets within the queue are empty or low; (c) the amount of data in a given time has exceeded maximum allotted storage for the flow being enqueued; (d) the time spent in queue exceeds the maximum allowable time; (e) a buffer pool is empty or low; or (f) the data destination line is down or otherwise inoperable.
A queue structure with multiple levels of hierarchical queues has a number of drawbacks. The queue structures require (a) valuable system resources including system memory, (b) additional flow processing needed to make decisions whether to pass or discard a packet, and (c) significant processing time that increases latency, i.e., the time necessary for the packet to propagate through the data communications system. With respect to system memory, queues consume a significant memory to (a) store queue descriptors, (b) support basic queue management for tracking head/tail pointers, the queue itself, and timers; and (c) retain queue state information including links relating hierarchical queues.
With respect to processing resources, queue structures require a significant number of clock cycles to process the enqueue function and dequeue function for each of the plurality of queues. Contributing to the burden imposed on the processing resources, the presence of hierarchical layers of queues in the prior art introduces additional processing inefficiencies. In particular, the processing operations and enqueue/dequeue functions performed on behalf of a packet from the first to last queue level are associated with separate software code executed as separate tasks. For example, the initial task A 160 associated with a packet of flow 101 involves enqueueing the packet in first level queue 104. The processor then goes off to perform some other task. At a later point in time, a second task B 161 checks the queue 104 and dequeues the packets for further processing. As represented by third task C 162 and fourth task D 163, the process of separately enqueuing and dequeueing a packet is repeated for each packet at each level of the hierarchical-based queuing structure. For software based systems, the act of performing consecutive tasks in a non-continuous fashion consumes significant processing time, thereby increasing the latency (i.e., signal delay) through the data communications system and reducing the time available to the CPU to perform other operations. For silicon based systems, these queues take up significant space on the chip and a similar increased latency also applies.
There is therefore a need for a technique to map multiple flows to a single output while reducing the computational and data storage burdens imposed on system resources associated with enqueuing and dequeuing functions.
SUMMARY
The invention in its several embodiments features a method of multiplexing a plurality of data flows into a single output using hierarchical gating operations instead of queues. The data flows generally comprise protocol data units (PDU) identified by a classification mechanism in a network switching device. Upon receipt of a PDU associated with one of a plurality of flows, the hierarchical multiplexing method in one embodiment sequentially processes the PDU at each of a plurality of hierarchical levels with processing that involves the steps of: characterizing the flow at the current hierarchical level, and gating the PDU wherein the PDU is either passed or discarded based upon the character of the flow at each level. If the PDU is passed at each of the hierarchical levels, the PDU is transmitted by the hierarchical flow-characterizing multiplex to the next downstream process, which may be an egress port or switch fabric, for example.
Gating as used herein refers to the application of discard control logic to decide whether to pass or discard a PDU. The decision to discard or not is made for each packet at one or more hierarchical levels as a function of traffic parameters for the level and the state of the system. In the preferred embodiment, the flows are characterized by a Three Color Marker (TCM) algorithm and the PDU passed or discarded by the gating operation depending, in part, on the color associated with the PDU by the TCM algorithm.
The method of the preferred embodiment may be used by a router or multi-layer switch to process multiple data flows in a hierarchical fashion without a plurality of hierarchical queues. Using a TCM algorithm instead of queues in this manner significantly reduces processing and memory requirements in packet or frame based systems while improving latency. For example, a PDU may be processed from input to output in a single computational “task,” thereby eliminating the piecemeal processing and the enqueue/dequeue functions associated with approaches commonly employed in the art. In addition, PDU forwarding operations used to prepare a PDU for egress, including addressing and virtual local area network (VLAN) stacking, may seamlessly be integrated into the processing steps performed at one or more hierarchical layers.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is illustrated by way of example and not limitation in the figures of the accompanying drawings, and in which:
FIG. 1 is a functional block diagram of a prior art queue structure with multiple levels of hierarchical queues;
FIG. 2 is a functional block diagram of an example network switching device with which the invention may be implemented, according to the preferred embodiment;
FIG. 3 is a functional block diagram of the hierarchical, flow-characterizing multiplexor for mapping a plurality of flows at the input into a single output, according to the preferred embodiment;
FIG. 4 is a flowchart of the method for processing a packet with hierarchical gating, according to the preferred embodiment; and
FIG. 5 is a diagram of a sequence of processes to which a packet is subject when propagating through the hierarchical, flow-characterizing multiplexor, according to the preferred embodiment.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Illustrated in FIG. 2 is a functional block diagram of an example network switching device with which the invention may be implemented. The switching device 200 in the preferred embodiment is adapted to perform switching and routing operations with protocol data units (PDUs) at layer 2 (Data Link Layer) and layer 3 (Network Layer) as defined in the Open Systems Interconnect (OSI) reference model. The switching device 200 is preferably one of a plurality of switching devices operatively coupled to one another via a common switch fabric (not shown). The switching devices are in turn operatively coupled to a plurality of nodes in a communication network embodied in a local area network (LAN), wide area network (WAN), metropolitan area network (MAN), or a combination thereof, for example.
The switching device 200 of the preferred embodiment generally comprises one or more ingress switch controllers 230 and one or more hierarchical flow-characterizing multiplexors (HFM) 240 operatively coupled to the network via a plurality of external ports 210, each external port being operatively coupled to a communications link for purposes of receiving ingress data traffic and transmitting egress data traffic. As used herein, traffic entering the switching device 200 at the ports 210 is referred to as ingress traffic while traffic exiting at a port 210 is referred to as egress traffic. The ports 210 are preferably Ethernet-enabled media access control (MAC) interfaces enabled with Institute of Electrical and Electronics Engineers (IEEE) standard 802.3.
The PDUs of the ingress flow are conveyed between the plurality of ports 110 and ingress switch controller 230 via one or more internal data buses 220. The ingress switch controller 230 of the preferred embodiment generally includes a classifier and a forwarding processor. The classifier: parses ingress PDUs; extracts one or more fields from the PDUs including source or destination addresses, or both, protocol types, and priority information; and maps the PDUs to one of a set of flow categories based upon class of service (CoS) and or quality of service (QoS) policies, or both. The forwarding processor in some embodiments then prepares the PDUs of each flow for transmission, which may include identifying the appropriate egress port from which to transmit the PDU, identifying the next-hop physical address of an adjacent device to which the frame is to be forwarded, appending one or more VLAN tags, and encapsulating the PDU in a new Data Link Layer header. The PDUs of the ingress flow are then transmitted by the ingress switch controller 230 to the switch fabric 250.
In addition to the switch controller 230 for ingress processing, the switching device 200 further includes an egress HFM 240 for processing egress traffic. The egress HFM 240 in the preferred embodiment receives PDUs from the switch fabric 250 via an input channel 234, performs various forms of hierarchical processing and hierarchical gating as a function of the flow and system resources, and buffers the PDUs immediately prior to transmission to the designated egress port among the plurality of ports 210 via the output channel 236. As discussed in greater detail below, the HFM 240 obviates the need for a scheduler and complex hierarchical queuing employed in previous systems while substantially reducing the demands on computational resources required to perform egress processing.
Illustrated in FIG. 3 is a functional block diagram of the hierarchical, flow-characterizing multiplexor 240 for mapping a plurality of flows 310 at the input into a single flow at the output 340 with minimal demands on processing and memory resources. The PDUs of the flows generally undergo processing at each of the plurality of hierarchical levels before being enqueued at an egress queue 308. In the preferred embodiment, there are three hierarchical levels, across task E 370, coinciding with the regions defined by brackets 350-352. At each level 350-352, the PDUs of the flows may undergo processing used to condition the PDU for egress from the switching device 200 and or to regulate the flow in accordance with some flow parameters, the most notable of which is bandwidth.
In the preferred embodiment, each of the plurality of flows 310 at the first hierarchical level 350 is mapped into flow at the second hierarchical level 351 which is, in turn, mapped to the third hierarchical level 352. Each downstream flow generally represents the confluence of one or more upstream flows. In a Multiprotocol Label Switching (MPLS) environment, for example, the plurality of flows 310 at the first level may be associated with inner tunnels that map into a plurality of outer tunnels represent by the downstream flows 320 at the second hierarchical level 351. The PDUs associated with the virtual paths are subsequently mapped into a single flow 330 that is direct to a final stage queue 308 prior to transmission from the HFM 240 output.
At each hierarchical level 350-352, the flows are generally subjected to a one or more egress processing routines. In the preferred embodiment, the processing routines fall into two course categories, namely hierarchical forwarding operations and gating operations. Hierarchical Forwarding Operations (HFO) broadly include one or more procedures necessary to prepare each PDU for the next process in the hierarchy. The cumulative affect of the hierarchical PDU forwarding processes prepare the PDU for transmission to the next post-HFM downstream entity, which may take the form of an egress port, a switch fabric, a network node, or a software routing, for example. The PDU forwarding operations may encompass any number of processes and are highly dependent on the particular type of switch and its implementation. In an MPLS environment, for example, each of the forwarding operations at one hierarchical level may involve the identification and insertion of an inner label while forwarding operations at the next level may involve the identification and insertion of an outer label. One skilled in the art will recognize that any number of other forwarding operations may be employed at one or more hierarchical levels and that this invention is not restricted to MPLS.
Gating operations generally include one or more decision-making operations used to regulate or otherwise conform the flow in accordance with a system parameter defined by the network administrator or by the inherent limitations of the switching device 200, for example. In the preferred embodiment, the gating operation includes bandwidth gating used to prevent a flow from exceeding a given number of bytes per unit of time. In an MPLS switching context, for example, a network service provider may limit a customer to a predefined flow rate specified in a service level agreement in order to prevent the customer from impacting the traffic of other customers. To enforce the service level agreement, the switching device 200 may drop PDUs of an inner tunnel 310 at the first hierarchical level 350, drop PDUs of an outer tunnel 320 at the second hierarchical level 351, and or drop PDUs at the third hierarchical level 352 to limit the rate of transmission from the egress port.
Two representative bandwidth gating operations that are particularly well suited for the preferred embodiment include the single rate Three Color Marking (srTCM) algorithm and the two rate Three Color Marking (trTCM) algorithm. The first, srTCM, is defined in Internet Engineering Task Force (IETF) Request for Comment (RFC) 2697, and trTCM defined in IETF RFC 2698. Either TCM algorithm described in these standards may be used alone or in combination to augment other decision-making processes in the switch responsible for determining if and when to discard packets. To implement the srTCM algorithm, for example, the HFM 240 employs a plurality of measure/mark modules (MM) 312 to measure how much data is flowing per given time period and, based on that measurement, classify the packet into one of three categories referred to by those skilled in the art as “colors,” namely green, yellow, and red. The color associated with a PDU is determined as a function of traffic parameters defined for each flows. The traffic parameters in srTCM include a committed information rate (CIR) and two associated burst sizes, namely a committed burst size (CBS) and an excess burst size (EBS).
In general, a MM 312, 322, 332 evaluates the flow in accordance with srTCM to determine which mark to apply. If the PDU does not exceed the CBS, a green marker is applied to indicate that the PDU should be delivered unless, for example, a port is down. A PDU that is part of a flow that exceeds both the CIR and EBS is marked red and immediately discarded. If the PDU exceeds the CBS but not the EBS, a yellow marker is associated with the PDU to signify that the PDU may be delivered as long as there is system resources or queuing resources to do so. Although a yellow PDU may be discarded depending on the availability of system resources, it must always be dropped before a green PDU is dropped. The PDU may be marked using a protocol-specific field or a non-protocol marking when not supported by the protocol.
In the preferred embodiment, a plurality of discard control logic (DCL) units 313, 323, 333 are used downstream of an associated MM to selectively drop PDUs as needed. For example, each DCL 313 at the first hierarchical level 350 is adapted to inspect the mark on each PDU, or PDU descriptor, of the associated flow 310 and serve as a gatekeeper by either dropping or passing the PDU. As described above, generally all green PDUs and potentially one or more yellow PDUs are passed to one or more HFO 313, each HFO 313 being defined as a function of the specific flow and level. The green and yellow packets of the first level 350 flows passed by the DCL 313 are then mapped by multiplexors 114, 115, 116 into a plurality of secondary flows at the second hierarchical level 351. The mapping represented by the multiplexors 114, 115, 116 may be implemented using linked lists or other system of pointers, for example.
In the preferred embodiment, the PDUs of the flows 320 at the second level 351 are subjected to additional gating and forwarding operations. In particular, an MM 322 operating in a color-blind mode applies a color to the PDUs of the flows 320 based upon traffic parameters specific to those second level 351 flows 320. In some embodiments, one or more MM 322 may be configured to operate in a color-aware mode in which the color applied by a preceding entity is left undisturbed. The PDUs are tagged with green, yellow, or red markers depending on the CIR, CBS, and EBS associated with the flow 320. As described above, red packets are immediately dropped while yellow packets are passed or discarded depending on resource availability at the switching device 200. Discard of one or more yellow PDUs may be necessary to the extent that system resources are insufficient to support burst traffic in excess of the CIR but less than CBS for a flow 320 prescribed by the customer's service level agreement. The green and yellow PDUs not discarded are then processed in accordance with HFO 324.
The plurality of flows from the second hierarchical level 351 are then mapped by multiplexor 118 into a single flow 330 at the third hierarchical level 352. In the preferred embodiment, the third level flow 330 is subjected to additional gating at DCL 333, which may be employed to regulate the output flow of PDUs currently buffered by the queue 308 and minimize the probability of green packets being lost due to tail drop, for example. The output 340 of queue 308 may then be transmitted to an egress port or other processing entity.
Illustrated in FIG. 4 is a flowchart of the method for processing an egress packet using hierarchical gating. Illustrated in FIG. 5 is a diagram of a sequence of processes to which a packet is subject when propagating through the HFM 240. Referring to FIG. 4 and FIG. 5 together, the HFM 240 receives (step 402) the input flow 310 previously classified by an upstream process such as a switch controller. Upon receipt, the packet is subjected to processing in accordance with the first hierarchical level of a plurality of hierarchical levels. At the first hierarchical level 350 determined by a level initialization (step 404), the HFM 240 characterizes (step 406) the flow associated with the PDU in order to qualitatively assess the flow and the need for subsequent gating. If the srTCM algorithm is employed, the flow is characterized in accordance with the CIR, CBS, and EBS traffic parameters 502 provided (step 408) by the switch controller 200 via the flow control 232. Depending on traffic rate for the particular flow at the current hierarchical level, the packet is categorized into one of the three colors at the MM 312 by marking the packet, or an associated packet descriptor, with the applicable color.
After the PDU is marked, the packet is subjected to gating (step 410). In particular, the DCL 313 associated with the current hierarchical level is applied. If the PDU is colored red, the discard testing (step 412) is answered in the affirmative and the packet immediately discarded (414), preferably by transmitting the packet or its descriptor to a discard queue 510. A packet colored yellow may also be discarded by DCL 313 depending on system state variables indicating the level of congestion, for example. If not dropped, the discard testing (step 412) is answered in the negative and the packet passed. In some embodiments, the packet is subjected to one or more hierarchical forwarding operations 314 (step 416). The HFOs are generally specific to the flow and to the hierarchical level. Forwarding operations may include, for example, MPLS label addressing, VLAN header encapsulation referred to by those skilled in the art as VLAN stacking, or multi-layer encapsulation associated with a protocol stack. To implement an egress protocol stack, for example, flows at the transport level comprising transport control protocol (TCP) and User Datagram Protocol (UDP) segments may be mapped initially into IP protocol at the first hierarchical level, followed by a second hierarchical layer for multiple network level protocol processing such as IP, Internetwork Packet exchange (IPX), or Systems Network Architecture (SNA) encapsulation.
The packet then maps or otherwise proceeds to the next hierarchical level of processing. Unless the current hierarchical level is the last level, the last level testing (step 418) is answered in the negative and the current level advanced upon retrieval of the next level (step 420). In the process of getting the next level (step 420), the HFM 240 generally retrieves level-specific control information including MPLS address and path information or the packet's srTCM parameters, for example. At the second hierarchical level 351, the second flow 320, which represents the confluence of a plurality of logically related first level flows, is characterized based upon new traffic parameters 504 (step 408). In the case of srTCM, the second level traffic parameters 504 include CIR, CBS, and EBS values transmitted to the HFM 240 via flow control 232. The MM 322 then marks (step 406) the packet in accordance with the characterization, the DCL 323 transmits or discards (step 410) the packet as a function of the mark, and one or more hierarchical forwarding operations 324 further prepare (step 416) the packet for the next downstream process.
The packet process described above is repeated for any subsequent hierarchical levels until the last hierarchical level, e.g. third hierarchical level 352, is reached. In the preferred embodiment, the packet is subjected to a final MM 332 using traffic parameters 506 and, if not discarded by DCL 333, is subsequently buffered at the output queue 308. An enqueue function commits the packet to the output queue 308 where it remains until a separate dequeue function, signified by task B 163, transmits the packet 340 from an egress port 210, into a switch fabric, or other processing entity. Packets subsequent received by the HFM 240 may be processed from input 310 to final the queuing 308 in the manner described above.
One skilled in the art will appreciate that in the absence of hierarchical queues or scheduling delays, the packet processing can be perform packet sequentially from one hierarchical level to the next without delay, intervention, or interruption. As such, all levels may be continuously processed in a single task E 370 from the point where the packet is received by the HFM 240 to the point of the final queue 308. This is in sharp contrast to other approaches in the art where the enqueue and dequeue functions associated with a myriad of queues cause hierarchical forwarding processes to be performed in a piecemeal fashion while consuming substantial computational resources.
Although the description above contains many specifications, these should not be construed as limiting the scope of the invention but as merely providing illustrations of some of the presently preferred embodiments of this invention.
Therefore, the invention has been disclosed by way of example and not limitation, and reference should be made to the following claims to determine the scope of the present invention.

Claims (21)

1. A hierarchical multiplexing method comprising the steps of:
receiving a protocol data unit (PDU) associated with one of a plurality of flows;
sequentially processing the PDU at each of a plurality of hierarchical levels, said processing at each of the plurality of hierarchical levels consisting of: characterizing the flow at a current hierarchical level;
gating the PDU wherein the PDU is either passed or dropped based upon the character of the flow at the current level, wherein the gating includes applying a color to the PDUs of the flows based upon traffic parameters specific to those flows at a second hierarchical level characterizing the flow at the current hierarchical level;
additionally gating the PDU based upon the character of the flow at the second hierarchical level, wherein the additional gating includes employing a plurality of measure/mark modules to measure how much data is flowing per given time period; and
outputting the gated PDU and the additionally gated PDU in a single stream via a hierarchical multiplexor if the PDU is passed at each of the plurality of hierarchical levels.
2. The hierarchical multiplexing method of claim 1, wherein the plurality of hierarchical levels comprises a last hierarchical level, wherein the step of sequentially processing the PDU at the last hierarchical level comprises the step of queuing the PDU.
3. The hierarchical multiplexing method of claim 2, wherein the step of queuing the PDU comprises the step of buffering the PDU at an egress queue associated with an egress port of a network switching device.
4. The hierarchical multiplexing method of claim 2, wherein the step of queuing the PDU comprises the step of buffering the PDU preceding transmission to a switch fabric.
5. The hierarchical multiplexing method of claim 1, wherein the step of sequentially processing the PDU at one or more hierarchical levels comprises performing one or more forwarding operations.
6. The hierarchical multiplexing method of claim 5, wherein the one or more forwarding operations comprise appending an address to the PDU.
7. The hierarchical multiplexing method of claim 6, wherein the appending of an address to the PDU comprises the steps of: appending a virtual circuit identifier at a first hierarchical level; and appending a virtual path identifier at a second hierarchical level.
8. The hierarchical multiplexing method of claim 5, wherein the one or more forwarding operations comprises appending one or more virtual local area network (VLAN) tags at one or more hierarchical levels.
9. The hierarchical multiplexing method of claim 1, wherein: characterizing comprises the step of measuring a flow rate for the flow associated with the PDU based on a current hierarchical level; and gating comprises the step of discarding the PDU if it exceeds a maximum bandwidth parameter.
10. The hierarchical multiplexing method of claim 1, wherein the gating comprises the steps of: associating with the PDU a color marker using a three color marker algorithm; and applying discard control logic to selectively discard the PDU based upon the color marker.
11. A hierarchical multiplexing method comprising the steps of:
receiving a protocol data unit (PDU) associated with one of a plurality of flows;
sequentially processing the PDU at each of three or more hierarchical levels, said processing at each of the hierarchical levels comprising the step of gating the PDU characterizing the flow at a current hierarchical level;
additionally gating the PDU based upon the character of the flow at the second hierarchical level, wherein the additional gating includes employing a plurality of measure/mark modules to measure how much data is flowing per given time period;
mapping the a plurality of flows between each of the hierarchical levels;
applying a color to the PDUs of the flows based upon traffic parameters specific to those flows at a second hierarchical level; and
outputting the gated PDU and the additionally gated PDU in a single stream via the hierarchical multiplexor if the PDU is passed at each of the plurality of hierarchical levels.
12. A packet processing method comprising the steps of:
receiving a protocol data unit (PDU) associated with one of a plurality of flows;
sequentially processing the PDU at each of a plurality of hierarchical levels, said processing at each of the plurality of hierarchical levels consisting of:
characterizing the flow at a current hierarchical level;
gating the PDU based upon the character of the flow at the current hierarchical level, wherein the gating includes applying a color to the PDUs of the flows based upon traffic parameters specific to those flows at a second hierarchical level;
additionally gating the PDU based upon the character of the flow at the second hierarchical level, wherein the additional gating includes employing a plurality of measure/mark modules to measure how much data is flowing per given time period; and
outputting the gated PDU and the additionally gated PDU in a single stream via a hierarchical multiplexor if the PDU is passed at each of the plurality of hierarchical levels.
13. A hierarchical multiplexor comprising:
an input channel for receiving a protocol data unit (PDU) associated with one of a plurality of flows;
a plurality of hierarchical levels, each hierarchical level consisting of:
means for characterizing the flow at the hierarchical level;
means for gating the PDU based upon the character of the flow at the hierarchical level, wherein the gating includes applying a color to the PDUs of the flows based upon traffic parameters specific to those flows at a second hierarchical level;
means for additionally gating the PDU based upon the character of the flow at the second hierarchical level, wherein the additional gating includes employing a plurality of measure/mark modules to measure how much data is flowing per given time period; and
means for mapping the PDU to a flow at the next hierarchical level; and
an output channel for transmitting the gated PDU and the additionally gated PDU in a single stream via the hierarchical multiplexor if the PDU is passed at each of the plurality of hierarchical levels.
14. The hierarchical multiplexor of claim 13, wherein one or more of the plurality of hierarchical levels further consists of means for performing forwarding operations associated with the PDU.
15. The hierarchical multiplexor of claim 14, wherein the hierarchical multiplexor further comprises a last hierarchical level comprising: means for characterizing the flow at the last hierarchical level; and means for gating the PDU based upon the character of the flow at the last hierarchical level.
16. The hierarchical multiplexor of claim 15, wherein the last hierarchical level further comprises a queue for buffering the PDU at the output channel.
17. The hierarchical multiplexor of claim 14, wherein the means for characterizing the flow comprises a meter for measuring the flow rate of the flow associated with the PDU.
18. The hierarchical multiplexor of claim 17, wherein the means for gating the PDU comprises means for discarding the PDU depending on the flow rate.
19. The hierarchical multiplexor of claim 17, wherein the means for characterizing the flow further comprises a marker module for marking the PDU in accordance with a Three-Color Marker (TCM) algorithm.
20. The hierarchical multiplexor of claim 19, wherein the means for gating the PDU comprises means for discarding the PDU in accordance with the TCM algorithm.
21. A hierarchical multiplexor for processing a protocol data unit (PDU) associated with one of a plurality of flows, the hierarchical multiplexor comprising:
a plurality of hierarchical levels for performing gating operations, each hierarchical level consisting of:
a meter for measuring the flow rate at the hierarchical level;
a gate for discarding the PDU based upon the flow rate at the hierarchical level wherein the gate applies a color to the PDUs of the flows based upon traffic parameters specific to those flows at a second hierarchical level;
an additional gate for discarding the PDU based upon the flow rate at the hierarchical level, wherein the additional gate includes a plurality of measure/mark modules to measure how much data is flowing per given time period; and
a last hierarchical level comprising a queue for buffering the gated PDU and the additionally gated PDU in a single stream via a hierarchical multiplexor prior to transmission.
US10/750,120 2003-12-30 2003-12-30 Hierarchical flow-characterizing multiplexor Expired - Fee Related US7621162B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US10/750,120 US7621162B2 (en) 2003-12-30 2003-12-30 Hierarchical flow-characterizing multiplexor
AT04029804T ATE385366T1 (en) 2003-12-30 2004-12-15 HIERARCHICAL MULTIPLEXER FOR CHARACTERIZING A DATA FLOW
EP20040029804 EP1551136B1 (en) 2003-12-30 2004-12-15 Hierarchical flow-characterizing multiplexor
DE200460011598 DE602004011598D1 (en) 2003-12-30 2004-12-15 Hierarchical multiplexer for characterizing a data flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/750,120 US7621162B2 (en) 2003-12-30 2003-12-30 Hierarchical flow-characterizing multiplexor

Publications (2)

Publication Number Publication Date
US20050141427A1 US20050141427A1 (en) 2005-06-30
US7621162B2 true US7621162B2 (en) 2009-11-24

Family

ID=34574803

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/750,120 Expired - Fee Related US7621162B2 (en) 2003-12-30 2003-12-30 Hierarchical flow-characterizing multiplexor

Country Status (4)

Country Link
US (1) US7621162B2 (en)
EP (1) EP1551136B1 (en)
AT (1) ATE385366T1 (en)
DE (1) DE602004011598D1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070253438A1 (en) * 2006-04-28 2007-11-01 Tellabs San Jose, Inc. Differentiated services using weighted quality of service (QoS)
US20120182902A1 (en) * 2011-01-18 2012-07-19 Saund Gurjeet S Hierarchical Fabric Control Circuits
US8649286B2 (en) 2011-01-18 2014-02-11 Apple Inc. Quality of service (QoS)-related fabric control
US8744602B2 (en) 2011-01-18 2014-06-03 Apple Inc. Fabric limiter circuits
US8861386B2 (en) 2011-01-18 2014-10-14 Apple Inc. Write traffic shaper circuits
US9053058B2 (en) 2012-12-20 2015-06-09 Apple Inc. QoS inband upgrade
US9313047B2 (en) 2009-11-06 2016-04-12 F5 Networks, Inc. Handling high throughput and low latency network data packets in a traffic management device
US9606946B2 (en) 2009-01-16 2017-03-28 F5 Networks, Inc. Methods for sharing bandwidth across a packetized bus and systems thereof
US9635024B2 (en) 2013-12-16 2017-04-25 F5 Networks, Inc. Methods for facilitating improved user authentication using persistent data and devices thereof
US9864606B2 (en) 2013-09-05 2018-01-09 F5 Networks, Inc. Methods for configurable hardware logic device reloading and devices thereof
US10015143B1 (en) 2014-06-05 2018-07-03 F5 Networks, Inc. Methods for securing one or more license entitlement grants and devices thereof
US10135831B2 (en) 2011-01-28 2018-11-20 F5 Networks, Inc. System and method for combining an access control system with a traffic management system
US10375155B1 (en) 2013-02-19 2019-08-06 F5 Networks, Inc. System and method for achieving hardware acceleration for asymmetric flow connections
US10972453B1 (en) 2017-05-03 2021-04-06 F5 Networks, Inc. Methods for token refreshment based on single sign-on (SSO) for federated identity environments and devices thereof
US20220385578A1 (en) * 2021-06-01 2022-12-01 Mellanox Technologies Ltd. Cardinality-based traffic control
US11537716B1 (en) 2018-11-13 2022-12-27 F5, Inc. Methods for detecting changes to a firmware and devices thereof
US11855898B1 (en) 2018-03-14 2023-12-26 F5, Inc. Methods for traffic dependent direct memory access optimization and devices thereof

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8561167B2 (en) 2002-03-08 2013-10-15 Mcafee, Inc. Web reputation scoring
US8578480B2 (en) 2002-03-08 2013-11-05 Mcafee, Inc. Systems and methods for identifying potentially malicious messages
US20060015942A1 (en) 2002-03-08 2006-01-19 Ciphertrust, Inc. Systems and methods for classification of messaging entities
KR20040052921A (en) * 2004-05-17 2004-06-23 김기천 Clock synchronizer for distributed traffic control
JP4342395B2 (en) * 2004-07-20 2009-10-14 富士通株式会社 Packet relay method and apparatus
US8635690B2 (en) 2004-11-05 2014-01-21 Mcafee, Inc. Reputation based message processing
KR100646746B1 (en) * 2004-11-17 2006-11-23 한국전자통신연구원 Apparatus and method for processing multi-protocol signals of NG-SDH transponder
US7529184B2 (en) * 2004-12-01 2009-05-05 Research In Motion Limited Flow control buffering
US20070070907A1 (en) * 2005-09-29 2007-03-29 Alok Kumar Method and apparatus to implement a very efficient random early detection algorithm in the forwarding path
TWI352525B (en) * 2006-04-03 2011-11-11 Realtek Semiconductor Corp Network system capable of dynamically controlling
US8199642B2 (en) * 2006-09-14 2012-06-12 Cisco Technology, Inc. Dynamically and efficiently forming hierarchical tunnels
WO2008037083A1 (en) * 2006-09-28 2008-04-03 Research In Motion Limited Method and apparatus for buffering packets in a network
US7779156B2 (en) 2007-01-24 2010-08-17 Mcafee, Inc. Reputation based load balancing
US8214497B2 (en) 2007-01-24 2012-07-03 Mcafee, Inc. Multi-dimensional reputation scoring
US8763114B2 (en) 2007-01-24 2014-06-24 Mcafee, Inc. Detecting image spam
US7949716B2 (en) * 2007-01-24 2011-05-24 Mcafee, Inc. Correlation and analysis of entity attributes
US8553539B2 (en) * 2007-06-28 2013-10-08 Samsung Electronics Co., Ltd. Method and system for packet traffic congestion management
KR100895282B1 (en) * 2007-08-08 2009-04-29 한국전자통신연구원 Hierarchical flow dynamic management method and apparatus
US8185930B2 (en) 2007-11-06 2012-05-22 Mcafee, Inc. Adjusting filter or classification control settings
US8045458B2 (en) * 2007-11-08 2011-10-25 Mcafee, Inc. Prioritizing network traffic
US8589503B2 (en) 2008-04-04 2013-11-19 Mcafee, Inc. Prioritizing network traffic
US20090300209A1 (en) * 2008-06-03 2009-12-03 Uri Elzur Method and system for path based network congestion management
US20090319906A1 (en) * 2008-06-18 2009-12-24 Eads Na Defense Security And Systems Solutions Inc Systems and methods for reconstitution of network elements in a simulated network
US9152483B2 (en) 2009-01-16 2015-10-06 F5 Networks, Inc. Network devices with multiple fully isolated and independently resettable direct memory access channels and methods thereof
US8621638B2 (en) 2010-05-14 2013-12-31 Mcafee, Inc. Systems and methods for classification of messaging entities
US9319325B2 (en) * 2010-08-24 2016-04-19 Intel Corporation Adaptive method and system of regulation of yellow traffic in a network
EP2749068A4 (en) * 2011-11-29 2015-05-20 Ericsson Telefon Ab L M Flow based packet manipulation congestion control
US9713167B2 (en) * 2012-06-13 2017-07-18 Verizon Patent And Licensing Inc. Multistage hierarchical packet scheduling
US9270602B1 (en) * 2012-12-31 2016-02-23 F5 Networks, Inc. Transmit rate pacing of large network traffic bursts to reduce jitter, buffer overrun, wasted bandwidth, and retransmissions
US9450890B2 (en) * 2013-07-13 2016-09-20 Netronome Systems, Inc. Pipelined egress packet modifier
US11300936B2 (en) * 2019-03-26 2022-04-12 Lenovo (Singapore) Pte. Ltd. Extracting EtherCAT datagrams from an EtherCAT frame

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010009552A1 (en) * 1996-10-28 2001-07-26 Coree1 Microsystems, Inc. Scheduling techniques for data cells in a data switch
US20020107908A1 (en) * 2000-12-28 2002-08-08 Alcatel Usa Sourcing, L.P. QoS monitoring system and method for a high-speed diffserv-capable network element
US20020176431A1 (en) * 2001-02-17 2002-11-28 Golla Prasad N. Multiserver scheduling system and method for a fast switching element
US20020181484A1 (en) * 1998-04-01 2002-12-05 Takeshi Aimoto Packet switch and switching method for switching variable length packets
US20030026271A1 (en) * 2001-07-03 2003-02-06 Erb Guy C. L2/L3 network with LSP-enabled virtual routing
US20030152084A1 (en) * 2001-09-19 2003-08-14 Barry Lee Differentiated services for a network processor
US6608816B1 (en) * 1998-11-18 2003-08-19 Nortel Networks Limited Method and apparatus for providing differentiated services using a multi-level queuing mechanism
US20030174706A1 (en) * 2002-03-15 2003-09-18 Broadcom Corporation Fastpath implementation for transparent local area network (LAN) services over multiprotocol label switching (MPLS)
US20030225907A1 (en) * 2002-06-04 2003-12-04 Ram Krishnan Forwarding traffic in a network using a single forwarding table that includes forwarding information related to a plurality of logical networks
US20030231593A1 (en) * 2002-06-04 2003-12-18 James Bauman Flexible multilevel output traffic control
US6781994B1 (en) * 1997-12-25 2004-08-24 Kabushiki Kaisha Toshiba Distributing ATM cells to output ports based upon destination information using ATM switch core and IP forwarding
US6813250B1 (en) * 1997-12-23 2004-11-02 Cisco Technology, Inc. Shared spanning tree protocol
US20050008020A1 (en) * 2000-07-12 2005-01-13 Ashwood-Smith Peter J. ATM transport over multi-protocol label switching
US20050135399A1 (en) * 2003-11-10 2005-06-23 Baden Eric A. Field processor for a network device
US20050147032A1 (en) * 2003-12-22 2005-07-07 Lyon Norman A. Apportionment of traffic management functions between devices in packet-based communication networks
US20060168337A1 (en) * 2002-09-03 2006-07-27 Thomson Licensing Inc. Mechanism for providing quality of service in a network utilizing priority and reserved bandwidth protocols
US20060209840A1 (en) * 2001-05-04 2006-09-21 Slt Logic Llc System and method for providing transformation of multi-protocol packets in a data stream
US20060291495A1 (en) * 2002-03-01 2006-12-28 Null Networks Llc Hardware self-sorting scheduling queue

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6226680B1 (en) * 1997-10-14 2001-05-01 Alacritech, Inc. Intelligent network interface system method for protocol processing
BR0208227A (en) * 2001-03-20 2004-03-23 Worldcom Inc System, method, and appliance that isolate virtual private network (vpn) and best-performing traffic to resist denial of service attacks

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010009552A1 (en) * 1996-10-28 2001-07-26 Coree1 Microsystems, Inc. Scheduling techniques for data cells in a data switch
US6813250B1 (en) * 1997-12-23 2004-11-02 Cisco Technology, Inc. Shared spanning tree protocol
US6781994B1 (en) * 1997-12-25 2004-08-24 Kabushiki Kaisha Toshiba Distributing ATM cells to output ports based upon destination information using ATM switch core and IP forwarding
US20020181484A1 (en) * 1998-04-01 2002-12-05 Takeshi Aimoto Packet switch and switching method for switching variable length packets
US6608816B1 (en) * 1998-11-18 2003-08-19 Nortel Networks Limited Method and apparatus for providing differentiated services using a multi-level queuing mechanism
US20050008020A1 (en) * 2000-07-12 2005-01-13 Ashwood-Smith Peter J. ATM transport over multi-protocol label switching
US20020107908A1 (en) * 2000-12-28 2002-08-08 Alcatel Usa Sourcing, L.P. QoS monitoring system and method for a high-speed diffserv-capable network element
US20020176431A1 (en) * 2001-02-17 2002-11-28 Golla Prasad N. Multiserver scheduling system and method for a fast switching element
US20060209840A1 (en) * 2001-05-04 2006-09-21 Slt Logic Llc System and method for providing transformation of multi-protocol packets in a data stream
US20030026271A1 (en) * 2001-07-03 2003-02-06 Erb Guy C. L2/L3 network with LSP-enabled virtual routing
US20030152084A1 (en) * 2001-09-19 2003-08-14 Barry Lee Differentiated services for a network processor
US20060291495A1 (en) * 2002-03-01 2006-12-28 Null Networks Llc Hardware self-sorting scheduling queue
US20030174706A1 (en) * 2002-03-15 2003-09-18 Broadcom Corporation Fastpath implementation for transparent local area network (LAN) services over multiprotocol label switching (MPLS)
US20030231593A1 (en) * 2002-06-04 2003-12-18 James Bauman Flexible multilevel output traffic control
US20030225907A1 (en) * 2002-06-04 2003-12-04 Ram Krishnan Forwarding traffic in a network using a single forwarding table that includes forwarding information related to a plurality of logical networks
US20060168337A1 (en) * 2002-09-03 2006-07-27 Thomson Licensing Inc. Mechanism for providing quality of service in a network utilizing priority and reserved bandwidth protocols
US20050135399A1 (en) * 2003-11-10 2005-06-23 Baden Eric A. Field processor for a network device
US20050147032A1 (en) * 2003-12-22 2005-07-07 Lyon Norman A. Apportionment of traffic management functions between devices in packet-based communication networks

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8223642B2 (en) * 2006-04-28 2012-07-17 Tellabs San Jose, Inc. Differentiated services using weighted quality of service (QoS)
US20070253438A1 (en) * 2006-04-28 2007-11-01 Tellabs San Jose, Inc. Differentiated services using weighted quality of service (QoS)
US9606946B2 (en) 2009-01-16 2017-03-28 F5 Networks, Inc. Methods for sharing bandwidth across a packetized bus and systems thereof
US9313047B2 (en) 2009-11-06 2016-04-12 F5 Networks, Inc. Handling high throughput and low latency network data packets in a traffic management device
US8493863B2 (en) * 2011-01-18 2013-07-23 Apple Inc. Hierarchical fabric control circuits
US8744602B2 (en) 2011-01-18 2014-06-03 Apple Inc. Fabric limiter circuits
US8861386B2 (en) 2011-01-18 2014-10-14 Apple Inc. Write traffic shaper circuits
US8649286B2 (en) 2011-01-18 2014-02-11 Apple Inc. Quality of service (QoS)-related fabric control
US20120182902A1 (en) * 2011-01-18 2012-07-19 Saund Gurjeet S Hierarchical Fabric Control Circuits
US10135831B2 (en) 2011-01-28 2018-11-20 F5 Networks, Inc. System and method for combining an access control system with a traffic management system
US9053058B2 (en) 2012-12-20 2015-06-09 Apple Inc. QoS inband upgrade
US10375155B1 (en) 2013-02-19 2019-08-06 F5 Networks, Inc. System and method for achieving hardware acceleration for asymmetric flow connections
US9864606B2 (en) 2013-09-05 2018-01-09 F5 Networks, Inc. Methods for configurable hardware logic device reloading and devices thereof
US9635024B2 (en) 2013-12-16 2017-04-25 F5 Networks, Inc. Methods for facilitating improved user authentication using persistent data and devices thereof
US10015143B1 (en) 2014-06-05 2018-07-03 F5 Networks, Inc. Methods for securing one or more license entitlement grants and devices thereof
US10972453B1 (en) 2017-05-03 2021-04-06 F5 Networks, Inc. Methods for token refreshment based on single sign-on (SSO) for federated identity environments and devices thereof
US11855898B1 (en) 2018-03-14 2023-12-26 F5, Inc. Methods for traffic dependent direct memory access optimization and devices thereof
US11537716B1 (en) 2018-11-13 2022-12-27 F5, Inc. Methods for detecting changes to a firmware and devices thereof
US20220385578A1 (en) * 2021-06-01 2022-12-01 Mellanox Technologies Ltd. Cardinality-based traffic control
US11838209B2 (en) * 2021-06-01 2023-12-05 Mellanox Technologies, Ltd. Cardinality-based traffic control

Also Published As

Publication number Publication date
US20050141427A1 (en) 2005-06-30
EP1551136B1 (en) 2008-01-30
ATE385366T1 (en) 2008-02-15
EP1551136A1 (en) 2005-07-06
DE602004011598D1 (en) 2008-03-20

Similar Documents

Publication Publication Date Title
US7621162B2 (en) Hierarchical flow-characterizing multiplexor
US7385985B2 (en) Parallel data link layer controllers in a network switching device
US7978606B2 (en) System and method for policing multiple data flows and multi-protocol data flows
US7872973B2 (en) Method and system for using a queuing device as a lossless stage in a network device in a communications network
US7688853B2 (en) System and method for hierarchical policing of flows and subflows of a data stream
KR100823785B1 (en) Method and system for open-loop congestion control in a system fabric
US8897315B1 (en) Fabric traffic management in a network device
US20020089929A1 (en) Packet processor with multi-level policing logic
US6473434B1 (en) Scaleable and robust solution for reducing complexity of resource identifier distribution in a large network processor-based system
US7307949B1 (en) Hierarchical policers for enforcing differentiated traffic behavior
US8018851B1 (en) Flow control for multiport PHY
EP1551138B1 (en) Parallel data link layer controllers providing traffic flow control in a network switching device
JP2002044139A (en) Router and priority control method used for it
US7586918B2 (en) Link fragment interleaving with fragmentation preceding queuing
US7698412B2 (en) Parallel data link layer controllers in a network switching device
US20050157728A1 (en) Packet relay device
US7061919B1 (en) System and method for providing multiple classes of service in a packet switched network
TWI774343B (en) Circuitry within router or switch and frame processing method applied to router or switch
US20220239397A1 (en) Centralized control of time gates for time sensitive networking (tsn)
US8351341B1 (en) Filtering to protect class of service
US7366098B1 (en) Method and apparatus for input policing a network connection
CN117834541A (en) Enhanced protection method for CPU management message and data message
JP2000299701A (en) Processing unit and processing method for packet
WO2007072538A1 (en) Queue scheduling device, queue scheduling method and information relay device

Legal Events

Date Code Title Description
AS Assignment

Owner name: ALCATEL INTERNETWORKING, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BARTKY, ALAN KEITH;REEL/FRAME:014281/0893

Effective date: 20040120

AS Assignment

Owner name: ALCATEL, FRANCE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ALCATEL INTERNETWORKING, INC.;REEL/FRAME:014310/0078

Effective date: 20040203

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: ALCATEL LUCENT, FRANCE

Free format text: CHANGE OF NAME;ASSIGNOR:ALCATEL;REEL/FRAME:023323/0595

Effective date: 20061130

CC Certificate of correction
FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.)

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20171124