Deep Reinforcement Learning (DRL) is being increasingly applied to the problem of resource allocation for emerging System-on-Chip (SoC) applications, and has shown remarkable promises. In this paper, we introduce SoCRATES (SoC Resource AdapTivE Scheduler), an extremely efficient DRL-based SoC scheduler which maps a wide range of hierarchical jobs to heterogeneous resources within SoC using the Eclectic Interaction Matching (EIM) technique. It is noted that the majority of SoC resource management approaches have been targeting makespan minimization with fixed number of jobs in the system. In contrast, SoCRATES aims at minimizing average latency in a steady-state condition while assigning tasks in the ready queue to heterogeneous resources (processing elements). We first show that existing DRL-based schedulers developed with the makespan minimization objective are ineffective for the latency-minimization-driven SoC applications due to their characteristics such as high-frequency job workload and distributed/parallel job execution. We then demonstrate that through its EIM technique, SoCRATES successfully addresses the challenge of concurrent observations caused by the task dependency inherent in the latency minimization objective. Extensive tests show that SoCRATES outperforms other existing neural and non-neural schedulers with as high as 38% gain in latency reduction under a variety of job types, queue length, and incoming rates. The resulting model is also compact in size and has very favorable energy consumption behaviors, making it highly practical for deployment in future SoC systems with built-in neural accelerator.
翻译:深度强化学习(DRL)正越来越多地应用于新兴的系统芯片(SOC)应用程序的资源分配问题,并展示了令人瞩目的承诺。在本文中,我们引入了SCRATES(SoC Resource AdapTivE 调度器),这是一个以DRL为基础的非常高效的SOC调度器,该调度器利用电磁互动匹配(EIM)技术绘制了多种等级工作图,用于在SoC内部的多样化资源。人们注意到,大多数 SoC资源管理方法都以系统固定数量的工作岗位为目标,使实际最小化。相比之下,SOCRATES的目标是在稳定状态条件下将平均延迟的幅度最小化,同时将准备的排队中的任务分配给混合的资源(处理元素)。我们首先显示,现有的基于DRL的排程与最小化目标一起开发的排队,对于由于高频度工作模式工作量和分布/弹性工作执行等特点,对于长期性工作执行来说是无效的。我们随后通过 EIM 技术,SoCRATES成功地应对了当前观测在稳定状态下造成的平均递延耗耗力挑战。