| Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler -> Monitor Keywords |
|
Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) schedulerRelated Patent Categories: Multiplex Communications, Data Flow Congestion Prevention Or Control, Control Of Data Admission To The NetworkMethod and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler description/claimsThe Patent Description & Claims data below is from USPTO Patent Application 20080025215, Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler. Brief Patent Description - Full Patent Description - Patent Application Claims [0001] The present application is a continuation of and claims priority to U.S. patent application Ser. No. 10/102,166, filed Mar. 20, 2002, which is hereby incorporated by reference herein in its entirety. CROSS REFERENCE TO RELATED PATENT APPLICATIONS [0002] The present application is related to the following U.S. Patent Applications, each of which is hereby incorporated by reference herein in its entirety: [0003] U.S. patent application Ser. No. 10/016,518, filed Nov. 1, 2001, titled "WEIGHTED FAIR QUEUE HAVING EXTENDED EFFECTIVE RANGE" (IBM Docket No. ROC920010199US1); [0004] U.S. patent application Ser. No. 10/015,994, filed Nov. 1, 2001, titled "WEIGHTED FAIR QUEUE SERVING PLURAL OUTPUT PORTS" (IBM Docket No. ROC920010200US1); [0005] U.S. patent application Ser. No. 10/015,760, filed Nov. 1, 2001, titled "WEIGHTED FAIR QUEUE HAVING ADJUSTABLE SCALING FACTOR" (IBM Docket No. ROC920010201US1); [0006] U.S. patent application Ser. No. 10/002,085, filed Nov. 1, 2001, titled "EMPTY INDICATORS FOR WEIGHTED FAIR QUEUES" (IBM Docket No. ROC920010202US1); [0007] U.S. patent application Ser. No. 10/004,373, filed Nov. 1, 2001, titled "QoS SCHEDULER AND METHOD FOR IMPLEMENTING PEAK SERVICE DISTANCE USING NEXT PEAK SERVICE TIME VIOLATED INDICATION" (IBM Docket No. ROC920010203US1); [0008] U.S. patent application Ser. No. 10/002,416, filed Nov. 1, 2001, titled "QoS SCHEDULER AND METHOD FOR IMPLEMENTING QUALITY OF SERVICE WITH AGING STAMPS" (IBM Docket No. ROC920010204US1); [0009] U.S. patent application Ser. No. 10/004,440, filed Nov. 1, 2001, titled "QoS SCHEDULER AND METHOD FOR IMPLEMENTING QUALITY OF SERVICE WITH CACHED STATUS ARRAY" (IBM Docket No. ROC920010205US1); and [0010] U.S. patent application Ser. No. 10/004,217, filed Nov. 1, 2001, titled "QoS SCHEDULER AND METHOD FOR IMPLEMENTING QUALITY OF SERVICE ANTICIPATING THE END OF A CHAIN OF FLOWS" (IBM Docket No. ROC920010206US1). FIELD OF THE INVENTION [0011] The present invention is concerned with data and storage communication systems and is more particularly concerned with a network processor that includes a scheduler component. BACKGROUND OF THE INVENTION [0012] Data and storage communication networks are in widespread use. In many data and storage communication networks, data packet switching is employed to route data packets or frames from point to point between source and destination, and network processors are employed to handle transmission of data into and out of data switches. [0013] FIG. 1 is a block diagram illustration of a conventional network processor in which the present invention may be applied. The network processor, which is generally indicated by reference numeral 10, may be constituted by a number of components mounted on a card or "blade". Within a data communication network, a considerable number of blades containing network processors may be interposed between a data switch and a data network. [0014] The network processor 10 includes data flow chips 12 and 14. The first data flow chip 12 is connected to a data switch 15 (shown in phantom) via first switch ports 16, and is connected to a data network 17 (shown in phantom) via first network ports 18. The first data flow chip 12 is positioned on the ingress side of the switch 15 and handles data frames that are inbound to the switch 15. [0015] The second data flow chip 14 is connected to the switch 15 via second switch ports 20 and is connected to the data network 17 via second network ports 22. The second data flow chip 14 is positioned on the egress side of the switch 15 and handles data frames that are outbound from the switch 15. [0016] As shown in FIG. 1, a first data buffer 24 is coupled to the first data flow chip 12. The first data buffer 24 stores inbound data frames pending transmission of the inbound data frames to the switch 15. A second data buffer 26 is coupled to the second data flow chip 14, and stores outbound data frames pending transmission of the outbound data frames to the data network 17. [0017] The network processor 10 also includes a first processor chip 28 coupled to the first data flow chip 12. The first processor chip 28 supervises operation of the first data flow chip 12 and may include multiple processors. A second processor chip 30 is coupled to the second data flow chip 14, supervises operation of the second data flow chip 14 and may include multiple processors. [0018] A control signal path 32 couples an output terminal of second data flow chip 14 to an input terminal of first data flow chip 12 (e.g., to allow transmission of data frames therebetween). [0019] The network processor 10 further includes a first scheduler chip 34 coupled to the first data flow chip 12. The first scheduler chip 34 manages the sequence in which inbound data frames are transmitted to the switch 15 via first switch ports 16. A first memory 36 such as a fast SRAM is coupled to the first scheduler chip 34 and stores data frame pointers (in the form of flow queues) and flow control information (in the form of flow queue control blocks ("FQCBs") 37). Flow queues are discussed further below. The first memory 36 may be, for example, a QDR (quad data rate) SRAM. [0020] A second scheduler chip 38 is coupled to the second data flow chip 14. The second scheduler chip 38 manages the sequence in which data frames are output from the second network ports 22 of the second data flow chip 14. Coupled to the second scheduler chip 38 are at least one and possibly two memories (e.g., fast SRAMs 40) for storing data frame pointers and flow control information. The memories 40 may, like the first memory 36, be QDRs. The additional memory 40 on the egress side of the network processor 10 may be needed because of a larger number of flows output through the second network ports 22 than through the first switch ports 16. [0021] FIG. 2 schematically illustrates conventional queuing arrangements that may be provided for a data flow chip/scheduler pair (either the first data flow chip 12 and the first scheduler chip 34 or the second data flow chip 14 and the second scheduler chip 38) of the network processor 10 of FIG. 1. In the particular example illustrated in FIG. 2, the first data flow chip 12 and the first scheduler chip 34 are illustrated, but a very similar queuing arrangement may be provided in connection with the second data flow chip 14 and the second scheduler chip 38. In the queuing arrangement for the first data flow chip 12 and the first scheduler chip 34, incoming data frames (from data network 17) are buffered in the input data buffer 24 associated with the first data flow chip 12 (FIG. 1). Each data frame is associated with a data flow or "flow". As is familiar to those who are skilled in the art, a "flow" represents a one-way connection between a source and a destination. [0022] Flows with which the incoming data frames are associated are enqueued in ("attached to") a scheduling queue 42 maintained in the first scheduler chip 34. The scheduling queue 42 defines a sequence in which the flows attached thereto are to be serviced. The particular scheduling queue 42 of interest in connection with the present invention is a weighted fair queue which arbitrates among flows entitled to a "best effort" or "available bandwidth" Quality of Service (QoS). [0023] As shown in FIG. 2, the scheduling queue 42 is associated with a respective output port 44 of the first data flow chip 12. It is to be understood that the output port 44 is one of the first switch ports 16 illustrated in FIG. 1. (However, if the data flow chip/scheduler pair under discussion were the egress side data flow chip 14 and scheduler chip 38, then the output port 44 would be one of the network ports 22.) Although only one scheduling queue 42 and one corresponding output port 44 are shown, it should be understood that in fact there may be plural output ports and corresponding scheduling queues each assigned to a respective port. (However, according to an alternative embodiment, disclosed in above-referenced co-pending patent application Ser. No. 10/015,994, filed Nov. 1, 2001 (Attorney Docket No. ROC920010200US1), a group of output ports may be associated with each scheduling queue 42). [0024] Although not indicated in FIG. 2, the first scheduler chip 34 also includes flow scheduling calendars which define output schedules for flows which are entitled to a scheduled QoS with guaranteed bandwidth, thus enjoying higher priority than the flows governed by the scheduling queue 42. [0025] The memory 36 associated with the first scheduler chip 34 holds pointers ("frame pointers") to locations in the first data buffer 24 corresponding to data frames associated with the flows enqueued in the scheduling queue 42. The frame pointers are listed in flow queues (not separately shown), each of which corresponds to a respective flow that is or may be attached to the scheduling queue 42. The flow queue indicates an order in which frames associated with the flow were received and are to be dispatched. [0026] The memory 36 also stores flow control information, such as information indicative of the QoS to which flows are entitled. The flow control information is stored in flow queue control blocks ("FQCBs"), each of which corresponds to a respective one of the flow queues. [0027] When the scheduling queue 42 indicates that a particular flow attached thereto is the next to be serviced, reference is made to the first frame pointer in the corresponding flow queue in the memory 36 and the corresponding frame data is transferred from the first data buffer 24 to an output queue 46 associated with the output port 44. At the same time, the flow is detached from the scheduling queue 42, and, assuming that at least one more frame pointer remains in the corresponding flow queue, is reattached to the scheduling queue in accordance with a procedure that is described below. [0028] A more detailed representation of the scheduling queue 42 is shown in FIG. 3. As noted above, the scheduling queue 42 is used for weighted fair queuing of flows serviced on a "best effort" basis. In a particular example of a scheduling queue as illustrated in FIG. 3, the scheduling queue 42 has 512 slots (each slot represented by reference numeral 48). Other numbers of slots may be employed. In accordance with conventional practice, flows are enqueued to the scheduling queue 42 in the case of a "reattachment" based on a formula that takes into account both a length of a data frame associated with a flow to be reattached and a weight which corresponds to a QoS to which the flow is entitled. [0029] More specifically, the queue slot in which a flow is placed upon reattachment is calculated according to the formula CP+((WF.times.FS)/SF), where CP is a pointer ("current pointer") that indicates a current position (the slot currently being serviced) in the scheduling queue 42; WF is a weighting factor associated with the flow to be enqueued, the weighting factor having been determined on the basis of the QoS to which the flow is entitled; FS is the size of the frame currently being dispatched for the flow to be reattached; and SF is a scaling factor chosen to scale the product (WF.times.FS) so that the resulting quotient falls within the range defined by the scheduling queue 42. (In accordance with conventional practice, the scaling factor SF is conveniently defined as an integral power of 2--i.e., SF=2.sup.n, with n being a positive integer--so that scaling the product (WF.times.FS) is performed by right shifting.) With this known weighted fair queuing technique, the weighting factors assigned to the various flows in accordance with the QoS assigned to each flow govern how close to the current pointer of the queue each flow is enqueued. In addition, flows which exhibit larger frame sizes are reattached farther from the current pointer of the queue, to prevent such flows from appropriating an undue proportion of the available bandwidth of the queue. Upon reattachment, data that identifies a flow (the "Flow ID") is stored in the appropriate queue slot 48. Continue reading about Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler... Full patent description for Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler Brief Patent Description - Full Patent Description - Patent Application Claims Click on the above for other options relating to this Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler patent application. ### 1. Sign up (takes 30 seconds). 2. Fill in the keywords to be monitored. 3. Each week you receive an email with patent applications related to your keywords. Start now! - Receive info on patent apps like Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler or other areas of interest. ### Previous Patent Application: Multilevel coupled policer Next Patent Application: Method and communication system for optimizing the throughput of a tcp flow in a wireless network Industry Class: Multiplex communications ### FreshPatents.com Support Thank you for viewing the Method and apparatus for improving the fairness of new attaches to a weighted fair queue in a quality of service (qos) scheduler patent info. IP-related news and info Results in 0.1335 seconds Other interesting Feshpatents.com categories: Tyco , Unilever , Warner-lambert , 3m 174 |
* Protect your Inventions * US Patent Office filing
PATENT INFO |
|