SYNPA:ARM处理器中SMT性能分析与线程到核心的分配
SYNPA: SMT Performance Analysis and Allocation of Threads to Cores in ARM Processors
AI总结:
本文提出SYNPA方法,利用ARM处理器调度阶段的三个性能计数器变量构建回归模型,动态分配线程到SMT核心以缓解核心内干扰,在8应用工作负载中周转时间平均比Linux默认调度器提升约36%。
摘要:
同步多线程处理器通过在不同线程的指令之间共享内部核心资源,提高了相对于单线程处理器的吞吐量。然而,资源共享在核心内部引入了线程间干扰,这对单个应用程序的性能产生负面影响,并可能显著增加多程序工作负载的周转时间。干扰效应的严重程度取决于共享核心的竞争性协同运行程序。因此,可以通过应用一种线程到核心的分配策略来缓解这种干扰,该策略智能地选择在同一核心上运行的应用程序以最小化它们的干扰。本文提出了SYNPA,这是一种简单的方法,它根据线程的运行时动态行为,动态地将线程分配到SMT处理器中的核心。该方法使用回归模型来选择协同对,以缓解核心内部干扰。SYNPA的主要创新之处在于,它仅使用从当前ARM处理器在调度阶段可用的性能计数器中收集的三个变量。实验结果表明,在结合了前端受限和后端受限基准测试的8应用程序工作负载中,就周转时间而言,SYNPA平均比默认的Linux调度程序高出约36%。
英文摘要:
Simultaneous multithreading processors improve throughput over single-threaded processors thanks to sharing internal core resources among instructions from distinct threads. However, resource sharing introduces inter-thread interference within the core, which has a negative impact on individual application performance and can significantly increase the turnaround time of multi-program workloads. The severity of the interference effects depends on the competing co-runners sharing the core. Thus, it can be mitigated by applying a thread-to-core allocation policy that smartly selects applications to be run in the same core to minimize their interference. This paper presents SYNPA, a simple approach that dynamically allocates threads to cores in an SMT processor based on their run-time dynamic behavior. The approach uses a regression model to select synergistic pairs to mitigate intra-core interference. The main novelty of SYNPA is that it uses just three variables collected from the performance counters available in current ARM processors at the dispatch stage. Experimental results show that SYNPA outperforms the default Linux scheduler by around 36%, on average, in terms of turnaround time in 8-application workloads combining frontend bound and backend bound benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。