Packet switch

A packet switch which can cyclically use &agr; scheduling process results to determine one of M output lines as a destination of a packet stored in each of N input buffer sections by &agr; scheduler sections independently performing scheduling processes is disclosed.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

[0001] The present invention relates to a packet switch for outputting packets input through an input line after allocating them to a plurality of output lines.

[0002] With an increasing number of Internet users at home and with the remarkable growth of Internet business, an Internet backbone network of a larger capacity and higher quality is strongly demanded. Currently, Internet is mainly operated in best-effort communications without quality guarantee. However, Internet in the future generation is expected to provide real time data communications using voice, video data, etc. in addition to the best-effort communications. Therefore, it is necessary for a network node to provide the service quality QoS (Quality of Service) appropriate for various communications services by acquiring a terabit switching capacity with which various types of traffic can be flexibly accommodated. It is considered that the probable means for realizing a node having a terabit switching capacity is an input buffer packet switch capable of performing a process at a high memory access speed.

[0003] Various scheduling algorithms have been conventionally suggested for input buffer packet switches. They can be roughly grouped into the following two methods based on the assignment of scheduling functions, that is, a method of distributing and assigning the scheduling functions to interface cards, etc. and a method of assigning the scheduling functions collectively to exclusive cards, etc.

[0004] FIGS. 22 and 23 show the distribution of the scheduling functions in the conventional input buffer packet switch. FIG. 22 shows the configuration of the packet switch in which the scheduling functions are distributed and fed. FIG. 23 shows the configuration of the packet switch in which the scheduling functions are collectively assigned.

[0005] As shown in FIG. 22, the input buffer packet switch in which the scheduling functions are distributed and assigned includes an interface card 100 containing an input buffer and a scheduler for each input line. The scheduling information can be transmitted and received (a notification of an undefined line can be given) among schedulers by interconnecting the schedulers in the adjacent interface cards 100, and the scheduling process can be performed for all input lines. When the number of input lines increases or decrease, the number of interface cards 100 can also be increased or decreased to be equal to the number of the input lines. Therefore, the input buffer packet switch with the configuration shown in FIG. 22 excels in extensibility.

[0006] On the other hand, as shown in FIG. 23, the input buffer packet switch in which the scheduling functions are collectively assigned includes a scheduling function section for all input lines collectively in one scheduler card 110, thereby performing a scheduling process on all input lines. Since the length of the wiring between the scheduling function sections is short, the wiring reduces a delay, and the restrictions placed by the delay time of a signal when the switch is installed can be considerably reduced.

[0007] However, since it is necessary for the conventional input buffer packet switch in which the scheduling functions are distributed and assigned to interconnect the schedulers provided in each of the installed interface cards 100, the length of the connection line causes a delay, thereby placing more restrictions when a high-speed packet switch is installed.

[0008] In the conventional input buffer packet switch in which the scheduling function sections are collectively assigned, it is necessary for the scheduler card 110 to be provided with the largest possible number of scheduling function sections even when there are a small number of the input lines actually. After installing the scheduling function sections, the number of the sections is fixed. Therefore, this switch is wasteful and poor in extensibility.

SUMMARY OF THE INVENTION

[0009] The present invention has been achieved to solve the above mentioned problems, and aims at providing a packet switch which has less restrictions when it is installed, and can reduce a wasteful configuration, and excels in extensibility.

[0010] The packet switch according to the present invention includes N input buffer sections and &agr; scheduler sections, and switch section. The N input buffer sections are provided respectively for N input lines, and store packets input through the corresponding input lines. The &agr; scheduler sections independently perform respective scheduling processes, and each section determines an output line among the M output lines to which the packet stored in each of the N input buffer sections is transmitted. A switch section outputs the packet output from each of the N input buffer sections to the output line determined by the scheduler sections. The above mentioned N input buffer sections cyclically use the results of the scheduling processes performed by the &agr; scheduler sections. Since the plurality of scheduler sections independently perform the scheduling processes, it is not necessary to control the conflict among the scheduler sections, etc., thereby causing no problem of signal delays, etc. and considerably reducing the restrictions when the switch is installed. Furthermore, since only the scheduler sections of the necessary number are to be provided, a wasteful configuration can be avoided. Additionally, since the scheduler sections can be added later, an extensible packet switch can be realized.

[0011] Especially, the scheduling process is performed by the above mentioned scheduler section in response to the scheduling request notification transmitted from the N input buffer sections. It is desired that each of the N input buffer sections distributes the scheduling request notification to a different scheduler section. By distributing the scheduling request notification to a different scheduler section, the loads of the processes can be equally distributed among the scheduler sections.

[0012] Furthermore, the above mentioned input buffer sections have M queues storing the packets to be transmitted to the M output lines. It is desired that the scheduling request notification is cyclically transmitted to the scheduler sections for each of the M queues. By transmitting the scheduling request notification cyclically to the scheduler sections for each of the M queues, the scheduling request notification can be distributed equally among the scheduler sections.

[0013] It is also desired that the above mentioned input buffer section transmits the scheduling request notification cyclically to the scheduler sections for each input line. By transmitting the scheduling request notification cyclically to the scheduler sections for each input line, the scheduling request notification can be distributed equally among the scheduler sections.

[0014] It is desired that the abovementioned input buffer section transmits the scheduling request notification cyclically to the scheduler sections for each unit time. By transmitting the scheduling request notification cyclically to the scheduler sections for each unit time, the scheduling request notification can be distributed equally among the scheduler sections.

[0015] It is further desired that the above mentioned input buffer section checks the number of unprocessed scheduling request notifications for each of the &agr; scheduler sections such that the next scheduling request notification can be transmitted to the scheduler section of the smallest number. By transmitting a scheduling request notification by priority to the scheduler section having the smallest number of actually received scheduling request notifications, the scheduling request notifications can be distributed equally among the scheduler sections.

[0016] It is further desired that the above mentioned input buffer section manages the number of scheduling request notifications transmitted to each of the &agr; scheduler sections such that the operation of transmitting a scheduling request notification to the scheduler section having the number equal to or larger than a predetermined number of scheduling request notifications can be delayed until the number becomes smaller than the predetermined number. By the input buffer section distributing the function of managing the number of scheduling request notifications, the load of each scheduler section can be reduced.

[0017] When the time required by the scheduler section to perform the scheduling process is L times as long as the smallest transmission intervals of packets, it is desired that the number &agr; of the scheduler sections is set to a value equal to or larger than a multiple L. By setting the number &agr; of the scheduler sections to a value equal to or larger than a multiple L, the scheduling process can be performed without delay as the entire &agr; scheduler sections.

[0018] Furthermore, it is desired that L−&agr; is equal to or larger than 1 (that is, there are L or more schedulers), and N input buffer sections cyclically use the results of the scheduling processes of all of &agr; scheduler sections. By setting the number of scheduler sections to a value larger than the threshold required to avoid the delay in performing a process, remaining scheduler sections can normally continue the scheduling process even if a part of the entire scheduler sections become faulty.

[0019] It is also desired that, when L−&agr; is set to equal to or larger than 1, &agr;−L scheduler sections are used as a redundant system so that, when the scheduler sections other than the redundant system become faulty, the scheduler sections in the redundant system can replace the faulty sections. By performing the scheduling process by the scheduler sections in the redundant system when a fault occurs, the scheduling process can be normally continued without delay.

[0020] Furthermore, it is desired to set each of the number &agr; of the scheduler sections and the time required for the scheduling process variable depending on the number N of input lines and the number M of output lines. When the number of lines is small, the number of scheduler sections and the processing time are set to small values. On the other hand, when the number of lines is large, the number of scheduler sections and the processing time are set to large values. Thus, the optimum configuration can be realized without waste depending on the number of lines, etc. accommodated by the switch section.

[0021] It is further desired that the above mentioned scheduler sections perform the scheduling process using lines including unused lines so that a plurality of results of scheduling processes can be obtained from one scheduling process by switching lines between the unused lines and the actually used input and output lines. Thus, the number of lines can be changed without changing the number of scheduler sections or the processing time, thereby realizing an extensible packet switch.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG. 1 shows a configuration of a packet switch according to an embodiment of the present invention;

[0023] FIG. 2 shows a detailed configuration of an input buffer section;

[0024] FIG. 3 shows a detailed configuration of a scheduler section;

[0025] FIG. 4 shows a practical example of a load-distributed scheduling process;

[0026] FIG. 5 shows another example of the load-distributed scheduling process;

[0027] FIG. 6 shows a practical example of distributing request notifications for each logic queue;

[0028] FIG. 7 shows a practical example of distributing request notifications for each input line;

[0029] FIG. 8 shows a practical example of distributing request notifications for each unit time;

[0030] FIG. 9 shows a practical example of distributing request notifications by an input buffer section referring to the number of requests managed by each scheduler section;

[0031] FIG. 10 shows a practical example when the function of managing the number of requests are distributed and assigned to the input buffer sections and the scheduler sections;

[0032] FIG. 11 shows a practical example when the function of managing the number of requests are distributed and assigned to the input buffer sections and the scheduler sections;

[0033] FIG. 12 shows a practical example when the function of managing the number of requests are distributed and assigned to the input buffer sections and the scheduler sections;

[0034] FIG. 13 shows a practical example when the function of managing the number of requests are distributed and assigned to the input buffer sections and the scheduler sections;

[0035] FIG. 14 shows a practical example when the function of managing the number of requests are distributed and assigned to the input buffer sections and the scheduler sections;

[0036] FIG. 15 shows a practical example the scheduler sections of a redundant system are not fixed;

[0037] FIG. 16 shows a practical example the scheduler sections of a redundant system are fixed;

[0038] FIG. 17 shows the outline of the scheduling process when the maximum 4×4 packet switch is configured;

[0039] FIG. 18 shows the outline of the scheduling process when a small 2×2 packet switch is configured;

[0040] FIG. 19 shows the outline of the scheduling process by a small packet switch with the throughput protected against deterioration;

[0041] FIG. 20 shows an outline of the scheduling process by a small packet switch with the throughput protected against deterioration;

[0042] FIG. 21 shows a practical example of the scheduling process of obtaining a plurality of scheduling results in one scheduling period;

[0043] FIG. 22 shows a configuration of a conventional packet switch in which scheduling functions are distributed; and

[0044] FIG. 23 shows the configuration of the conventional packet switch in which scheduling functions are collectively assigned.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0045] Described below in detail are embodiments of the present invention.

[0046] FIG. 1 shows a configuration of the packet switch according to an embodiment of the present invention. As shown in FIG. 1, a packet switch 100 according to an embodiment of the present invention comprises a switch section (SW) 10, N input buffer sections 20, and &agr; scheduler sections 30.

[0047] The switch section 10 outputs a packet input through one of the N input lines to one of the M output lines. According to the present embodiment, the switch section 10 includes no buffer, and cannot store a packet. Each of the N input buffer sections 20 is provided respectively corresponding to each of the N input lines accommodated in the switch section 10. Each of the input buffer sections 20 is provided with M logic queues VOQ (Virtual Output Queue) corresponding to the M output lines accommodated by the switch section 10, accumulates a received packet input through a one-to-one corresponding input line in the logic queue VOQ corresponding to the destination output line, and reads the leading packet in the logic queue VOQ specified by a grant notification which indicates the permission to output a packet, and is transmitted from any of the scheduler sections 30. Each of the &agr; scheduler sections 30 performs a scheduling process to determine a destination output line of a packet input through each input line. Thus, by concurrently performing scheduling processes in &agr; scheduler sections 30, the load of the process performed by each scheduler section 30 can be reduced. In the present specification, the scheduling processes performed by the plurality of scheduler sections 30 are referred to as a load-distributed scheduling process.

[0048] FIG. 2 shows a detailed configuration of the input buffer section 20. As shown in FIG. 2, the input buffer section 20 comprises a packet buffer 22 including the above mentioned M logic queues VOQ, a request allotment section 24, and a read instruction section 26. The request allotment section 24 distributes request notifications which are the scheduling request notifications corresponding to the packets accumulated in each logic queue VOQ in the packet buffer 22 equally to the &agr; scheduler sections 30. The read instruction section 26 issues a read instruction to the logic queue VOQ in the packet buffer 22 whose packet transmission timing is reached based on the contents of the grant notifications transmitted from the &agr; scheduler sections 30.

[0049] FIG. 3 shows a detailed configuration of the scheduler section 30. As shown in FIG. 3, the scheduler section 30 comprises a request number management section 32 and a scheduling control section 34. The request number management section 32 increments the number of requests corresponding to the combination of an input line and a logic queue VOQ when a request notification corresponding to the combination is received, and decrements the number of requests when the scheduling process is specified. The scheduling control section 34 determines the destination output lines of the packet to be output at a timing T from each input line according to a predetermined algorithm. Practically, the scheduling control section 34 selects one of the output lines having the number of requests counted by the request number management section 32 equal to or larger than 1 for each input line.

[0050] Since the scheduling processes are concurrently performed by the &agr; scheduler sections 30 according to the present embodiment, each scheduler section 30 can perform the scheduling process taking its time a times as long as the time taken by the scheduling process performed by one scheduler section. For example, assuming that the time required to transmit a packet input through each input line to a corresponding output line is ‘one packet hour’, each scheduler section 30 can perform within &agr; packet hours the scheduling process of determining a destination output line of a packet input through each of the N input lines.

[0051] The packet switch 100 according to the present embodiment has the above mentioned configuration. Described below is the scheduling process of the packet switch.

[0052] (1) Operations of the Input Buffer Section 20

[0053] (1a) When a packet is input through a corresponding input line, the packet buffer 22 stores the packet in the logic queue VOQ corresponding to the destination output line of the packet.

[0054] (1b) When a packet is stored in any of the logic queues VOQ in the packet buffer 22, the request allotment section 24 transmits a request notification requesting the scheduling process corresponding to the packet to one scheduler section 30. At this time, the scheduler section 30 to which the request notification is transmitted is distributed.

[0055] (1c) When a grant notification is received from any of the scheduler sections 30, the read instruction section 26 instructs the packet buffer 22 to output the leading packet in the logic queue VOQ specified by the grant notification to the output line one-to-one corresponding to the logic queue VOQ.

[0056] (2) Operations of the Scheduler Section 30

[0057] The operations of the &agr; scheduler section 30 are independent of each other, and the number of request notifications (number of requests) received from each input buffer section 20 is managed for each logic queue VOQ. Therefore, each scheduler section 30 performs a scheduling process depending on whether or not there is a request notification addressed to itself. The scheduling algorithm can adopt various conventional methods. Described below is the operation of selecting a logic queue VOQ for each output line in the round-robin scheduling.

[0058] (2a) When a request notification is received from each input buffer section 20, the request number management section 32 checks the contents of the request notification, and counts the number of requests for each combination of an input line and a logic queue VOQ.

[0059] (2b) The scheduling control section 34 pays its attention to one input line, and selects one of the logic queues VOQ which is specified by the received request notification, and has not been selected (specified) in the preceding scheduling processes. The process of selecting a logic queue VOQ for each input line is sequentially performed cyclically on all input lines. Thus, the destination output line of each of the input packets can be determined.

[0060] (2c) The scheduling control section 34 transmits a grant notification with the logic queue VOQ specified for each input line to the read instruction section 26 in each input buffer section 20.

PRACTICAL EXAMPLE 1

[0061] FIG. 4 shows a practical example of a load-distributed scheduling process. FIG. 4 shows a practical example of a scheduling process in which the number &agr; of the input lines, the output lines, and the scheduler sections 30 is 2 for simple explanation. In the following explanation and FIG. 4, two input lines, two output lines and the logic queues VOQ corresponding to each of the output lines are assigned the serial numbers of #0 and #1 for identification. One of the two scheduler sections 30 is referred to as a scheduler #0 (SCH#0), and the other as a scheduler #1 (SCH#1). Similarly, one of the two input buffer sections 20 corresponding to the input lines #0 and #1 is referred to as an input buffer section #0, and the other as an input buffer section #1. Each configuration included in them are assigned either #0 or #1 after each name for identification of a corresponding input line.

[0062] Operations of the Input Buffer Sections

[0063] One input buffer section #0 sequentially receives four packets (1), (2), (3), and (4) through an input line #0. Among them, the first, second, and third packets (1), (2), and (3) are assigned the destination output line #0, and only the fourth packet (4) is assigned the output line #1. Therefore, the packet buffer #0 in the input buffer section #0 stores the first, second, and third packets (1), (2), and (3) in the logic queue VOQ #0, and the fourth packet (4) in the logic queue VOQ #1. The request allotment section #0 transmits a request notification to one scheduler section #0 upon receipt of the first, third, and fourth packets (1), (3), and (4), and transmits a request notification to the other scheduler section #1 upon receipt of the second packet (2). The request notification includes an input line number, an output line number (number of a logic queue VOQ), ‘enable’, etc.

[0064] The other input buffer section #1 sequentially receives the fifth and sixth packets (5) and (6) through the input line #1. These two packets (5) and (6) are assigned the destination output line #1. Therefore, the packet buffer #1 in the input buffer section #1 stores these fifth and sixth packets (5) and (6) in the logic queue VOQ #1. The request allotment section #1 transmits a request notification to one scheduler section #0 upon receipt of the fifth packet (5), and transmits a request notification to the other scheduler section #1 upon receipt of the sixth packet (6).

[0065] Operations of the Scheduler Sections

[0066] The scheduler sections #0 and #1 independently operate, and manage the number of received request notifications for each logic queue VOQ by the included request management sections #0 and #1. The scheduler sections #0 and #1 perform load-distributed scheduling processes described below depending on the number of the requests managed by the request management sections #0 and #1. It is assumed that the scheduling processes performed by the round-robin scheduling system are performed in the order of the input line #1 and the input line #0.

[0067] For example, the scheduling control section #1 in the scheduler section #1 first determines whether or not there is a request notification about all logic queues VOQ corresponding to the input line #1, and selects by the round-robin scheduling system one of the logic queues VOQ which has received a request notification but has not been assigned the destination of a packet. In the example shown in FIG. 4, only a request notification corresponding to the logic queue VOQ #1 is issued relating to the input line #1 (i#1). However, since the logic queue VOQ #1 has not been assigned, the logic queue VOQ #1 is selected.

[0068] Then, the scheduling control section #1 in the scheduler section #1 determines that the logic queue VOQ #1 selected in the above mentioned process has been entered as an assigned queue, and performs a similar scheduling process on the next input line #0 as a different input line number. In the example shown in FIG. 4, request notifications corresponding to the logic queues VOQ #0 and #1 have been issued relating to the input line #0. Since the logic queue VOQ #1 has been assigned, the logic queue VOQ #0 is selected.

[0069] Thus, the scheduling control section #1 in the scheduler section #1 performs the scheduling processes for all input lines within &agr; (=2) packet hours.

[0070] Similarly, in the scheduling control section #0 in the scheduler section #0, the scheduling processes are performed for all input lines within a packet hours. As a result, the scheduling results of the scheduler sections #0 and #1 in a period A are determined as follows.

[0071] scheduler section #0: input line #0→output line #1

[0072] scheduler section #1: input line #0→output line #0

[0073] input line #1→output line #1

[0074] Each scheduling result of each of &agr; (two) scheduler sections #0 and #1 is transmitted as a grant notification to all input buffer sections #0 and #1. The read instruction sections #0 and #1 in the input buffer sections #0 and #1 cyclically use the scheduling results of the scheduler sections #0 and #1 alternately operated every one packet hour, and transmit an instruction to read a packet from the start of the logic queue VOQ corresponding to the output line specified as the destination of a packet to the packet buffers #0 and #1.

[0075] In the example shown in FIG. 4, in the period B to be performed after the period A in which the above mentioned scheduling process has been performed, the scheduling result of the scheduler section #0 is used in the first 1 packet hour (T=a). That is, the leading packet (fourth packet (4)) in the logic queue VOQ #1 in the input buffer section #0 is transmitted to the output line #1.

[0076] In the next 1 packet hour (T=a+1) in the period B, the scheduling result of the scheduler section #1 is used. That is, the leading packet (first packet (1)) in the logic queue VOQ #0 in the input buffer section #0 is transmitted to the output line #0, and the leading packet (fifth packet (5)) in the logic queue VOQ #1 in the input buffer section #1 is transmitted to the output line #1.

[0077] It is apparent that the request notification transmitted from each of the input buffer sections #0 and #1 does not one-to-one correspond to an actually transmitted packet. For example, when the input buffer section #0 receives the first packet (1) and stores it in the logic queue VOQ #0, a request notification (1) is transmitted to the scheduler section #0. However, the first packet (1) is transmitted actually to the output line #0 at the timing of 1 packet hour (T=a+1) in the second half of the period B, and based on the scheduling result of the scheduler section #1. The above mentioned operations are performed to read the leading packet of the logic queue VOQ always in response to the grant notification transmitted regardless of the correspondence between the request notification and the grant notification to avoid the passing in the same logic queue VOQ or the influence of the HOL blocking, etc. by the distribution of request notifications between the scheduler sections #0 and #1.

PRACTICAL EXAMPLE 2

[0078] FIG. 5 shows another practical example of the load-distributed scheduling process. The practical example is the scheduling process in which the number &agr; of the input lines, the output lines, and the scheduler sections 30 is 4. In FIG. 5, the SCH #0 through SCH #3 respectively indicate the four scheduler sections 30 (scheduler sections #0 through #3). The ‘Scheduling→Result #0-1’ indicates that the scheduling result specified by the ‘#0-1’ is obtained in the scheduling process.

[0079] In the practical example shown in FIG. 5, four scheduler sections #0 through #3 are independently performing scheduling processes, and four scheduling results (Result #0-1 through #3-1) are obtained at the end of the first period (T=0 through 3) corresponding to 4 packet hours. Based on these scheduling results, a packet is transmitted in the second period (T=4 through 7) corresponding to the next four packet hours.

[0080] Practically, in the first packet hour (T=4) in the second period, the scheduling result ‘Result #0-1’ by the scheduler section #0 (SCH #0) is used. As a result, a packet is transmitted based on the following contents. The left side items indicate the input lines through which packets are input. The right side items indicate to which output lines the packets are transmitted based on the scheduling results.

[0081] input line #0 (i#0)→output line #2 (o#2)

[0082] input line #1 (i#1)→output line #0 (o#0)

[0083] input line #2 (i#2)→output line #3 (o#3)

[0084] input line #3 (i#3)→output line #1 (o#1)

[0085] In the next packet hour (T=5) in the second period, the scheduling result ‘Result #1-1’ by the scheduler section #1 (SCH #1) is used. As a result, a packet is transmitted based on the following contents.

[0086] input line #0 (i#o)→output line #2 (o#2)

[0087] input line #1 (i#1)→(not transmitted yet)

[0088] input line #2 (i#2)→output line #0 (o#0)

[0089] input line #3 (i#3)→output line #3 (o#3)

[0090] In the next packet hour (T=6) in the second period, the scheduling result ‘Result #2-1’ by the scheduler section #2 (SCH #2) is used. As a result, a packet is transmitted based on the following contents.

[0091] input line #0 (i#0)→(not transmitted yet)

[0092] input line #1 (i#1)→output line #1 (o#1)

[0093] input line #2 (i#2)→output line #0 (o#0)

[0094] input line #3 (i#3)→output line #2 (o#2)

[0095] In the last packet hour (T=7) in the second period, the scheduling result ‘Result #3-1’ by the scheduler section #3 (SCH #3) is used. As a result, a packet is transmitted based on the following contents.

[0096] input line #0 (i#0)→output line #0 (o#0)

[0097] input line #1 (i#1)→output line #2 (o#2)

[0098] input line #2 (i#2)→output line #1 (o#1)

[0099] input line #3 (i#3)→output line #3 (o#3)

[0100] Thus, by the four scheduler sections #0 through #3 independently performing the scheduling processes, the scheduling results are used by the scheduler sections #0 through #3 at different timings although conflicting scheduling results are obtained, thereby causing no disadvantage. Therefore, it is not necessary to provide a connection line, etc. for conflict control among the scheduler sections #0 through #3. As a result, there is no problem of a signal delay due to the connection line, thereby considerably reducing the restrictions when the switch is installed. Furthermore, since it is necessary only to provide the required number of scheduler sections, the configuration is free of waste. Additionally, since the sections can be added later as necessary, an extensible packet switch 100 can be realized.

[0101] In the explanation above, the scheduling results obtained by the &agr; scheduler sections #0, . . . , #&agr;−1 are simultaneously transmitted to the respective input buffer sections, and each input buffer section cyclically uses the scheduling results by different scheduler sections every packet hour. However, it is also possible to transmit packets to the input buffer sections with the timings of transmitting scheduling results of the scheduler sections shifted by 1 packet hour for each scheduler section.

[0102] Distribution of Request Notifications

[0103] As described above, it is desired to distribute request notifications transmitted from the input buffer sections 20 equally in all scheduler sections 30 to perform the load-distributed scheduling process using &agr; scheduler sections 30.

[0104] Described below is the method of distributing the request notifications from the input buffer section 20 to the scheduler section 30.

[0105] When Request Notifications are Distributed for Each Logic Queue VOQ;

[0106] FIG. 6 shows a practical example of distributing request notifications for each logic queue VOQ in the input buffer section 20. In FIGS. 6 through 9, it is assumed that four input buffer sections 20 (#0 through #3) and four scheduler sections 30 (#0 through #3) are provided.

[0107] The request allotment sections #0 through #3 in the input buffer sections #0 through #3 have allotment pointers for each logic queue VOQ, and transmit request notifications to the scheduler sections indicated by the values of the allotment pointers when a packet is transmitted via an input line. In FIG. 6, the pointer values are indicated by the values enclosed by circles in the input buffer sections #0 and #3.

[0108] Described below are the practical operations of the request allotment section #0 in the input buffer section #0 corresponding to the input line #0. In the initial status, it is assumed that the values of the allotment pointers of the four logic queue #0 through #3 corresponding to the input line #0 are set to 0, 1, 3, and 1 respectively.

[0109] When T=0, upon receipt of the packet (0_1) with the output line #3 (o#3) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #3. The request allotment section #0 transmits a request notification to the scheduler section #1 corresponding to the value by referring to the value ‘1’ of the allotment pointer corresponding to the logic queue VOQ #3. After transmitting the request notification, the value of the allotment pointer corresponding to the logic queue VOQ #3 is updated into 2.

[0110] When T=1, upon receipt of the packet (0_2) with the output line #0 (o#0) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #0. The request allotment section #0 transmits a request notification to the scheduler section #0 corresponding to the value by referring to the value ‘0’ of the allotment pointer corresponding to the logic queue VOQ #0. After transmitting the request notification, the value of the allotment pointer corresponding to the logic queue VOQ #0 is updated into 1.

[0111] When T=2, upon receipt of the packet (0_3) with the output line #3 (o#3) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #3. The request allotment section #0 transmits a request notification to the scheduler section #2 corresponding to the value by referring to the value ‘2’ of the allotment pointer corresponding to the logic queue VOQ #3 updated when T=0. After transmitting the request notification, the value of the allotment pointer corresponding to the logic queue VOQ #3 is updated into 3.

[0112] When T=4, upon receipt of the packet (0_4) with the output line #0 (o#0) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #0. The request allotment section #0 transmits a request notification to the scheduler section #1 corresponding to the value by referring to the value ‘1’ of the allotment pointer corresponding to the logic queue VOQ #0 updated when T=1. After transmitting the request notification, the value of the allotment pointer corresponding to the logic queue VOQ #0 is updated into 2.

[0113] Thus, in each of the input buffer sections #0 through #3, the request notifications to be transmitted from the input buffer sections #0 to #N−1 can be distributed among the scheduler sections #0 to #&agr;−1 by distributing the request notifications generated corresponding to one logic queue VOQ equally to &agr; scheduler sections #0 to #&agr;−1.

[0114] When Request Notifications are Distributed for Each Input Line;

[0115] FIG. 7 shows a practical example of distributing request notifications for each input line.

[0116] The request allotment sections #0 through #3 in the input buffer sections #0 through #3 have a shared allotment pointer for all logic queues VOQ, and transmit request notifications to the scheduler sections #0 through #3 indicated by the values of the allotment pointers when a packet is transmitted via an input line. In FIG. 7, the pointer values are indicated by the values enclosed by circles in the input buffer sections #0 and #3.

[0117] Described below are the practical operations of the request allotment section #0 in the input buffer section #0 corresponding to the input line #0. In the initial status, it is assumed that the values of the allotment pointers corresponding to the input line #0 are set to 0.

[0118] When T=0, upon receipt of the packet (0_1) with the output line #3 (o#3) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #3. The request allotment section #0 transmits a request notification to the scheduler section #0 corresponding to the value by referring to the value ‘0’ of the shared allotment pointer. After transmitting the request notification, the value of the allotment pointer is updated into 1.

[0119] When T=1, upon receipt of the packet (0_2) with the output line #0 (o#0) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #0. The request allotment section #0 transmits a request notification to the scheduler section #1 corresponding to the value by referring to the value ‘1’ of the allotment pointer updated when T=0. After transmitting the request notification, the value of the allotment pointer is further updated into 2.

[0120] Similar operations are performed when and after T=2. That is, when a packet is received and stored in any logic queue VOQ, the destination scheduler section #0 through #3 of a request notification is determined by referring to the value of the shared allotment pointer.

[0121] Thus, each of the input buffer sections #0 through #3 can distribute the request notifications to be transmitted from each of the input buffer sections #0 through #N−1 among the destination scheduler sections #0 through #&agr;−1 by distributing the request notifications generated corresponding to each logic queue VOQ equally among &agr; scheduler sections #0 through #&agr;−1 using a shared allotment pointer.

[0122] When request notifications are distributed for each unit time FIG. 8 shows a practical example of distributing request notifications for each unit time.

[0123] The request allotment sections #0 through #3 in each of the input buffer sections #0 through #3 has an allotment pointer to be updated for each unit time (for each packet hour), and transmits a request notification to the scheduler section pointed to by the allotment pointer when a packet is received through an input line. FIG. 8 shows the pointer value by a value enclosed by a circle in the input buffer sections #0 and #3.

[0124] Described below is the practical operations performed by the request allotment section #0 in the input buffer section #0 corresponding to the input line #0. It is assumed that the value of the allotment pointer is set to 0 corresponding to T=0.

[0125] When T=0, upon receipt of the packet (0_1) with the output line #3 (o#3) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #3. The request allotment section #0 transmits a request notification to the scheduler section #0 based on the value ‘0’ of the allotment pointer corresponding to T=0.

[0126] When T=1, upon receipt of the packet (0_2) with the output line #0 (o#0) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #0. The request allotment section #0 transmits a request notification to the scheduler section #1 based on the value ‘1’ of the allotment pointer corresponding to T=1.

[0127] Thus, with the lapse of time T, the value of the allotment pointer is cyclically updated, and a request notification is transmitted to one of the scheduler sections #0 through #3 corresponding to the value. Therefore, when there is no packet arriving when T=3, a request notification is not transmitted to the scheduler section #3 based on the value of 3 of the allotment pointer corresponding to T=3, but a request notification corresponding to the packet arriving subsequently when T=4 (0_4) is transmitted to the scheduler section #0 based on the value of 0 of the allotment pointer corresponding to T=4.

[0128] Thus, in each of the input buffer sections #0 through #3, the request notifications to be transmitted from the input buffer sections #0 through #N−1 can be distributed among the scheduler sections #0 through #&agr;−1 by distributing the request notifications generated corresponding to each logic queue VOQ equally to &agr; scheduler sections #0 through #&agr;−1 using an updated allotment pointer corresponding to arrival time T of packets.

[0129] When Request Notifications are Distributed by Referring to the Number of Requests Managed by Each Scheduler Section

[0130] FIG. 9 shows a practical example of distributing request notifications by the input buffer section 20 referring to the number of requests managed by each scheduler section.

[0131] Upon receipt of a packet, the request allotment sections #0 through #3 in each of the input buffer sections #0 through #3 refer to the number of the request notifications corresponding to the same combination of an input line and an output line (logic queue VOQ) as the packet in each of the scheduler sections #0 through #3, and determines the scheduler section having the smallest number of requests as the destination of the request notification corresponding to the received packet. To the right of the four scheduler sections #0 through #3 shown in FIG. 9, the number of requests corresponding to the combination of the input line #0 and the logic queue VOQ is shown. Described below are the practical operations of the request allotment section #0 in the input buffer section #0.

[0132] When T=0, upon receipt of the packet (0_1) with the output line #3 (o#3) specified as the destination, the packet buffer #0 stores the packet in the logic queue VOQ #3. The request allotment section #0 checks the number of the requests indicating the same input line #0 and destination output line #3 (logic queue VOQ #3) by obtaining the information held by the request management sections #0 through #3 in the four scheduler sections #0 through #3, selects the scheduler section 30 having the smallest number of requests, and transmits the request notification to the selected scheduler section.

[0133] The similar processes are performed when and after T=1, that is, the scheduler sections #0 through #3 currently having the smallest number of corresponding request notifications is selected, and the request notification is transmitted to the selected scheduler section.

[0134] Thus, each of the input buffer sections #0 through #N−1 obtains the number of requests managed by all scheduler sections #0 through #&agr;−1, and transmits the request notification to the scheduler section having the smallest number of requests, thereby distributing the request notifications transmitted from each of the input buffer sections #0 through #N−1 equally among the &agr; scheduler sections #0 through #&agr;−1.

[0135] Distribution and Assignment of the Function of Managing the Number of Requests

[0136] Described below is the method of allotting requests when the functions of managing the number of requests are distributed and assigned to both scheduler section 30 and input buffer section 20 without managing the number of requests only by each scheduler section 30. It is assumed that the request number management section 32 in each scheduler section 30 has the request managing function of managing the number of requests for the minimal number. The request allotment section 24 in each input buffer section 20 has the function of managing the number of requests transmitted to each scheduler section 30 for each logic queue VOQ (realized by a sub-request counter), and the function of managing the number of requests which have not been notified yet (realized by a request counter).

[0137] For example, when the request number management section 32 in each scheduler section 30 has the function of managing two request notifications for each logic queue VOQ, the scheduler section 30 having a corresponding logic queue VOQ receiving less than two requests is selected when the request allotment section 24 in the input buffer section 20 transmits a request notification to any of the scheduler sections 30. When all scheduler sections 30 have two request notifications for the logic queue VOQ, the input buffer section 20 does not transmit a request notification, increments the request counter corresponding to the logic queue VOQ, and transmits the request notification when the number of requests is less than 2.

[0138] FIGS. 10 through 14 show practical examples of distributing and assigning the function of managing the number of requests to the input buffer section 20 and the scheduler section 30. In FIGS. 10 through 14, one logic queue VOQ #a is considered in the input buffer section #0 corresponding to the input line #0 (i#0) for simple explanation. In the examples, the number of scheduler sections 30 is 4, and the maximum value of the number of managed requests on the scheduler section 30 side is 2.

[0139] For example, as shown in FIG. 10, in the initial status when T=a, the scheduler section #0 (SCH#0) has a request notification corresponding to the input line #0 and the logic queue VOQ #a, and other scheduler sections #1 to #3 (SCH#1 through SCH#3) include two request notifications each.

[0140] In this status, when a new packet is received, the request allotment section #0 transmits a request notification to the scheduler section #0 (SCH#0) having the number of requests of smaller than 2 and having the smallest number of requests, and updates the value of the sub-request counter corresponding to the scheduler section #0 into 2. As a result, as shown in FIG. 11, there are two request notifications each in all scheduler sections #0 through #3 when T=a′.

[0141] Next, although a new packet is received when T=a+1, the request allotment section #0 does not transmit a new request notification because all scheduler sections #0 through #3 have two request notifications each, but increments the value of the request counter provided to manage the number of the requests which have not been notified yet (FIG. 12).

[0142] Then, if a grant notification is received from the scheduler section #2 to the input buffer section #0, and a packet is read from the logic queue #a in the input buffer section #0 and transmitted to the output line #a, then the request allotment section #0 decrements the value of the sub-request counter corresponding to the scheduler section #2. As a result, as shown in FIG. 13, the value of the sub-request counter is changed into 1 when T=a+1′.

[0143] Next, when the request allotment section #0 detects that the value of the request counter is equal to or larger than 1, and that the value of the sub-request counter corresponding to the scheduler section #2 is smaller than 2, it transmits a request notification to the scheduler section #2. In addition, after issuing a request notification (T=a+1″), as shown in FIG. 14, the request allotment section #0 increments the value of the sub-request counter corresponding to the scheduler section #2 into 2, and simultaneously decrements the value of the request counter into 0.

[0144] Thus, by managing the number of requests by each of the input buffer sections #0 through #3, each of the scheduler sections #0 through #3 can perform the scheduling process only by managing a small number of requests, thereby reducing the load of the process performed by the scheduler sections #0 through #3.

[0145] Redundant Configuration of the Scheduler Section

[0146] Described below is the redundant configuration provided the scheduler sections 30 of more than necessary number.

[0147] FIG. 15 shows a practical example when the scheduler sections 30 in the redundant system are not fixed. For example, each period corresponds to 4 packet hours, and the number of scheduler sections 30 is 5.

[0148] In case where the 5 scheduler sections #0 through #4 (SCH#0 through SCH#4) are normally operated, they independently perform the scheduling processes, and the scheduling results of all scheduler sections #0 through #4 are cyclically used. Each of the scheduler sections #0 through #4 can perform one scheduling process in 4 packet hours. However, in the example shown in FIG. 15, the scheduling result of each of the scheduler sections #0 through #4 is used every 5 packet hours.

[0149] Afterwards, if there occurs an error in the scheduler section #1 (SCH#1) in the period C, each input buffer section 20 does not use the scheduling result of the scheduler section #1, but cyclically uses only the scheduling results of the other scheduler sections #0, and #2 to #4.

[0150] If the scheduler section #1 has recovered from the error in the period E, each of the input buffer sections 20 starts cyclically using the scheduling results of all scheduler sections #0 through #4 from the next period F.

[0151] FIG. 16 shows an example of the operations when the scheduler sections 30 in the redundant system are fixed. For example, the scheduler section #4 (SCH#4) is provided in a redundant (standby) system for use only when a error, etc. occurs.

[0152] When the four scheduler sections #0 through #3 are normally operated, each of them independently performs the scheduling process, and each of the results of the four scheduler sections #0 through #3 is cyclically used. The operations in this case are the same as those performed when the scheduler section #4 of the redundant system is not provided.

[0153] Then, if an error occurs in the scheduler section #1 (SCH#1) in the period C, the scheduler section #1 is replaced with the scheduler section #4 in the redundant system. Since the entire operations are perform only with the scheduler section #4 replacing the scheduler section #1 having the same function, almost the same scheduling process can be continued as in the case where no error exists.

[0154] In addition, if the scheduler section #1 has recovered from the error in the period E, then the scheduler section #4 in the redundant system enters again a standby state, the scheduler section #1 is used, and the scheduling process continues.

[0155] Thus, by adopting the redundant configuration comprising the scheduler sections 30 larger in number than the packet hours required for the scheduling process, the redundant scheduler sections 30 (one section in the examples shown in FIGS. 15 and 16) can replace a faulty section, thereby successfully continuing the scheduling process without delay.

[0156] Extensibility of scheduler section Then, described below is the extensibility when the number of the scheduler sections 30 is changed depending on the number of input lines and output lines accommodated by the packet switch 100 according to the present embodiment. For simple explanation, it is assumed that the maximum switch is set to 4×4 (number of input lines×number of output lines), the number of the scheduler sections 30 is set to 4, and the time required by each scheduler section 30 to perform the scheduling process is 4 packet hours (=4 Tp). It is also assumed that the scheduling process is performed by a 2×2 packet switch using the above mentioned scheduler section 30.

[0157] FIG. 17 shows the outline of the scheduling process with the configuration of the maximum 4×4 packet switch. For example, a scheduling process is performed on one of the four scheduler sections in the round-robin scheduling system.

[0158] In the initial period #0, the scheduling processes are sequentially performed in the order of the input lines #0, #1, #2, and #3. Since the time required by each of the scheduler sections #0 through #3 is 4 packet hours (1&tgr;), each scheduler section obtains a scheduling result every 4 packet hours. In the example shown in FIG. 17, the following scheduling result can be obtained in the period #0.

[0159] input line #0 (i#0)→output line #0 (o#0)

[0160] input line #1 (i#1)→output line #1 (o#1)

[0161] input line #2 (i#2)→output line #2 (o#2)

[0162] input line #3 (i#3)→output line #3 (o#3)

[0163] In the next period #1, the scheduling processes are sequentially performed in the order of the input lines #1, #2, #3, and #0, and the following scheduling results can be obtained.

[0164] input line #1 (i#1)→output line #1 (o#1)

[0165] input line #2 (i#2)→output line #3 (o#3)

[0166] input line #3 (i#3)→output line #2 (o#2)

[0167] input line #0 (i#0)→output line #0 (o#0)

[0168] Similarly, in and after the period #2, the output line corresponding to each input line is determined for each period with the cyclic process order of the target input line in the scheduling process.

[0169] Thus, in the entire packet switch, four scheduling results can be obtained every 4 packet hours by four scheduler sections #0 through #3. On an average, one scheduling result can be obtained every 1 packet hour, thereby causing no deterioration of throughput.

[0170] FIG. 18 shows the outline of scheduling process with the configuration of a small 2×2 packet switch. In the practical example shown in FIG. 18, two scheduler sections which are the same as in the maximum configuration are used shown in FIG. 17.

[0171] In the initial period #0, the scheduling processes are sequentially performed in the order of the input lines #0 and #1. Each of the two scheduler sections #0 and #1 has the performance of determining the output line corresponding to each of the four input lines. In the example shown in FIG. 18, since there are two target input lines, the scheduling processes are performed on these two input lines every 4 packet hours (1&tgr;), and the following scheduling results are obtained.

[0172] input line #0 (i#0)→output line #0 (o#0)

[0173] input line #1 (i#1) output line #1 (o#1)

[0174] In the period #1, the scheduling processes are sequentially performed in the order of the input lines #1 and #0, and the following scheduling results are obtained.

[0175] input line #1 (i#1)→output line #1 (o#1)

[0176] input line #0 (i#o)→output line #0 (o#0)

[0177] In and after the period #2, the output line corresponding to each input line is determined for each period with the cyclic process order of the target input line in the scheduling process.

[0178] Thus, if the number of scheduler sections is reduced with the decreasing number of input lines and output lines, then the throughput is detriorated. That is, the time required to perform the scheduling process by each of the two scheduler sections #0 and #1 is 4 packet hours. In the entire packet switches #0 and #1, two scheduling results are obtained every 4 packet hours. Therefore, for the half of four packet hours, no instruction to transmit a packet can be issued from the scheduler sections #0 and #1 to each of the input buffer sections #0 and #1, thereby halving the throughput deteriorated by half.

[0179] FIG. 19 shows the outline of the scheduling process using a small packet switch with the throughput protected against deterioration. To perform a scheduling process by two scheduler sections in a 2×2 packet switch without deteriorating the throughput, the time required to perform the scheduling process by each of the scheduler sections #0 and #1 is set to 2 packet hours. Since the target input lines and output line are halved in number, the required time can be changed.

[0180] In the first half of the period #0, the scheduling processes are sequentially performed in the order of the input lines #0 and #1, and the following scheduling results are obtained.

[0181] input line #0 (i#0)→output line #0 (o#0)

[0182] input line #1 (i#1)→output line #1 (o#1)

[0183] In the second half of the period #0, the scheduling processes are sequentially performed in the order of the input lines #1 and #0, and the following scheduling results are obtained.

[0184] input line #1 (i#1)→output line #1 (o#1)

[0185] input line #0 (i#0)→output line #0 (o#0)

[0186] Similarly, in and after the period #1, the scheduling processes are separately performed for the first half and the second half of the period. Thus, in the entire packet switch, two scheduling results are obtained every 2 packet hours. On an average, one scheduling result is obtained every packet hour, thereby causing no throughput deterioration.

[0187] FIG. 20 shows the outline of the scheduling process using a small packet switch with the throughput protected against deterioration. For example, a scheduling process is performed with the scheduling time of each of the two scheduler sections still set to 4 packet hours without deteriorating the throughput.

[0188] Practically, instead of maintaining the scheduling time as is, a plurality of scheduling results are obtained in each period. That is, using a small 2×2 switch, no scheduling processes are performed on the input lines #2 and #3 and the output lines #2 and #3. Therefore, using the processing time for the unused lines, two scheduling results are obtained in one scheduling period (1&tgr;, 4 packet hours).

[0189] In FIG. 20, the underlined input lines #0 and #1 (i#0, i#1) indicate that the scheduling processes are performed for the input lines #2 and #3. The output lines #0 and #1 (o#0 and o#1) indicates that, when output lines #2 and #3 are obtained as the first destinations of the packets as a scheduling result, they are respectively replaced with the input lines #0 and #1.

[0190] In the initial period #0, the scheduling processes are sequentially performed in the order of the input lines #0, #1, #2, and #3. Since the time required by each of the scheduler sections #0 and#1 is 4 packet hours (1&tgr;), each scheduler section obtains a scheduling result corresponding to the four input lines #0 through #3 every 4 packet hours. As described above, the input lines #2 and #3 are not actually existing, but the scheduling processes are performed on the input lines #0 and #1. As a result, each of the scheduler sections #0 and #1 derives two scheduling results every 4 packet hours. In the example shown in FIG. 20, the following scheduling result can be obtained in the period #0.

[0191] Result 1: input line #0 (i#0)→output line #0 (o#0)

[0192] Result 1: input line #1 (i#1)→output line #1 (o#1)

[0193] Result 2: input line #0 (i#0)→output line #0 (o#0)

[0194] Result 2: input line #1 (i#1)→output line #1 (o#1)

[0195] In the next period #1, the scheduling processes are sequentially performed in the order of the input lines #1, #2, #3, and #0, and the following scheduling results can be obtained.

[0196] Result 1: input line #1 (i#1)→output line #1 (o#1)

[0197] Result 2: input line #0 (i#0)→output line #1 (o#1)

[0198] Result 2: input line #1 (i#1)→output line #0 (o#0)

[0199] Result 1: input line #0 (i#0)→output line #1 (o#1)

[0200] Thus, each of the two scheduler sections #0 and #1 derives two scheduling results in 1 period of 4 packet hours. In the entire packet switch, a total of four scheduling results can be obtained by the two scheduler sections #0 and #1 every 4 packet hours. On an average, one scheduling result can be obtained every packet hour, thereby causing no throughput deterioration.

[0201] Thus, the packet switch 100 according to the present embodiment sets the number of the scheduler sections depending on the number of input lines and output lines, and changes the time required for a scheduling process of each scheduler section, thereby avoiding throughput deterioration, and realizing the optimum scheduling process. As a result, an extensible packet switch can be realized by decreasing a wasteful configuration.

[0202] Described below is a practical example of a scheduling process for deriving a plurality of scheduling results in one period corresponding to a time required for scheduling process by the scheduler section.

[0203] FIG. 21 shows a practical example of a scheduling process of deriving a plurality of scheduling results in one period, and shows a type of contents of the scheduling process in the period #0 shown in FIG. 20. Each of the scheduler sections #0 and #1 manages the existence of a request notification corresponding to the combination of an input line and a logic queue VOQ. For example, for the input line #0, there is a request notification for both output lines #0 and #1. Since a small 2×2 switch is assumed in this example, the input lines #2, #3 and the output lines #2, #3 are not used. Therefore, no request notification instructing one of the input lines #0 and #1 to transmit a packet to one of the output lines #2 and #3 is issued.

[0204] Each scheduler section performs a scheduling process corresponding to an unused line to derive a plurality of scheduling results in a period. Practically, the contents of the request notification of the input line #0 are set in a block for performing a process corresponding to the input line #2. At this time, in response to the request notification including the combination of the input line #0 and the output line #0, information about a change into the combination of the input line #2 and the output line #2 is set. In response to the request notification including the combination of the input line #0 and the output line #1, information about a change into the combination of the input line #2 and the output line #3 is set. The practical changes of the combinations are listed below.

[0205] i#2-o#0 request existence information←i#0-o#2 request existence information

[0206] i#2-o#1 request existence information←i#0-o#3 request existence information

[0207] i#2-o#2 request existence information←i#0-o#0 request existence information

[0208] i#2-o#3 request existence information←i#0-o#1 request existence information

[0209] i#3-o#0 request existence information←i#1-o#2 request existence information

[0210] i#3-o#1 request existence information←i#1-o#3 request existence information

[0211] i#3-o#2 request existence information←i#1-o#0 request existence information

[0212] i#3-o#3 request existence information←i#1-o#3 request existence information

[0213] where i#2, etc. indicates an input line number, o#0, etc. indicates an output line number, and the request existence information indicates the existence of a request.

[0214] The procedure of a practical scheduling process is described below by referring to FIG. 21.

[0215] The first scheduling target is the input line #0 on which the scheduling process is performed by selecting one output line which has not been selected and has received a request notification. In the example shown in FIG. 21, the output line #0 is selected. Thus the selected output line #0 is reflected in the unassignment information as having being selected, and then passed to the scheduling process to be performed on the next scheduling target.

[0216] The second scheduling target is the input line #1 on which the scheduling process is performed by selecting one output line which has not been selected and has received a request notification. In the example shown in FIG. 21, since the output line #0 has been selected, the output line #1 is selected. Thus the selected output line #1 is reflected in the unassignment information as having being selected, and then passed to the scheduling process to be performed on the next scheduling target.

[0217] The third scheduling target is the input line #2. As described above, the request existence information set for the input line #2 corresponds to the input line #0. Therefore, the scheduling process is actually performed on the input line #0. The scheduling process on the input line #2 is performed by selecting an output line which has received a request notification and has not been selected yet. In the example shown in FIG. 21, the output lines which have received a request notification and have not been selected yet are the output line #2 and #3. In this example, the output line #2 has been selected. Thus the selected output line #2 is reflected in the unassignment information as having being selected, and then passed to the scheduling process to be performed on the next scheduling target.

[0218] The output line #2 is actually unused. In the scheduling process performed on such unused lines, a selected output line number is not passed as is to the input buffer section 20, but an output line number is passed after performing a re-reading process. That is, the input line #2 is re-read into the input line #0, and the output line #2 is re-read into the output line #0 and then passed. The correspondence between input lines and output lines to be re-read is shown below.

[0219] i#2-o#2→i#0-o#0

[0220] i#2-o#3→i#0-o#1

[0221] i#3-o#2→i#1-o#0

[0222] i#3-o#3→i#1-o#1

[0223] Similarly, the scheduling process is performed on the input line #3 which is the fourth scheduling target. As a result, the output line #3 is selected. Since the input line #3 and the output line #3 are unused lines, they are actually re-read into the input line #1 and the output line #1, and passed to the input buffer section 20.

[0224] Thus, a plurality of results can be obtained in one period of the scheduling process by performing the scheduling process using an unused line.

Claims

1. A packet switch, comprising:

N input buffer sections, provided corresponding to n input lines, for storing a packet input through the corresponding input lines;
&agr; scheduler sections for determining one of m output lines as a destination of the packet stored in each of said n input buffer sections by a scheduling process independently performed by each scheduler section; and
a switch section for outputting the packet output from each of said n input buffer sections to the destination output line determined by said scheduler section,
wherein said n input buffer sections cyclically use results of scheduling processes by said &agr; scheduler sections.

2. The packet switch according to claim 1, wherein:

said scheduling process is performed by said scheduler section corresponding to a scheduling request notification transmitted from said N input buffer sections; and
each of said N input buffer sections distributes the scheduling request notifications among said scheduler sections as a destination.

3. The packet switch according to claim 2, wherein said input buffer sections have M queues storing packets to be transmitted to the M output lines, and said scheduler sections, which are destinations of the scheduling request notifications, cyclically correspond to the M numbers of each queue.

4. The packet switch according to claim 2, wherein said input buffer sections have said scheduler sections, which are destinations of the scheduling request notifications, cyclically correspond to the each input lines.

5. The packet switch according to claim 2, wherein said input buffer sections have said scheduler sections, which are destinations of the scheduling request notifications, cyclically correspond to each of a unit time.

6. The packet switch according to claim 2, wherein said input buffer sections check a number of unassigned scheduling request notifications for each of said &agr; scheduler sections, and transmit a next scheduling request notification to the scheduler section having smaller number of scheduling request notifications.

7. The packet switch according to claim 2, wherein said input buffer sections manage a number of scheduling request notifications transmitted to each of said scheduler sections, and delay an operation of transmitting the scheduling request notification to the scheduler section whose number of the scheduling request notifications has reached a predetermined value until the number becomes smaller than the predetermined value.

8. The packet switch according to claim 1, wherein when a time required by said scheduler section to perform the scheduling process is L times as long as a shortest transmission interval of the packet, the number &agr; of scheduler sections is set to a value equal to or larger than the multiple L.

9. The packet switch according to claim 8, wherein:

L−&agr; is set to a value equal to or larger than 1; and
said N input buffer sections cyclically use results of all scheduling processes of said &agr; scheduler sections.

10. The packet switch according to claim 8, wherein:

L−&agr; is set to a value equal to or larger than 1; and
L−&agr; scheduler sections are used as a redundant system, and said scheduler sections in the redundant system replace when a scheduler section which is not included in the sections in the redundant system becomes faulty.

11. The packet switch according to claim 1, wherein said number &agr; of said scheduler sections and the time of the scheduling process are set variable depending on the number N of the input lines and the number M of the output lines.

12. The packet switch according to claim 1, wherein said scheduler section performs the scheduling process including an unused line, and performs a re-reading process among the actually used input and output lines and the unused lines, thereby obtaining a plurality of scheduling process results by performing one scheduling process.

Patent History
Publication number: 20020080796
Type: Application
Filed: Aug 31, 2001
Publication Date: Jun 27, 2002
Inventors: Naoki Matsuoka (Kawasaki), Hiroshi Tomonaga (Kawasaki), Kenichi Kawarai (Kawasaki), Masakatsu Nagata (Kawasaki)
Application Number: 09942979