• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2025, Vol. 47 ›› Issue (06): 951-957.

• 高性能计算 • 上一篇    下一篇

一种基于Crossbar结构的分布式共享缓存交换机设计与实现

杨乾明,邵靖杰,曾聘,袁梦,宋卓秦,邓秋严,张剑锋,王勇   

  1. (国防科技大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2024-10-03 修回日期:2024-11-01 出版日期:2025-06-25 发布日期:2025-06-26
  • 基金资助:
    高性能计算国家实验室项目(202201-16)

Design and implementation of a distributed shared buffer switch based on Crossbar structure

YANG Qianming,SHAO Jingjie,ZENG Pin,YUAN Meng,SONG Zhuoqin,DENG Qiuyan,ZHANG Jianfeng,WANG Yong   

  1. (College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China)
  • Received:2024-10-03 Revised:2024-11-01 Online:2025-06-25 Published:2025-06-26

摘要: 交换机的交换结构、缓存方式和多端口读写并存等架构实现方式决定了交换机的性能。随着交换端口数目的增加与端口速率的提升,交换机如何提高多端口数据转发性能是一个值得研究的课题。为满足多端口数据转发、数据交换内部无阻塞的需求,提出一种基于Crossbar结构的分布式共享缓存交换机架构,首先,采用了一种基于Crossbar全相连的输入缓存结构,以满足多端口数据的无阻塞输入需求;其次,在交换结构上创新性地采用了分布式共享缓存方式,以提高数据交换速率;最后,在FPGA开发板上对设计进行了仿真和验证。结果表明,相比传统交换机,提出的分布式共享缓存的多端口交换机架构支持大容量数据转发,能有效提升数据传输带宽。

关键词: 多端口, 交叉开关, 分布式共享缓存, 读写缓存并行

Abstract: The performance of a switch is determined by its architectural implementations, such as the switching fabric, caching mechanism, and concurrent multi-port read/write operations. With the increase in the number of switch ports and port rates, how to enhance the multi-port data forwarding performance of switches has become a topic worthy of research. To meet the demands of multi-port data forwarding and non-blocking internal data exchanges, this paper proposes a distributed shared buffer  architecture for Ethernet switches based on a Crossbar structure. First, it adopts a fully connected Crossbar-based input caching structure  to ensure non-blocking input for multi-port data. Second, the switching fabric innovatively employs a distributed shared caching approach to improve data exchange rates. Finally, the design is simulated and verified on an FPGA development board. The results demonstrate that, compared to traditional switches, the proposed multi-port switch architecture with parallel read/write operations supports high-capacity data forwarding and effectively enhances data transmission bandwidth.

Key words: multi-port, Crossbar, distributed shared buffer, read/write buffer parallelism