Please wait a minute...
 首页  期刊介绍 期刊订阅 联系我们 横山亮次奖 百年刊庆
 
最新录用  |  预出版  |  当期目录  |  过刊浏览  |  阅读排行  |  下载排行  |  引用排行  |  横山亮次奖  |  百年刊庆
清华大学学报(自然科学版)  2024, Vol. 64 Issue (4): 659-667    DOI: 10.16511/j.cnki.qhdxxb.2023.27.008
  计算机科学与技术 本期目录 | 过刊浏览 | 高级检索 |
基于多台可编程交换机的网络拓扑仿真与性能评估
李其奋1, 王旸旸2, 李冠宇2, 王瑞浩2, 徐明伟2
1. 北京邮电大学 计算机学院, 北京 100876;
2. 清华大学 网络科学与网络空间研究院, 北京 100084
Network topology emulation and performance evaluation using multiple programmable switches
Li Qifen1, Wang Yangyang2, Li Guanyu2, Wang Ruihao2, Xu Mingwei2
1. School of Computer Science, Beijing University of Posts and Telecommunications, Beijing 100876, China;
2. Institute for Network Sciences and Cyberspace, Tsinghua University, Beijing 100084, China
全文: PDF(1939 KB)   HTML
输出: BibTeX | EndNote (RIS)      
摘要 传统网络拓扑结构逐渐无法适用于云计算、 人工智能等新兴应用场景, 亟需设计新型的网络拓扑结构, 但传统的网络模拟器和仿真器已很难满足高带宽、 高吞吐的网络场景需要。 基于单台可编程交换机的TurboNet框架可以实现高保真的网络拓扑仿真, 但受到不同可编程交换机之间的物理链路带宽限制, 其很难用于多台可编程交换机的网络拓扑仿真。 因此, 该文提出一种基于非线性整数规划的求解方法, 在满足物理链路带宽约束的条件下进行网络拓扑划分, 并将划分后的每个子拓扑在单台可编程交换机上使用TurboNet框架进行虚拟端口的映射, 从而实现对更大规模的网络拓扑仿真。 在此基础上, 结合网络拓扑仿真场景的特点, 引入Netview框架对TurboNet框架进行拓展, 利用可编程交换机的匹配—动作表表项记录探针转发路径, 从而为网络拓扑仿真引入遥测功能并可支持较长的转发路径。
服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
李其奋
王旸旸
李冠宇
王瑞浩
徐明伟
关键词 网络拓扑仿真图划分可编程交换机网络遥测    
Abstract:[Objective] With the emerging applications of cloud computing and artificial intelligence, traditional network topology structures are no longer suitable for the new traffic pattern. Developing novel network topologies depends on high-fidelity network emulation tools; moreover, traditional network simulators and emulators find it difficult to satisfy the requirements of high-bandwidth and -throughput network scenarios. TurboNet based on programmable switches could achieve high-fidelity network topology emulation, but its application to scenarios where multiple programmable switches are employed for the network topology emulation is difficult due to the physical link bandwidth limitations between different programmable switches. [Methods] To this end, this paper proposes a solution based on a nonlinear integer programming, which can partition the network topology and accommodate the physical link bandwidth constraints, allowing the virtual ports on each subtopology to be mapped using TurboNet on a single programmable switch, thereby enabling the emulation of a large network topology. Herein, a multilevel partitioning algorithm is proposed to further enhance the solver efficiency. The algorithm first utilizes the Metis algorithm to reduce the dimensionality of the input topology, considerably decreasing the size of the topology and enhancing the efficiency of the solver. Additionally, by combining the characteristics of network emulation scenarios, this paper proposes a solution utilizing the match-action table for programmable switches to record the probe forwarding path; as a result, this path is no longer restricted by the restriction of the programmable switch on the packet header length. Specifically, the match-action table would match the current hop number of probes with the corresponding measurement task ID. Subsequently, the existing forwarding port for the corresponding measurement task could be acquired. When sending a new probe, corresponding forwarding table entries need to be added through the control plane based on the probe forwarding path. [Results] The experimental results performed on the Internet Topology Zoo and FatTree reveal that the proposed Metis-based multilevel partition algorithm can effectively improve the solution efficiency of the algorithm. However, due to the limitations of constraint-based methods, for topologies such as FatTree with a small number of switches but a large number of ports, the effect of the multilevel partition algorithm is relatively not evident. The experimental results also demonstrate that the solution for the network telemetry on larger topologies of using the match-action tables on programmable switches to record the probe forwarding paths enables the application of Netview to emulate network topologies on longer forwarding paths. Furthermore, this paper validates the feasibility of the network emulation scheme and performance evaluation with multiple programmable switches on a testbed with two Tofino programmable switches and one server. [Conclusions] By reducing the node dimensionality in the original network topology using the Metis algorithm, the number of constraints in the partitioning problem can be effectively reduced, thereby remarkably enhancing the solution efficiency of the partitioning algorithm. Moreover, the match-action table on programmable switches can be used to record the forwarding paths of the probe, thereby removing the restrictions on the forwarding paths; this solution could be applied to network telemetry on large-scale network topologies.
Key wordsnetwork topology emulation    graph partition    programmable switch    network telemetry
收稿日期: 2023-09-05      出版日期: 2024-03-27
基金资助:国家自然科学基金创新研究群体项目(62221003); 国家自然科学基金重点项目(62132004)
通讯作者: 徐明伟,教授,E-mail:xumw@tsinghua.edu.cn     E-mail: xumw@tsinghua.edu.cn
作者简介: 李其奋(1998-),男,硕士研究生。
引用本文:   
李其奋, 王旸旸, 李冠宇, 王瑞浩, 徐明伟. 基于多台可编程交换机的网络拓扑仿真与性能评估[J]. 清华大学学报(自然科学版), 2024, 64(4): 659-667.
Li Qifen, Wang Yangyang, Li Guanyu, Wang Ruihao, Xu Mingwei. Network topology emulation and performance evaluation using multiple programmable switches. Journal of Tsinghua University(Science and Technology), 2024, 64(4): 659-667.
链接本文:  
http://jst.tsinghuajournals.com/CN/10.16511/j.cnki.qhdxxb.2023.27.008  或          http://jst.tsinghuajournals.com/CN/Y2024/V64/I4/659
  
  
  
  
  
  
  
  
  
[1] 蒋炜, 钱声攀, 邱奔. 数据中心网络拓扑结构设计策略研究[J]. 中国电信业, 2021(S1): 73-78. JIANG W, QIAN S P, QIU B. Research on design strategies for data center network topology structure[J]. Journal of China Telecommunications Trade, 2021(S1): 73-78. (in Chinese)
[2] ISSARIYAKUL T, HOSSAIN E. Introduction to network simulator 2(NS2)[M]//ISSARIYAKUL T, HOSSAIN E. Introduction to Network Simulator NS2. Boston: Springer, 2009.
[3] ns-3[EB/OL].[2023-08-01]. https://www.nsnam.org/.
[4] BAI J S, BI J, KUANG P, et al. NS4: Enabling programmable data plane simulation[C]//Proceedings of the Symposium on SDN Research. Los Angeles, USA: ACM, 2018: 12.
[5] VARGA A, HORNIG R. An overview of the OMNeT++ simulation environment[C]//Proceedings of the 1st international Conference on Simulation Tools and Techniques for Communications, Networks and Systems & Workshops. Marseille France: ICST, 2010.
[6] Mininet Team. Mininet: An instant virtual network on your laptop (or other PC)[EB/OL].[2023-08-01]. http://mininet.org.
[7] KANNAN P G, SOLTANI A, CHAN M C, et al. BNV: Enabling scalable network experimentation through bare-metal network virtualization[C]//Proceedings of the 11th USENIX Conference on Cyber Security Experimentation and Test. Berkeley, USA: USENIX Association, 2018: 1-8.
[8] LIU H H, ZHU Y B, PADHYE J, et al. Crystalnet: Faithfully emulating large production networks[C]//Proceedings of the 26th Symposium on Operating Systems Principles. Shanghai, China: ACM, 2017: 599-613.
[9] MCKEOWN N, ANDERSON T, BALAKRISHNAN H, et al. OpenFlow: Enabling innovation in campus networks[J]. ACM SIGCOMM Computer Communication Review, 2008, 38(2): 69-74.
[10] BERMAN M, CHASE J S, LANDWEBER L, et al. GENI: A federated testbed for innovative network experiments[J]. Computer Networks, 2014, 61: 5-23.
[11] BOSSHART P, DALY D, GIBB G, et al. P4: Programming protocol-independent packet processors[J]. ACM SIGCOMM Computer Communication Review, 2014, 44(3): 87-95.
[12] BOSSHART P, GIBB G, KIM H S, et al. Forwarding metamorphosis: Fast programmable match-action processing in hardware for SDN[J]. ACM SIGCOMM Computer Communication Review, 2013, 43(4): 99-110.
[13] CAO J M, LIU Y, ZHOU Y, et al. TurboNet: Faithfully emulating networks with programmable switches[J]. IEEE/ACM Transactions on Networking, 2022, 30(3): 1395-1409.
[14] LIN Y S X, ZHOU Y, LIU Z Z, et al. Netview: Towards on-demand network-wide telemetry in the data center[J]. Computer Networks, 2020, 180: 107386.
[15] Menegola B. A study of the k-way graph partitioning problem[D]. Porto Alegre: University of Rio Grande Do Sul, 2012.
[16] SUNSHINE C A. Source routing in computer networks[J]. Sunshine, 1977, 7(1): 29-33.
[17] Barefoot Networks, Tofino[EB/OL].[2023-08-01]. https://www.barefootnetworks.com/products/brief-tofino/.
[18] KARYPIS G, KUMAR V. METIS: A software package for partitioning unstructured graphs, partitioning meshes, and computing fill-reducing orderings of sparse matrices[EB/OL]. (1998-09-20). http://mirror.its.dal.ca/freebsd/distfiles/gmsh/manual.pdf.
[19] KNIGHT S, NGUYEN H X, FALKNER N, et al. The internet topology zoo[J]. IEEE Journal on Selected Areas in Communications, 2011, 29(9): 1765-1775.
[20] PyMetis[EB/OL].[2023-10-24]. https://pypi.org/project/PyMetis/.
[21] SCIP[EB/OL].[2023-10-24]. https://www.scipopt.org/.
[1] 马锐, 高浩然, 窦伯文, 王夏菁, 胡昌振. 基于改进GN算法的程序控制流图划分方法[J]. 清华大学学报(自然科学版), 2019, 59(1): 15-22.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
版权所有 © 《清华大学学报(自然科学版)》编辑部
本系统由北京玛格泰克科技发展有限公司设计开发 技术支持:support@magtech.com.cn