首页> 外文期刊>Parallel Processing Letters >Applied On-Chip Machine Learning for Dynamic Resource Control in Multithreaded Processors
【24h】

Applied On-Chip Machine Learning for Dynamic Resource Control in Multithreaded Processors

机译:应用片上机器学习,用于多线程处理器中的动态资源控制

获取原文
获取原文并翻译 | 示例
           

摘要

In this paper, we propose a machine learning algorithm to control instruction fetch bandwidth in a simultaneous multithreaded CPU. In a simultaneous multithreaded CPU, multiple threads occupy pools of hardware resources in the same clock cycle. Under some conditions, one or more threads may undergo a period of inefficiency, e.g., a cache miss, thereby inefficiently using shared resources and degrading the performance of other threads. If these inefficiencies can be identified at runtime, the offending thread can be temporarily blocked from fetching new instructions into the pipeline and given time to recover from its inefficiency, and prevent the shared system resources from being wasted on a stalled thread. In this paper, we propose a machine learning approach to determine when a thread should be blocked from fetching new instructions. The model is trained offline and the parameters embedded in a CPU, which can be queried with runtime statistics to determine if a thread is running inefficiently and should be temporarily blocked from fetching. We propose two models: a simple linear model and a higher-capacity neural network. We test each model in a simulation environment and show that system performance can increase by up to 19% on average with a feasible implementation of the proposed algorithm.
机译:在本文中,我们提出了一种机器学习算法来控制同时多线程CPU中的指令获取带宽。在同时多线程CPU中,多个线程在同一时钟周期中占用硬件资源池。在某些条件下,一个或多个线程可能经历一段低效率,例如高速缓存未命中,从而使用共享资源效率低下并且劣化了其他线程的性能。如果可以在运行时识别这些低效率,则可以临时阻止违规线程将新指令暂时被释放到流水线中,并且给定从其低效率恢复的时间,并防止共享系统资源在停滞线程上浪费。在本文中,我们提出了一种机器学习方法来确定何时应该阻止线程获取新指令。该模型终止,嵌入在CPU中的参数,可以查询运行时统计信息,以确定线程是否正在运行效率低下,并且应暂时阻止从获取中删除。我们提出了两种型号:简单的线性模型和更高容量的神经网络。我们在仿真环境中测试每个模型,并表明系统性能可以平均增加高达19%,并且可以实现所提出的算法的可行实现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号