当并行加速遇到内存墙时
When parallel speedups hit the memory wall
摘要:
在Amdahl的开创性工作之后,许多其他作者提出了分析加速模型,但没有一个考虑内存墙的限制作用。这些模型利用了问题大小变化、内存大小、通信开销和同步开销等方面,但假设数据访问延迟是恒定的。然而,这样的延迟可以例如根据所使用的核的数量以及处理器和存储器频率之间的比率而变化。鉴于大量的可能的配置的工作频率和当前的架构可以提供的核心数量,合适的加速模型来描述这些配置之间的变化是非常可取的离线或在线调度决策。这项工作提出了新的并行加速模型,占平均数据访问延迟的变化来描述的限制效果的内存墙上的并行加速。分析结果表明,所提出的建模可以捕捉到所需的行为,而实验硬件结果验证了前者。此外,我们表明,当考虑到反映应用程序的内在特征的参数时,例如并行度和对内存墙的敏感性,我们的建议比基于机器学习的建模具有显着的优势。此外,除了黑箱建模之外,我们的实验还表明,传统的机器学习建模需要多一个数量级的测量才能达到与我们建模相同的精度水平。
英文摘要:
After Amdahl's trailblazing work, many other authors proposed analytical speedup models but none have considered the limiting effect of the memory wall. These models exploited aspects such as problem-size variation, memory size, communication overhead, and synchronization overhead, but data-access delays are assumed to be constant. Nevertheless, such delays can vary, for example, according to the number of cores used and the ratio between processor and memory frequencies. Given the large number of possible configurations of operating frequency and number of cores that current architectures can offer, suitable speedup models to describe such variations among these configurations are quite desirable for off-line or on-line scheduling decisions. This work proposes new parallel speedup models that account for variations of the average data-access delay to describe the limiting effect of the memory wall on parallel speedups. Analytical results indicate that the proposed modeling can capture the desired behavior while experimental hardware results validate the former. Additionally, we show that when accounting for parameters that reflect the intrinsic characteristics of the applications, such as degree of parallelism and susceptibility to the memory wall, our proposal has significant advantages over machine-learning-based modeling. Moreover, besides being black-box modeling, our experiments show that conventional machine-learning modeling needs about one order of magnitude more measurements to reach the same level of accuracy achieved in our modeling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。