ALP:减轻以内存为中心的系统中CPU内存数据移动开销
ALP: Alleviating CPU-Memory Data Movement Overheads in Memory-Centric Systems
摘要:
在NDP和主机CPU核之间划分应用程序导致段间数据移动开销,这是由移动从一个段生成的数据(例如,指令、函数)并在连续的段中使用。以前的作品采取两种方法来解决这个问题。第一类工作基于每个段的属性将段映射到NDP或主机核,忽略段间数据移动开销。第二类工作基于每个段的总体内存带宽节省来划分应用程序,并且如果它们引起高段间数据移动,则不将每个段卸载到最适合的核心。我们表明,1)将每个段映射到其最佳拟合的核心理想地可以提供实质性的好处,2)段间的数据移动显着降低了这种好处。为此,我们引入ALP,一个新的程序员透明的技术,以利用NDP的性能优势,减轻主机和内存之间的段间数据移动开销,并实现有效的分区应用程序。ALP通过主动准确地在段之间传输所需数据来减少段间数据移动开销。这是基于一个关键的观察,即生成段间数据的指令在不同输入上的程序的不同执行中保持相同。ALP使用编译器通道来识别这些指令,并使用专用硬件在运行时在主机和NDP内核之间传输数据。ALP有效地将应用程序段映射到主机或NDP,考虑1)每个段的属性,2)段间数据移动开销,以及3)是否可以及时减轻该开销。我们评估了ALP在广泛的工作负载,并显示平均54.3%和45.4%的加速相比,只有主机CPU或只有NDP执行,分别。
英文摘要:
Partitioning applications between NDP and host CPU cores causes inter-segment data movement overhead, which is caused by moving data generated from one segment (e.g., instructions, functions) and used in consecutive segments. Prior works take two approaches to this problem. The first class of works maps segments to NDP or host cores based on the properties of each segment, neglecting the inter-segment data movement overhead. The second class of works partitions applications based on the overall memory bandwidth saving of each segment, and does not offload each segment to the best-fitting core if they incur high inter-segment data movement. We show that 1) mapping each segment to its best-fitting core ideally can provide substantial benefits, and 2) the inter-segment data movement reduces this benefit significantly. To this end, we introduce ALP, a new programmer-transparent technique to leverage the performance benefits of NDP by alleviating the inter-segment data movement overhead between host and memory and enabling efficient partitioning of applications. ALP alleviates the inter-segment data movement overhead by proactively and accurately transferring the required data between the segments. This is based on the key observation that the instructions that generate the inter-segment data stay the same across different executions of a program on different inputs. ALP uses a compiler pass to identify these instructions and uses specialized hardware to transfer data between the host and NDP cores at runtime. ALP efficiently maps application segments to either host or NDP considering 1) the properties of each segment, 2) the inter-segment data movement overhead, and 3) whether this overhead can be alleviated in a timely manner. We evaluate ALP across a wide range of workloads and show on average 54.3% and 45.4% speedup compared to only-host CPU or only-NDP executions, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。