CADS:面向多核存储控制器的核感知动态队列
CADS: Core-Aware Dynamic Scheduler for Multicore Memory Controllers
摘要:
内存控制器调度在共享DRAM带宽的多核处理器中至关重要。由于来自处理器的多个核的请求数量的增加成为瓶颈的来源,因此有效地调度请求对于利用这些处理器提供的所有计算能力是必要的。然而,当前的多核处理器正在使用传统的存储器控制器,其是为单核处理器设计的。它们无法适应在多个内核上同时运行的内存工作负载的变化特征。现有的缓存器可能会破坏来自不同内核的数据请求之间的局部性和存储体并行性。因此,考虑并适应存储器访问特性,并有效和公平地共享存储器资源的新型存储器控制器是必要的。介绍了一种用于多核存储控制器的核心感知动态调度算法CADS。CADS使用强化学习(RL)在运行时动态地改变其调度策略。我们的调度程序利用多个核心的数据请求之间的局部性,并利用并行访问多个银行的DRAM。CADS还能够共享DRAM,同时保证所有访问内存的核心的公平性。使用CADS策略,我们实现了更好的每指令周期(CPI)在运行内存密集型和计算密集型PARSEC并行基准同时,和16%的CPI与SPEC 2006基准。
英文摘要:
Memory controller scheduling is crucial in multicore processors, where DRAM bandwidth is shared. Since increased number of requests from multiple cores of processors becomes a source of bottleneck, scheduling the requests efficiently is necessary to utilize all the computing power these processors offer. However, current multicore processors are using traditional memory controllers, which are designed for single-core processors. They are unable to adapt to changing characteristics of memory workloads that run simultaneously on multiple cores. Existing schedulers may disrupt locality and bank parallelism among data requests coming from different cores. Hence, novel memory controllers that consider and adapt to the memory access characteristics, and share memory resources efficiently and fairly are necessary. We introduce Core-Aware Dynamic Scheduler (CADS) for multicore memory controller. CADS uses Reinforcement Learning (RL) to alter its scheduling strategy dynamically at runtime. Our scheduler utilizes locality among data requests from multiple cores and exploits parallelism in accessing multiple banks of DRAM. CADS is also able to share the DRAM while guaranteeing fairness to all cores accessing memory. Using CADS policy, we achieve 20% better cycles per instruction (CPI) in running memory intensive and compute intensive PARSEC parallel benchmarks simultaneously, and 16% better CPI with SPEC 2006 benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。