Abstract
The Sunway TaihuLight supercomputer has enabled significant advances across diverse scientific and engineering domains, particularly through large-scale numerical and data-driven applications. However, on its SW26010 processor, the absence of an efficient data-sharing mechanism among computing cores often limits the performance of these applications. This paper presents swAllies, a high-efficiency data-sharing library designed to enhance application performance on the SW26010 processor. swAllies builds upon the SW26010’s register-level communication capabilities and integrates two strategies: a bandwidth-oriented strategy and a redundancy-oriented strategy. Both strategies enhance memory access efficiency by reducing redundant data movement and improving bandwidth utilization. Additional optimizations are incorporated to improve the library’s performance and flexibility, while manual and genetic-algorithm-based parameter tuning further improves adaptability across workloads. On the 2D FD4 benchmark, swAllies, together with standard optimization techniques, achieves a 13.54× speedup, reaching 85% of the theoretical upper bound. Across eight representative workloads, swAllies delivers up to 2.71× speedup, demonstrating its effectiveness for real-world scientific applications on the Sunway TaihuLight.
Keywords
Get full access to this article
View all access options for this article.
