《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > 模擬設(shè)計 > 設(shè)計應(yīng)用 > 基于Crossbar多端口緩存共享的交換架構(gòu)設(shè)計
基于Crossbar多端口緩存共享的交換架構(gòu)設(shè)計
電子技術(shù)應(yīng)用
張子琪,方震,于宗光
中國電子科技集團公司第五十八研究所
摘要: 隨著網(wǎng)絡(luò)的不斷發(fā)展,數(shù)據(jù)帶寬不斷提升,對網(wǎng)絡(luò)設(shè)備中交換容量、轉(zhuǎn)發(fā)延遲、內(nèi)存利用率等關(guān)鍵指標提出了更高的要求。采用基于Crossbar多端口緩存共享的交換架構(gòu),實現(xiàn)報文的存儲、調(diào)度、排序和轉(zhuǎn)發(fā)。采用共享緩存架構(gòu)并使用描述符定義數(shù)據(jù)包,實現(xiàn)了多端口下多個隊列的共享隊列緩存,每端口支持 8 個優(yōu)先級隊列,實現(xiàn)有序的調(diào)度,減少多隊列的阻塞問題。在多SRAM的緩存管理中采用分頁式鏈表的方法,實現(xiàn)了動態(tài)共享緩存,提高數(shù)據(jù)存取效率、降低轉(zhuǎn)發(fā)延遲?;赬ilinx公司的XCZU3EG驗證平臺上完成了FPGA原型驗證,完成了多端口結(jié)構(gòu)的功能驗證和性能測試,平均端口速率達6.08 Gb/s,實現(xiàn)交換延遲可控。
中圖分類號:TN915.05 文獻標志碼:A DOI: 10.16157/j.issn.0258-7998.256651
中文引用格式: 張子琪,方震,于宗光. 基于Crossbar多端口緩存共享的交換架構(gòu)設(shè)計[J]. 電子技術(shù)應(yīng)用,2025,51(11):53-58.
英文引用格式: Zhang Ziqi,F(xiàn)ang Zhen,Yu Zongguang. Design of switching architecture with shared multi-port buffers based on crossbar[J]. Application of Electronic Technique,2025,51(11):53-58.
Design of switching architecture with shared multi-port buffers based on crossbar
Zhang Ziqi,F(xiàn)ang Zhen,Yu Zongguang
The 58th Research Institute of China Electronics Technology Group Corporation
Abstract: With the continuous development of the network and the continuous improvement of data bandwidth, higher requirements have been put forward for key indicators such as switching capacity, forwarding delay, and memory utilization in network devices. This design adopts a switching architecture based on crossbar multi-port cache sharing to achieve the storage, scheduling, sorting, and forwarding of messages. This design uses a shared cache architecture and defines data packets with descriptors, achieving shared queue cache for multiple queues under multiple ports. Each port supports 8 priority queues, realizing orderly scheduling and reducing the blocking problem of multiple queues. In the cache management of multiple SRAMs, a paged linked list method is adopted to achieve dynamic shared cache, improving data access efficiency and reducing forwarding delay. This design has completed FPGA prototype verification on the XCZU3EG verification platform of Xilinx Company, achieving functional verification and performance testing of the multi-port structure. The average port rate reaches 6.08 Gb/s, and the switching delay is controllable.
Key words : shared cache;multi-port;switching architecture;QoS

引言

交換結(jié)構(gòu)對交換機的性能有著巨大影響,交換機需要具備快速的數(shù)據(jù)處理和轉(zhuǎn)發(fā)能力[1],這對交換架構(gòu)中的緩存管理技術(shù)提出了更高的要求,需要其能夠高效地存儲和讀取數(shù)據(jù)包,減少數(shù)據(jù)的等待時間和處理延遲,因此,在交換中設(shè)計合理的緩存結(jié)構(gòu)是至關(guān)重要的[2]。

本文介紹基于Crossbar多端口緩存共享的交換架構(gòu),該架構(gòu)具有64 bit位寬16入16出的端口,支持數(shù)據(jù)包長度為64~1 024 B,數(shù)據(jù)包存儲采用32塊256 Kb的SRAM存儲器,將SRAM緩存設(shè)計為共享式緩存確保在交換中實現(xiàn)高速數(shù)據(jù)存儲,并且SRAM控制器能夠通過分頁式鏈表建立和鏈接對緩存內(nèi)部的數(shù)據(jù)包進行管理,避免數(shù)據(jù)包的長度和存儲器數(shù)據(jù)通道的數(shù)量對存儲器資源的影響,實現(xiàn)內(nèi)存回收,動態(tài)調(diào)整空間,在保證高速傳輸?shù)那疤嵯?,很大程度地?jié)約了存儲資源[3]。數(shù)據(jù)包交換采用描述符描述數(shù)據(jù)包,減少數(shù)據(jù)包多次存儲產(chǎn)生的時間,極大地降低了交換的延遲,解決了交換過程中緩存效率低的問題[4]。為了保證交換的服務(wù)質(zhì)量,該架構(gòu)支持按 QoS調(diào)度,可實時切換嚴格優(yōu)先級、加權(quán)差額輪詢調(diào)度算法,支持多端口多隊列動態(tài)共享緩存,解決了傳統(tǒng)Crossbar交換架構(gòu)中存在的隊頭阻塞等問題[5]。經(jīng)驗證該架構(gòu)具有存儲、排序、轉(zhuǎn)發(fā)功能,并能高效存儲數(shù)據(jù)包,實現(xiàn)高速、多端口、無沖突的交換。


本文詳細內(nèi)容請下載:

http://ccf-cncc2011.cn/resource/share/2000006840


作者信息:

張子琪,方震,于宗光

(中國電子科技集團公司第五十八研究所,江蘇 無錫 214026)


官方訂閱.jpg

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。