QPS-r: A Cost-Effective Iterative Switching Algorithm for Input-Queued Switches

Long Gong, Jun Xu, Liang Liu, S. T. Maguluri
{"title":"QPS-r: A Cost-Effective Iterative Switching Algorithm for Input-Queued Switches","authors":"Long Gong, Jun Xu, Liang Liu, S. T. Maguluri","doi":"10.1145/3388831.3388836","DOIUrl":null,"url":null,"abstract":"In an input-queued switch, a crossbar schedule, or a matching between the input ports and the output ports needs to be computed for each switching cycle, or time slot. It is a challenging research problem to design switching algorithms that produce high-quality matchings yet have a very low computational complexity when the switch has a large number of ports. Indeed, there appears to be a fundamental tradeoff between the computational complexity of the switching algorithm and the quality of the computed matchings. Parallel maximal matching algorithms (adapted for switching) appear to be a sweet tradeoff point in this regard. On one hand, they provide the following performance guarantees: Using maximal matchings as crossbar schedules results in at least 50% switch throughput and order-optimal (i.e., independent of the switch size N) average delay bounds for various traffic arrival processes. On the other hand, their computational complexities can be as low as O(log2 N) per port/processor, which is much lower than those of the algorithms for finding matchings of higher qualities such as maximum weighted matching. In this work, we propose QPS-r, a parallel iterative switching algorithm that has the lowest possible computational complexity: O(1) per port. Yet, the matchings that QPS-r computes have the same quality as maximal matchings in the following sense: Using such matchings as crossbar schedules results in exactly the same aforementioned provable throughput and delay guarantees as using maximal matchings, as we show using Lyapunov stability analysis. Although QPS-r builds upon an existing add-on technique called Queue-Proportional Sampling (QPS), we are the first to discover and prove this nice property of such matchings. We also demonstrate that QPS-3 (running 3 iterations) has comparable empirical throughput and delay performances as iSLIP (running log2 N iterations), a refined and optimized representative maximal matching algorithm adapted for switching.","PeriodicalId":419829,"journal":{"name":"Proceedings of the 13th EAI International Conference on Performance Evaluation Methodologies and Tools","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-05-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 13th EAI International Conference on Performance Evaluation Methodologies and Tools","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3388831.3388836","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

In an input-queued switch, a crossbar schedule, or a matching between the input ports and the output ports needs to be computed for each switching cycle, or time slot. It is a challenging research problem to design switching algorithms that produce high-quality matchings yet have a very low computational complexity when the switch has a large number of ports. Indeed, there appears to be a fundamental tradeoff between the computational complexity of the switching algorithm and the quality of the computed matchings. Parallel maximal matching algorithms (adapted for switching) appear to be a sweet tradeoff point in this regard. On one hand, they provide the following performance guarantees: Using maximal matchings as crossbar schedules results in at least 50% switch throughput and order-optimal (i.e., independent of the switch size N) average delay bounds for various traffic arrival processes. On the other hand, their computational complexities can be as low as O(log2 N) per port/processor, which is much lower than those of the algorithms for finding matchings of higher qualities such as maximum weighted matching. In this work, we propose QPS-r, a parallel iterative switching algorithm that has the lowest possible computational complexity: O(1) per port. Yet, the matchings that QPS-r computes have the same quality as maximal matchings in the following sense: Using such matchings as crossbar schedules results in exactly the same aforementioned provable throughput and delay guarantees as using maximal matchings, as we show using Lyapunov stability analysis. Although QPS-r builds upon an existing add-on technique called Queue-Proportional Sampling (QPS), we are the first to discover and prove this nice property of such matchings. We also demonstrate that QPS-3 (running 3 iterations) has comparable empirical throughput and delay performances as iSLIP (running log2 N iterations), a refined and optimized representative maximal matching algorithm adapted for switching.
QPS-r:一种具有成本效益的输入队列交换迭代算法
在输入排队交换机中,需要为每个交换周期或时隙计算交叉排程或输入端口和输出端口之间的匹配。当交换机有大量端口时,如何设计出高质量匹配且计算复杂度极低的交换算法是一个具有挑战性的研究问题。实际上,在切换算法的计算复杂性和计算匹配的质量之间似乎存在一个基本的权衡。在这方面,并行最大匹配算法(适用于切换)似乎是一个很好的权衡点。一方面,它们提供了以下性能保证:使用最大匹配作为交叉排调度导致至少50%的交换机吞吐量和顺序最优(即,独立于交换机大小N)的各种流量到达过程的平均延迟界限。另一方面,它们的计算复杂性可以低至每端口/处理器O(log2 N),这比寻找更高质量匹配(如最大加权匹配)的算法要低得多。在这项工作中,我们提出了QPS-r,这是一种并行迭代切换算法,具有尽可能低的计算复杂度:每个端口0(1)。然而,QPS-r计算的匹配在以下意义上与最大匹配具有相同的质量:使用这样的匹配作为交叉调度会产生与使用最大匹配完全相同的可证明的吞吐量和延迟保证,正如我们使用Lyapunov稳定性分析所显示的那样。尽管QPS-r建立在一种叫做队列比例采样(Queue-Proportional Sampling, QPS)的现有附加技术之上,但我们是第一个发现并证明这种匹配的这种优良特性的人。我们还证明了QPS-3(运行3次迭代)具有与iSLIP(运行log2 N次迭代)相当的经验吞吐量和延迟性能,iSLIP是一种改进和优化的适用于切换的代表性最大匹配算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信