Intermediate Address Space: virtual memory optimization of heterogeneous architectures for cache-resident workloads
The increasing demand for computing power and the emergence of heterogeneous computing architectures have driven the exploration of innovative techniques to address current limitations in both the compute and memory subsystems. One such solution is the use of \textit{Accelerated Processing Units} (APUs), processors that incorporate both a \textit{central processing unit} (CPU) and an \textit{integrated graphics processing unit} (iGPU). However, the performance of both APU and CPU systems can be significantly hampered by address translation overhead, leading to a decline in overall performance, especially for cache-resident workloads. To address this issue, we propose the introduction of a new \textit{intermediate address space} (IAS) in both APU and CPU systems. IAS serves as a bridge between \textit{virtual address} (VA) spaces and \textit{physical address} (PA) spaces, optimizing the address translation process. In the case of APU systems, our research indicates that the iGPU suffers from significant \textit{translation look-aside buffer} (TLB) misses in certain workload situations. Using an IAS, we can divide the initial address translation into front- and back-end phases, effectively shifting the bottleneck in address translation from the cache side to the memory controller side, a technique that proves to be effective for cache-resident workloads. Our simulations demonstrate that implementing IAS in the CPU system can boost performance by up to 40% compared to conventional CPU systems. Furthermore, we evaluate the effectiveness of APU systems, comparing the performance of IAS-based systems with traditional systems, showing up to a 185% improvement in APU system performance with our proposed IAS implementation. Furthermore, our analysis indicates that over 90% of TLB misses can be filtered by the cache, and employing a larger cache within the system could potentially result in even greater improvements. The proposed IAS offers a promising and practical solution to enhance the performance of both APU and CPU systems, contributing to state-of-the-art research in the field of computer architecture.
2024_Liu_HiPEAC_Final.pdf
postprint
openaccess
copyright
2.38 MB
Adobe PDF
eb00b2b877ae56bac682b326fef7c0d8