Búsqueda Imágenes Maps Play YouTube Noticias Gmail Drive Más »
Iniciar sesión
Usuarios de lectores de pantalla: deben hacer clic en este enlace para utilizar el modo de accesibilidad. Este modo tiene las mismas funciones esenciales pero funciona mejor con el lector.

Patentes

  1. Búsqueda avanzada de patentes
Número de publicaciónUS20050041579 A1
Tipo de publicaciónSolicitud
Número de solicitudUS 10/876,653
Fecha de publicación24 Feb 2005
Fecha de presentación28 Jun 2004
Fecha de prioridad8 Jul 1998
También publicado comoUS6829245
Número de publicación10876653, 876653, US 2005/0041579 A1, US 2005/041579 A1, US 20050041579 A1, US 20050041579A1, US 2005041579 A1, US 2005041579A1, US-A1-20050041579, US-A1-2005041579, US2005/0041579A1, US2005/041579A1, US20050041579 A1, US20050041579A1, US2005041579 A1, US2005041579A1
InventoresEitan Medina, David Shemla, Yosi Solt
Cesionario originalMarvell Semiconductor Israel Ltd.
Exportar citaBiBTeX, EndNote, RefMan
Enlaces externos: USPTO, Cesión de USPTO, Espacenet
Head of line blocking
US 20050041579 A1
Resumen
A network switch which includes a plurality of output ports, at least one input port and a queuing manager. Each output port has a control unit associated therewith. The input port receives incoming data destined for various ones of the output ports. The queuing manager directs the incoming data to their destination output ports. Each control unit includes an output queue, a fullness/emptiness sensor and a head of line (HOL) mask. The output queue stores the incoming data destined for its associated output port. The sensor senses when the output queue reaches a fullness or an emptiness state. The HOL mask is connected to the output of the sensor and blocks inflow of the incoming data to the output queue when the sensor senses the fullness state and for enabling inflow when the sensor senses the emptiness state.
Imágenes(3)
Previous page
Next page
Reclamaciones(16)
1. (Cancelled).
2. A control unit for an output port of a network switch, the control unit comprising:
an output queue for storing incoming data destined for said output port;
a fullness/emptiness sensor for sensing when said output queue reaches a fullness or an emptiness state; and
a head of line (HOL) mask, in communication with the output of said sensor, for blocking inflow of said incoming data to said output queue when said sensor senses said fullness state and for enabling inflow when said sensor senses said emptiness state.
3. (Cancelled).
4. A method of controlling flow within a network switch, the method comprising the steps of:
sensing when an output queue of said network switch reaches a fullness or an emptiness state;
blocking queuing of incoming data to said output queue when said fullness state is sensed;
discarding unicast packets destined to said output queue; and
enabling queuing when said emptiness state is sensed.
5. A network switch comprising:
a plurality of output port means for outputting data, each having a means for controlling associated therewith;
at least one input port means for receiving incoming data destined for various ones of said output port means; and
means for directing said incoming data to their destination output port means;
wherein each means for controlling comprises:
means for storing said incoming data destined for its associated output port;
means for sensing when said means for storing reaches a fullness or an emptiness state; and
means, in communication with the output of said means for sensing, for preventing queuing of said incoming data to said means for storing when said means for sensing senses said fullness state and for enabling queuing when said means for sensing senses said emptiness state.
6. A control unit for an output port of a network switch, the control unit comprising:
means for storing incoming data destined for the output port;
means for sensing when said means for storing reaches a fullness or an emptiness state; and
means, in communication with the output of said means for sensing, for blocking inflow of said incoming data to said means for storing when said means for sensing senses said fullness state and for enabling inflow when said means for sensing senses said emptiness state.
7. A device for controlling flow within a network switch, the device comprising:
means for sensing when an output queue of said network switch reaches a fullness or an emptiness state;
means for blocking queuing of incoming data to said output queue when said fullness state is sensed;
means for discarding unicast packets destined to said output queue; and
means for enabling queuing when said emptiness state is sensed.
8. A method for controlling flow within a network switch, the network switch including a plurality of output ports each having a control unit associated therewith, including at least one input port for receiving incoming data destined for various ones of said output ports, and including a queuing manager for directing said incoming data to their destination output ports, wherein each control unit performs the method comprising:
sensing when an output queue, for storing incoming data and associated with an output port, reaches a fullness or an emptiness state;
preventing queuing of the incoming data to the output queue when the fullness state is sensed; and
enabling queuing of the incoming data to the output queue when the emptiness state is sensed.
9. A method for a control unit for an output port of a network switch, the method comprising:
sensing when an output queue, for storing incoming data destined for the output port, reaches a fullness or an emptiness state;
blocking inflow of the incoming data to the output queue when the fullness state is sensed; and
enabling inflow of the incoming data to the output queue when the emptiness state is sensed.
10. A device for controlling flow within a network switch, the device comprising:
a sensor, adapt to sense when an output queue of said network switch reaches a fullness or an emptiness state:
a blocking element, adapted to block queuing of incoming data to said output queue when said fullness state is sensed;
a device adapted to discard unicast packets destined to said output queue and adapted to enable queuing when said emptiness state is sensed.
11. A network switch, comprising:
a plurality of output port means for outputting data, each having means for controlling associated therewith;
at least one input port means for receiving incoming data destined for various ones of said output port means; and
means for directing said incoming data to their destination output port means, wherein each means for controlling comprises:
means for storing said incoming data destined for its associate output port means;
means for sensing when an output queue, for storing incoming data and associated with an output port means, reaches a fullness or an emptiness state;
means for preventing queuing of the incoming data to the output queue when the fullness state is sensed; and
means for enabling queuing of the incoming data to the output queue the emptiness state is sensed.
12. A control unit for an output port of a network switch, the control unit comprising:
means for sensing when an output queue, for storing incoming data destined for the output port, reaches a fullness or an emptiness state;
means for blocking inflow of the incoming data to the output queue when the fullness state is sensed; and
means for enabling inflow of the incoming data to the output queue when the emptiness state is sensed.
13. A network device comprising:
an output queue for storing incoming data destined for an associated output port;
a fullness/emptiness sensor for sensing when the output queue reaches a fullness or an emptiness state; and
a head of line (HOL) mask, in communication with the output of said sensor, for blocking inflow of the incoming data to said output queue when said sensor senses the fullness state and for enabling inflow when said sensor senses the emptiness state.
14. A network device comprising:
means for storing incoming data destined for an associated output port;
means for sensing when the means for storing reaches a fullness or an emptiness state; and
means, in communication with the output of the means for sensing, for blocking inflow of the incoming data to the means for storing when the means for sensing senses the fullness state and for enabling inflow when the means for sensing senses the emptiness state.
15. A network device comprising:
a plurality of output ports each having a control unit associated therewith;
at least one input port for receiving incoming data destined for various ones of said output ports; and
a queuing manager for directing said incoming data to their destination output ports;
wherein each control unit comprises:
an output queue for storing said incoming data destined for its associated output port;
a fullness/emptiness sensor for sensing when said output queue reaches a fullness or an emptiness state; and
a head of line (HOL) mask, connected to the output of said sensor, for preventing queuing of said incoming data to said output queue when said sensor senses said fullness state and for enabling queuing when said sensor senses said emptiness state.
16. A network device comprising:
a plurality of output port means for outputting data, each having a means for controlling associated therewith;
at least one input port means for receiving incoming data destined for various ones of said output port means; and
means for directing said incoming data to their destination output port means;
wherein each means for controlling comprises:
means for storing said incoming data destined for its associated output port;
means for sensing when said means for storing reaches a fullness or an emptiness state; and
means, in communication with the output of said means for sensing, for preventing queuing of said incoming data to said means for storing when said means for sensing senses said fullness state and for enabling queuing when said means for sensing senses said emptiness state.
Descripción
    FIELD OF THE INVENTION
  • [0001]
    The present invention relates to network switching communication protocols generally and to prevention of head of line blocking in particular.
  • BACKGROUND OF THE INVENTION
  • [0002]
    A network switch creates a network among a plurality of end nodes, such as workstations, and other network switches connected thereto. Each end node is connected to one port of the network. The ports also serve to connect network switches together.
  • [0003]
    Each end node sends packets of data to the network switch which the switch then routes either to another of the end nodes connected thereto or to a network switch to which the destination end node is connected. In the latter case, the receiving network switch routes the packet to the destination end node.
  • [0004]
    Each network switch has to temporarily store the packets of data which it receives from the units (end node or network switch) connected to it while the switch determines how, when and through which port to retransmit the packets. Each packet can be transmitted to only one destination address (a “unicast” packet) or to more than one unit (a “multicast” or “broadcast” packet). For multicast and broadcast packets, the switch typically stores the packet only once and transmits multiple copies of the packet to some (multicast) or all (broadcast) of its ports. Once the packet has been transmitted to all of its destinations, it can be removed from the memory or written over.
  • [0005]
    Reference is now made to FIG. 1 which schematically illustrates a portion of the data packet transfer process that takes place within the operations of a network switch 10. Switch 10 comprises a central queuing manager 12, an output buffer 14, and a multiplicity of output ports 16. Switch 10 receives incoming data 18 which it stores until transmission as queued data 24 in output buffer 14. At the appropriate time, which is generally when the relevant output port 16 is available, switch 10 transfers the queued data 24 out of the relevant output port 16 as outgoing data 26.
  • [0006]
    Output buffer 14 is either a pooled buffer which services the entire switch 10 or a plurality of dedicated queues within buffer 14, one queue per output port 16. The exemplary switch 10 shown in FIG. 1 comprises a pooled output buffer 14 and two output ports 16B and 16C.
  • [0007]
    Incoming data 18 comprises data packets 30, 32, 34 and 36, which are designated for various destination ports 16. Data 18 is received by manager 12, which identifies the appropriate destination port 16 of the packets 30, 32, 34, and 36 respectively, and dispatches them to the output buffer 14. As an example unicast data packets 32 and 36 are designated for port 16C, unicast data packet 30 is designated for port 16B and multicast packet 34 is designated for both ports 16B and 16C. Output buffer 14 stores the queued data 24 until the relevant port 16 is available, at which point, the outgoing data 26 is transferred to the relevant port 16.
  • [0008]
    Occasionally, one of the output ports 16 transfers at a faster pace than the other ports or, alternatively, receives more data than the other ports. For whatever reason, a condition may arise where the data 24 for one of the output ports 16 backs up in the output buffer 14 creating a condition where output buffer 14 is unable to receive more data. Manager 12 is aware of the backup in the output buffer 14, typically through a fullness sensor (not shown) measuring the fullness of output buffer 14, and, accordingly, stops receiving incoming data 18 to switch 10.
  • [0009]
    All incoming data 18 not received by switch 10 is discarded, regardless of its destination output port 16. Not only is the incoming data 18 destined for the full output port discarded but the incoming data 18 destined for the available ports are also discarded. This problem is known as “Head of Line Blocking”.
  • [0010]
    Although switch 10 no longer receives incoming data 18, it continues to send outgoing data 26, and thus, clears out the output buffer 14. Once enough outgoing data 26 has been sent, output buffer 14 empties out and is again able to receive more data 24. Manager 12 reopens inflow of data 18 to switch 10.
  • [0011]
    For example, if port 16B is backed up, then the output buffer 14 will become full with queued data 24B, while output port 16C will still available to transmit. Manager 12 halts the incoming flow of data 18. All data 18 incoming into switch 12 is halted and discarded, including unicast data packets 32 and 36 and multicast data packet 34 which are designated for the available port 16C.
  • SUMMARY OF THE PRESENT INVENTION
  • [0012]
    It is an object of the present invention to prevent Head of Line Blocking as much as possible.
  • [0013]
    There is therefore provided, in accordance with a preferred embodiment of the present invention, a network switch which includes a plurality of output ports, at least one input port and a queuing manager. Each output port has a control unit associated therewith. The input port receives incoming data destined for various ones of the output ports. The queuing manager directs the incoming data to their destination output ports. Each control unit includes an output queue, a fullness/emptiness sensor and a head of line (HOL) mask. The output queue stores the incoming data destined for its associated output port. The sensor senses when the output queue reaches a fullness or an emptiness state. The HOL mask is connected to the output of the sensor and blocks inflow of the incoming data to the output queue when the sensor senses the fullness state and for enabling inflow when the sensor senses the emptiness state.
  • [0014]
    There is also provided, in accordance with a preferred embodiment of the present invention, a control unit for an output port of a network switch as described hereinabove.
  • [0015]
    Finally, there is provided, a method of controlling flow within a network switch, the method comprising the steps of sensing when an output queue of the network switch reaches a fullness or an emptiness state, blocking queueing of incoming data to the output queue when the fullness state is sensed, discarding of unicast packets destined to the full output port queue, avoiding queuing of multicast packets to said output port queue and enabling queueing when the emptiness state is sensed.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • [0016]
    The present invention will be understood and appreciated more fully from the following detailed description taken in conjunction with the drawings in which:
  • [0017]
    FIG. 1 is a schematic illustration of a prior art network switching protocol; and
  • [0018]
    FIG. 2 is a schematic illustration of a network switching protocol constructed and operative in accordance with a preferred embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PRESENT INVENTION
  • [0019]
    Reference is now made to FIG. 2 which illustrates, in general terms, a portion of the data packet transfer process that takes place within the operations of a network switch 50, constructed and operative in accordance with a preferred embodiment of the present invention. Switch 50 comprises many of the elements described in the prior art FIG. 1. Elements of FIG. 2 which are similar to those of FIG. 1 have the same reference numerals.
  • [0020]
    In addition to the prior art elements, switch 50 comprises a plurality of: output queues 66, head of line (HOL) masks 52, fullness watermarks 60, emptiness watermarks 62 and sensors 64.
  • [0021]
    The output queues 66 function similar to output buffer 14 in that the output queue 66 s temporarily store data 24 waiting for transmission to output ports 16. However, in contrast to output buffer 14, output queues 66 are dedicated to their associated output ports 16, for example, output queue 66B is dedicated to output port 16B, and so.
  • [0022]
    HOL masks 52 control data flow to their output queues 14. FIG. 2 shows HOL masks 52B and 52C as logical switches and operative for output queues 14B and 14C, respectively. Each sensor 64 is dedicated to an associated output queue 66 and relays to manager 12 the fullness or emptiness state of that associated queue 14. Each sensor 64 is a counter which has two thresholds, one associated with its fullness watermark 60 and one associated with its emptiness watermark 62.
  • [0023]
    Switch 50 receives, distributes, queues and sends data in a manner similar to that described for switch 10. Additionally similar to switch 10, from time to time one of the output ports 16 is busier than the other output ports 16.
  • [0024]
    The data 24 in one or more output queue 66 backs up and reaches the fullness threshold 60 of that queue 66. Hence queue 66 is almost full and temporarily can not receive any more data 24.
  • [0025]
    The associated sensor 64 notifies the state of fullness to its associated HOL mask 52, which stops inflow of data to the almost full output queue 66. As an example, when the data 24 in output queue 66B reaches almost fullness, it crosses the fullness threshold 60B. Sensor 64B notifies such to HOL mask 52B which stops data flow to output queue 66B.
  • [0026]
    Unlike in the prior art which halted all inflow of data 18 to switch 10, switch 50 continues to transfer incoming data 18 to the output queues 66 which are not affected by a backup. Hence, the data going to output queue 66C will be received and its associated output port 16C will continue to operate unhindered. However, incoming data 18 designated for port 16B is discarded.
  • [0027]
    As a further example, data 18 comprises data packets 54, 56, and 58. Packets 54 and 58 are unicast packets destined for ports 16B and 16C, respectively. Packet 56 is a multicast packet destined for both ports 16B and 16C. All packets 54, 56 and 58 are received by switch 50. Queuing manager 12 identifies the packets and distributes them to the appropriate output queues 66; unicast packet 54 to output queue 66B, multicast packet 56 to output queues 66B and 66C, and unicast packet 58 to output queue 66C. Multicast packet 56 and unicast packet 58 designated for output queue 66C are properly queued for delivery. However, since output queue 66B is full, HOL mask 52B does not queue unicast packet 54 and multicast packet 56 designated for port 16B, and thus, packet 54 is discarded, and packet 56 is queued only to output queue 66C.
  • [0028]
    Port 16B continues transmitting data 26B, until eventually the data 24B in output queue 66B reaches the emptiness watermark 62 signaling that output queue 66B is almost empty. This information is relayed by sensor 64B to HOL mask 52B which, in turn, reopens inflow to its associated output queue 66B, and data will again be queued to output queue 66B. In this a manner, packets destined for output queues 66 which are not full are not affected by HOL blocking from other backed up output queues 66.
  • [0029]
    It will be appreciated by persons skilled in the art that the present invention is not limited by what has been particularly shown and described herein above. Rather the scope of the invention is defined by the claims that follow:
Citas de patentes
Patente citada Fecha de presentación Fecha de publicación Solicitante Título
US4980852 *29 Dic 198725 Dic 1990International Business Machines CorporationNon-locking queueing mechanism for enabling a receiver device to read from a queue without access synchronization with a sending device
US5231633 *11 Jul 199027 Jul 1993Codex CorporationMethod for prioritizing, selectively discarding, and multiplexing differing traffic type fast packets
US5448559 *2 May 19945 Sep 1995Roke Manor Research LimitedATM communication system with interrogation of output port servers for available handing capacity
US5455820 *18 May 19943 Oct 1995Nec CorporationOutput-buffer switch for asynchronous transfer mode
US5841722 *13 Feb 199724 Nov 1998Galileo Technologies Ltd.First-in, first-out (FIFO) buffer
US5898687 *24 Jul 199627 Abr 1999Cisco Systems, Inc.Arbitration mechanism for a multicast logic engine of a switching fabric circuit
US5900914 *26 Dic 19964 May 1999Niijima; ShinjiHorizontal synchronizing signal-generating circuit and method therefor
US6044061 *10 Mar 199828 Mar 2000Cabletron Systems, Inc.Method and apparatus for fair and efficient scheduling of variable-size data packets in an input-buffered multipoint switch
US6144640 *28 Ago 19977 Nov 2000Sgs-Thomson Microelectronics LimitedATM switch
US6160812 *4 May 199812 Dic 2000Cabletron Systems, Inc.Method and apparatus for supplying requests to a scheduler in an input buffered multiport switch
US6185214 *11 Sep 19976 Feb 20013Com CorporationUse of code vectors for frame forwarding in a bridge/router
US6222822 *31 Mar 199724 Abr 2001Cisco Systems, IncorporatedMethod for optimizing a digital transmission network operation through transient error monitoring and control and system for implementing said method
Citada por
Patente citante Fecha de presentación Fecha de publicación Solicitante Título
US7403521 *3 Dic 200122 Jul 2008Intel CorporationMulticast and broadcast operations in ethernet switches
US828504418 Jul 20079 Oct 2012Robert Bosch GmbhImage-processing device, surveillance system, method for establishing a scene reference image, and computer program
US20030103517 *3 Dic 20015 Jun 2003Rahul SaxenaMulticast and broadcast operations in ethernet switches
US20060013135 *21 Jun 200419 Ene 2006Schmidt Steven GFlow control in a switch
US20080019566 *18 Jul 200724 Ene 2008Wolfgang NiemImage-processing device, surveillance system, method for establishing a scene reference image, and computer program
US20080253371 *23 Jun 200816 Oct 2008Rahul SaxenaMulticast and broadcast operations in ethernet switches
Clasificaciones
Clasificación de EE.UU.370/229
Clasificación internacionalH04L12/935, H04L12/931, H04J3/14
Clasificación cooperativaH04L49/201, H04L49/508, H04L49/501, H04L49/30
Clasificación europeaH04L49/50C4