內部自我組織運算之 WPU 設計與實作
Design and Implementation of Wireless Processing Unit for Internal Self-Organizing Computation
摘要
在現代無線通訊技術迅速發展的背景下,隨著 5G 時代的到來,對於基站運
算的需求日益增長。傳統的處理器架構由於依賴中央管理的主從式設計,在彈性
和擴展性方面存在一定的限制,無法完全滿足不斷變化的通訊需求。為了解決這
些問題,無線處理單元(Wireless Processing Unit)應運而生。WPU 不僅具備自
我組織功能,還能自動分配資源和工作,顯著提升了基站端的運算效率和靈活性。
隨著 WPU 架構的演進,內部運算單元的自我排程功能得到了進一步加強,
能夠自主地重排指令流程,從而縮短整體執行時間。這一特性在處理高負載、複
雜運算時尤為重要。
實驗室 WPU 的設計歷史中,曾關注指令流的排程,經歷了指令重排、SIMD
等概念,但從資料流的角度來看,尚無法真正實現 WPU 內部 PE 的自我組織。
這一過程涉及大量的溝通和管控成本,並且需要有效的機制來處理指令的相依性
問題及資料傳遞的頻寬瓶頸。
本研究採用了分散式快取配合 PE 自我組織的方式,使得相依指令之間的資
料能夠進行轉發,減少了大量反覆讀寫外部主記憶體的次數,解決了資料流中造
成主記憶體頻寬擁塞的問題。此外,設計了 PE 自我組織的拓撲網路和 Routing
Protocol,以極少量的 Cycle Count 作為代價換取 Place & Route 的可行性,大幅
降低了 PE 間溝通線路的複雜度,證明了在有限記憶體下 PE 自我組織的可行性。
本研究還運用了 Multiple Issue 概念來支持多線程,與前一版本的設計相比,本
研究在單一任務下的效能相當,而在連續多任務的情況下,實現了 46%以上的整
體效能提升。
算的需求日益增長。傳統的處理器架構由於依賴中央管理的主從式設計,在彈性
和擴展性方面存在一定的限制,無法完全滿足不斷變化的通訊需求。為了解決這
些問題,無線處理單元(Wireless Processing Unit)應運而生。WPU 不僅具備自
我組織功能,還能自動分配資源和工作,顯著提升了基站端的運算效率和靈活性。
隨著 WPU 架構的演進,內部運算單元的自我排程功能得到了進一步加強,
能夠自主地重排指令流程,從而縮短整體執行時間。這一特性在處理高負載、複
雜運算時尤為重要。
實驗室 WPU 的設計歷史中,曾關注指令流的排程,經歷了指令重排、SIMD
等概念,但從資料流的角度來看,尚無法真正實現 WPU 內部 PE 的自我組織。
這一過程涉及大量的溝通和管控成本,並且需要有效的機制來處理指令的相依性
問題及資料傳遞的頻寬瓶頸。
本研究採用了分散式快取配合 PE 自我組織的方式,使得相依指令之間的資
料能夠進行轉發,減少了大量反覆讀寫外部主記憶體的次數,解決了資料流中造
成主記憶體頻寬擁塞的問題。此外,設計了 PE 自我組織的拓撲網路和 Routing
Protocol,以極少量的 Cycle Count 作為代價換取 Place & Route 的可行性,大幅
降低了 PE 間溝通線路的複雜度,證明了在有限記憶體下 PE 自我組織的可行性。
本研究還運用了 Multiple Issue 概念來支持多線程,與前一版本的設計相比,本
研究在單一任務下的效能相當,而在連續多任務的情況下,實現了 46%以上的整
體效能提升。
In the rapid advancement of modern wireless communication, especially with 5G,
the demand for base station computing is growing. Traditional processors, relying on
centralized designs, struggle with flexibility and scalability, making them inadequate
for evolving needs. To address this, the Wireless Processing Unit (WPU) was developed.
The WPU has self-organizing capabilities and autonomously allocates resources,
improving computational efficiency and flexibility.
The WPU’s key feature is its autonomous resource management, functioning
without recompiling when processor numbers change. This resolves the reliance on
compilers or controllers in traditional architectures. Enhanced self-scheduling enables
autonomous instruction reordering, reducing execution time and improving efficiency,
especially under high-load conditions.
The WPU’s design history focuses on instruction flow, with concepts like
instruction reordering and SIMD. However, achieving true PE self-organization
remains a challenge, involving high communication and control costs. This research
employs distributed cache and PE self-organization for data forwarding, reducing
external memory operations and bandwidth congestion. A topology network and
Routing Protocol minimize cycle count costs and communication line complexity,
demonstrating PE self-organization feasibility. The Multiple Issue concept supports
multi-threading, resulting in a 74% performance improvement in multi-thread tasks (up
to 4 threads) compared to the previous design.
the demand for base station computing is growing. Traditional processors, relying on
centralized designs, struggle with flexibility and scalability, making them inadequate
for evolving needs. To address this, the Wireless Processing Unit (WPU) was developed.
The WPU has self-organizing capabilities and autonomously allocates resources,
improving computational efficiency and flexibility.
The WPU’s key feature is its autonomous resource management, functioning
without recompiling when processor numbers change. This resolves the reliance on
compilers or controllers in traditional architectures. Enhanced self-scheduling enables
autonomous instruction reordering, reducing execution time and improving efficiency,
especially under high-load conditions.
The WPU’s design history focuses on instruction flow, with concepts like
instruction reordering and SIMD. However, achieving true PE self-organization
remains a challenge, involving high communication and control costs. This research
employs distributed cache and PE self-organization for data forwarding, reducing
external memory operations and bandwidth congestion. A topology network and
Routing Protocol minimize cycle count costs and communication line complexity,
demonstrating PE self-organization feasibility. The Multiple Issue concept supports
multi-threading, resulting in a 74% performance improvement in multi-thread tasks (up
to 4 threads) compared to the previous design.