CN105429898B - A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue - Google Patents

A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue Download PDF

Info

Publication number
CN105429898B
CN105429898B CN201510733429.6A CN201510733429A CN105429898B CN 105429898 B CN105429898 B CN 105429898B CN 201510733429 A CN201510733429 A CN 201510733429A CN 105429898 B CN105429898 B CN 105429898B
Authority
CN
China
Prior art keywords
output port
port
input port
input
cicq
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510733429.6A
Other languages
Chinese (zh)
Other versions
CN105429898A (en
Inventor
熊庆旭
张元昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201510733429.6A priority Critical patent/CN105429898B/en
Publication of CN105429898A publication Critical patent/CN105429898A/en
Application granted granted Critical
Publication of CN105429898B publication Critical patent/CN105429898B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of CICQ structures to intersect the balanced packet scheduling algorithm of buffer queue.Inventive algorithm works in work conserving states as core to realize or at utmost approach interchanger, using output port as matching benchmark, selection intersects the minimum output port priority match of length of buffer queue, the intersection buffered packet of balanced all output ports takes as far as possible, work conserving are realized to approach as much as possible, the average delay of packet is reduced while percent of pass is improved.Simulation result contrast display, for intersecting caching crossbuffer and being the CICQ interchangers of a packet, inventive algorithm is better than existing main flow algorithm in terms of packeting average time delay, has good practical value in extensive high-performance CICQ interchangers.

Description

A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue
Technical field
The invention belongs to high-performance packet switch control technology field.
Background technology
Up to the present, people are lined up (Combined Input and to high performance joint input crosspoint Crossbar Queued, CICQ) dispatching algorithm of structure carried out numerous studies, and classical main flow algorithm is divided into based on poll Two big type of RR (Round-Robin) and maximum weight algorithms.Algorithm based on RR mainly has RR-RR, DRR (Differential Round-Robin)、TFQA(Tracking Fair QuotaAllocation)、RR-LQD(Longest Queue Detecting) etc..Maximum matching method based on weight mainly includes with team leader, intersects buffer occupancy, blocking time For the weight limit matching method of weight, including LQF-RR (Longest Queue First and RR), MCBF (Most Critical Buffer First)、SCBF(Shortest Crosspoint Buffer First)、SBF-GWF(the Shortest buffer First and the Greatest Weigh buffer First)、HOPS(Hybrid Optimization Packet Scheduling), MCQF (Most Critical Queue First) etc..RR and its improvement Algorithm realizes that simply complexity is generally O (1), and most of algorithms approach to the percent of pass of accessible smooth traffic 100%, but packeting average time delay is larger.Weight limit matching method is obtained under packet delay using complexity increase as cost Drop.Such as representational MCBF algorithms are using the grouping number cached in crossbar corresponding to specific output and input port as power Weight, makes full use of crossbar resources, but do not account for VOQ queue length.And the SBF-GWF algorithms proposed recently, On the basis of MCBF, further, output scheduling uses VOQ team leader to have for weight compared to MCBF and other algorithms, delay performance It is significant to improve.
In the research of existing CICQ dispatching algorithms, even the exsertile SBF-GWF algorithms of property, most simple compared to use Output work queue (OQ) structure of single FIFO (First In First Out) algorithm, delay performance still have larger gap.Root This reason is that OQ fabric switch can operate at work-conserving states, it is ensured that reach 100% percent of pass, from And time delay is declined.But the higher speed-up ratio of OQ structures causes its limited scalability, in mass rapid exchange not With practical value.
Based on above-mentioned analysis, different from existing algorithm, the present invention works in work- at utmost to approach interchanger Conserving states are core, it is proposed that a kind of new packet input scheduling algorithm in CICQ structures, that is, intersect caching team Balanced (Crossbuffer Queue Balance, the CQB) algorithm of row.CQB algorithms provided by the invention are using output port as matching Benchmark, selection intersect the minimum output port priority match of caching (crossbuffer) queue length, balanced all outputs as far as possible The crossbuffer packets of port take, to cause interchanger approaches to work in work-conserving states as much as possible, While interchanger percent of pass is improved, the average delay of packet is reduced.
The content of the invention
It is an object of the invention to provide for crossbuffer buffer memory capacity be one packet CICQ fabric switch most Big degree works in work-conserving states, and the packet with good percent of pass and average packet delay performance is defeated Enter dispatching algorithm.To achieve the above object, the technology path that uses of the present invention for:
First step initiating port set;
When each time slot starts, output port set OP is made to include all output ports, input port set IP includes institute There is input port;
Second step judges whether scheduling terminates;
If OP is sky, the time slot input scheduling terminates;Otherwise, into the 3rd step;
3rd step selects output port to be matched;
Since the output port that pointer po is pointed to, first crossbar queue lengths B is selected in OPjMinimum is defeated Exit port j, and po is pointed to the position of its next output port;
Wherein BjOutput port j crossbar queue lengths are represented, po is the priority pointer of output port, and it is whole It is individual scheduling it is initial when point to output port 1;
4th step examines whether the output port of selection has suitable input port matching;
If EIPjWith IP common factor WEIPjFor sky, output port j is rejected from OP, returns to second step;
Wherein CBijRepresent to intersect caching (crossbuffer), EIP corresponding to input port i and output port jjRepresent full Sufficient VOQijIt is not empty and CBijFor all input port i of sky set;
5th step for etc. output port to be matched select suitable input port matching;
Since the input port that pi is pointed to, in WEIPjFirst entry of middle selectioniMinimum input port i, and by pi The position of its next input port is pointed to, by VOQijHead cell be sent to CBijIn;
Wherein entryiThe non-NULL VOQ number of queues that input port i is included is represented, pi is that the priority of input port refers to Pin, it points to input port 1 when entirely dispatching initial;
6th step rejects the input port matched, updates the intersection length of buffer queue of the output port matched;
By BjAdd 1, input port i is rejected from IP, update EIPjWith all WEIP, the 3rd step is returned to.
Beneficial effects of the present invention:CICQ fabric switch of the present invention for crossbuffer capacity for single packet, A kind of input scheduling algorithm for making interchanger at utmost approach work-conserving working conditions is provided, and is being exported End forms CQB-LQF algorithms using classical LQF algorithm combinations.Simulation result shows that it can effectively improve interchanger and pass through Rate, simultaneously for most of heterogeneous traffic is accounted in practical application, more close to OQ in terms of its packeting average delay performance Structure.Compared to existing representational main flow algorithm, algorithm provided by the invention is in interchanger percent of pass and packeting average Prolonging aspect of performance has obvious advantage.Therefore algorithm provided by the invention has good in extensive high-performance CICQ interchangers Good practical value.
Brief description of the drawings
Fig. 1 is that joint input crosspoint is lined up (CICQ) fabric switch schematic diagram;
Fig. 2 is the flow chart of CQB algorithms;
Fig. 3 is that packeting average time delay contrasts under 32 × 32 port switch Uniform B ernoulli business;
Fig. 4 is that packeting average time delay contrasts under the uniform ON/OFF business of 32 × 32 port switch;
Fig. 5 is that packeting average time delay contrasts under 32 × 32 port switch Non-uniform B ernoulli business;
Fig. 6 is that packeting average time delay contrasts under the non-homogeneous ON/OFF business of 32 × 32 port switch.
Embodiment
Fig. 1 gives the CICQ block diagrams of structure packet switch.The present invention is cached by dispatching come balanced each output cross The team leader of queue (overstriking vertical line represents in figure), to realize work-conserving as far as possible, on the premise of ensureing percent of pass Improve average delay performance.
The first step initializes;
Port set is initialized.When each time slot starts, output port set OP is made to include all output ports, Input port set IP includes all input ports.Such as 4 × 4 port time slot input VOQ and crossbar when starting In buffer status it is as follows:
Wherein VOQijThe VOQ queues for the packet queue that output port j is gone in input port i are represented, 0 represents it as sky, 1 For non-NULL;CBijRepresent input/output port and represent empty to intersecting caching (crossbuffer) corresponding to ij, same 0,1 represents non- It is empty.Now OP={ 1,2,3,4 }, IP={ 1,2,3,4 };
Second step judges whether scheduling terminates;
If OP is sky, the time slot input scheduling terminates;
Now OP={ 1,2,3,4 }, it is non-NULL, then continues the 3rd step;
3rd step selects output port to be matched;
Since the output port that po is pointed to, first B is selected in OPjMinimum output port j, and po is pointed to it The position of next output port;
Wherein BjOutput port j crossbar queue lengths are represented, po is the priority pointer of output port, and it is whole It is individual scheduling it is initial when point to output port 1;
Assuming that current time slots po points to output port 1, now B1,B2,B3,B4Respectively 2,1,2,1, then j=2 is selected, will Po points to output port 3;
4th step examines whether the output port of selection has suitable input port matching;
If EIPjWith IP common factor WEIPjFor sky, output port j is rejected from OP, returns to second step;
Make CBijRepresent to intersect caching (crossbuffer) corresponding to input port i and output port j, above EIPjTable Show and meet VOQijIt is not empty and CBijFor all input port i of sky set;
Now VOQ22,VOQ32,VOQ42It is not sky, CB12,CB22,CB42For sky, therefore EIP2={ 2,4 }, IP=1,2,3, 4 }, then WEIP2={ 2,4 }, it is not sky, continues the 5th step;
5th step for etc. output port to be matched select suitable input port matching;
Since the input port that pi is pointed to, in WEIPjFirst entry of middle selectioniMinimum input port i, and by pi The position of its next input port is pointed to, by VOQijHead cell be sent to CBijIn;
Wherein entryiThe non-NULL VOQ number of queues that input port i is included is represented, pi is that the priority of input port refers to Pin, it points to input port 1 when entirely dispatching initial;
Assuming that current time slots pi points to input port 1, now WEIP2={ 2,4 }, entry2=3, entry4=4, therefore select I=2 is selected, pi is pointed into input port 3, by VOQ22Head cell be sent to CB22In;
6th step rejects the input port matched, updates the intersection length of buffer queue of the output port matched;
By BjAdd 1, input port i is rejected from IP, update EIPjWith all WEIP, the 3rd step is returned to;
By B in this example2Value is changed into 2 after adding 1, and input port 2, IP={ 1,3,4 }, EIP after renewal are rejected from IP2= { 4 }, WEIP2={ 4 } WEIP4It is changed into { 4 } by original { 2,4 }, it is other constant.
Fig. 3 to Fig. 6 sets forth in 32 × 32 port switch uniform non-homogeneous whereabouts distribution Bernoulli and Under ON/OFF business, by the CQB-LQF algorithms that inventive algorithm provides and SBF-GWF algorithms, point of the FIFO algorithms of OQ structures The contrast of group average delay, wherein SBF-GWF are performance in the above mentioned existing mono- packet crossbuffer structures of CICQ More prominent algorithm.Simulation result is shown under smooth traffic, and three kinds of algorithm performances are suitable.And in heterogeneous traffic especially Under high load condition, the average delay performance of CQB-LQF algorithms has compared to SBF-GWF algorithms and protruded more close to OQ structures Advantage.

Claims (1)

1. a kind of joint input crossover node is lined up (Combined Input-Crosspoint-Queued, CICQ) fabric switch Machine is grouped input scheduling method, it is characterized in that:
First step initial port set;
When each time slot starts, output port set OP is made to include all output ports, input port set IP includes all defeated Inbound port;
Second step judges whether scheduling terminates;
If OP is sky, the time slot input scheduling terminates;
3rd step selects output port to be matched;
Since the output port that po is pointed to, first B is selected in OPjMinimum output port j, and it is next that po is pointed into its The position of individual output port;
Wherein BjOutput port j crossbar queue lengths are represented, po is the priority pointer of output port, and it is entirely being adjusted No. 1 output port is pointed to when spending initial;
4th step examines whether the output port of selection has suitable input port matching;
If EIPjWith IP common factor WEIPjFor sky, output port j is rejected from OP, returns to second step;
Make CBijRepresent to intersect caching (crossbuffer) corresponding to input port i and output port j, above EIPjRepresent full Sufficient VOQijIt is not empty and CBijFor all input port i of sky set;
Wherein VOQijThe caching of output port j packet is gone in storage in expression input port i;
5th step for etc. output port to be matched select suitable input port matching
Since the input port that pi is pointed to, in WEIPjFirst entry of middle selectioniMinimum input port i, and pi is pointed to The position of its next input port, by VOQijHead cell be sent to CBijIn;
Wherein entryiRepresent the non-NULL VOQ number of queues that includes of input port i, pi is the priority pointer of input port, its No. 1 input port is pointed to when entirely dispatching initial;
6th step rejects the input port matched, updates the intersection length of buffer queue of the output port matched;
By BjAdd 1, input port i is rejected from IP, update EIPjWith all WEIP, the 3rd step is returned to.
CN201510733429.6A 2015-11-02 2015-11-02 A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue Expired - Fee Related CN105429898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510733429.6A CN105429898B (en) 2015-11-02 2015-11-02 A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510733429.6A CN105429898B (en) 2015-11-02 2015-11-02 A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue

Publications (2)

Publication Number Publication Date
CN105429898A CN105429898A (en) 2016-03-23
CN105429898B true CN105429898B (en) 2018-04-06

Family

ID=55507843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510733429.6A Expired - Fee Related CN105429898B (en) 2015-11-02 2015-11-02 A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue

Country Status (1)

Country Link
CN (1) CN105429898B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453137B (en) * 2016-09-20 2019-04-05 北京航空航天大学 It is a kind of to be joined the team method using alleviating HOL Blocking as the dynamic multicast of target
CN106357555B (en) * 2016-09-26 2019-04-02 北京航空航天大学 A kind of CICQ structure grouping scheduling method based on traffic balancing
CN106453134B (en) * 2016-10-31 2019-04-05 北京航空航天大学 A kind of CICQ fabric switch grouping scheduling method for coordinating single multicast competition based on virtual queue length
CN106603145B (en) * 2016-12-30 2019-04-05 北京航空航天大学 A kind of spaceborne CICQ fabric switch grouping scheduling method of GEO satellite considering channel status
CN106789738B (en) * 2017-01-03 2019-09-27 北京航空航天大学 A kind of spaceborne CICQ fabric switch single multicast mixed service grouping scheduling method under GEO channel circumstance

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604537A (en) * 2003-09-29 2005-04-06 中国人民解放军理工大学通信工程学院 A high-speed Crossbar scheduling strategy supporting multipriority
CN101695052A (en) * 2009-10-21 2010-04-14 中国人民解放军理工大学 Small cross point buffer high-property crossbar dispatching method
CN101695051A (en) * 2009-10-21 2010-04-14 中国人民解放军理工大学 Queue length balance dispatching method used for buffered Crossbar
CN103888385A (en) * 2014-03-17 2014-06-25 北京航空航天大学 VOQ switch packet scheduling algorithm based on packet accumulation effect

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010045732A1 (en) * 2008-10-20 2010-04-29 Tadeusz Szymanski Crossbar switch and recursive scheduling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604537A (en) * 2003-09-29 2005-04-06 中国人民解放军理工大学通信工程学院 A high-speed Crossbar scheduling strategy supporting multipriority
CN101695052A (en) * 2009-10-21 2010-04-14 中国人民解放军理工大学 Small cross point buffer high-property crossbar dispatching method
CN101695051A (en) * 2009-10-21 2010-04-14 中国人民解放军理工大学 Queue length balance dispatching method used for buffered Crossbar
CN103888385A (en) * 2014-03-17 2014-06-25 北京航空航天大学 VOQ switch packet scheduling algorithm based on packet accumulation effect

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《一种简单的VOQ交换机时延确保分组调度算法》;张福阳等;《北京航空航天大学学报》;20081130;第34卷(第11期);全文 *

Also Published As

Publication number Publication date
CN105429898A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105429898B (en) A kind of CICQ structures intersect the balanced packet scheduling algorithm of buffer queue
CN101478483B (en) Method for implementing packet scheduling in switch equipment and switch equipment
CN100420241C (en) Information switching realizing system and method and scheduling algorithm
CN104486237B (en) Without out-of-order packet route and dispatching method in clos networks
CN101695051A (en) Queue length balance dispatching method used for buffered Crossbar
Shen et al. Byte-focal: A practical load balanced switch
CN100421420C (en) Method for dispatching variable length data packet queue in crossbar switching matrix
CN106453134B (en) A kind of CICQ fabric switch grouping scheduling method for coordinating single multicast competition based on virtual queue length
CN101964747B (en) Two-stage exchanging structure working method based on preposed feedback
Kim et al. Performance analysis of the multiple input-queued packet switch with the restricted rule
Wang et al. Novel high performance scheduling algorithms for crosspoint buffered crossbar switches
Radonjic et al. Buffer length impact to crosspoint queued crossbar switch performance
CN106357555B (en) A kind of CICQ structure grouping scheduling method based on traffic balancing
CN106603145B (en) A kind of spaceborne CICQ fabric switch grouping scheduling method of GEO satellite considering channel status
Yoshigoe The crosspoint-queued switches with virtual crosspoint queueing
Ruepp et al. Performance evaluation of 100 Gigabit Ethernet switches under bursty traffic
Gao et al. SBF-GWF scheduling for combined input-crosspoint-queued (CICQ) switches
Yoshigoe Threshold-based exhaustive round-robin for the CICQ switch with virtual crosspoint queues
CN103326962A (en) Diversified service exchange method
Prasanth et al. Prioritized queue with round robin scheduler for buffered crossbar switches
CN108199977A (en) A kind of multihop routing and dispatching method of dual-active data center
Ning et al. A load-balanced crosspoint-queued switch fabric
Yun et al. RR-LQD: A novel scheduling algorithm for CICQ switching fabrics
Durković et al. Packet Switch Architecture For Efficient Unicast and Multicast Traffic Switching
Zhou et al. Performance evaluation of crosspoint queued switch supporting multicast traffic

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180406

Termination date: 20211102

CF01 Termination of patent right due to non-payment of annual fee