首页 | 本学科首页   官方微博 | 高级检索  
     


Building a Basic Block Instruction Scheduler with Reinforcement Learning and Rollouts
Authors:McGovern  Amy  Moss  Eliot  Barto  Andrew G.
Affiliation:(1) Department of Computer Science, University of Massachusetts, Amherst, Amherst, MA 01003, USA
Abstract:The execution order of a block of computer instructions on a pipelined machine can make a difference in running time by a factor of two or more. Compilers use heuristic schedulers appropriate to each specific architecture implementation to achieve the best possible program speed. However, these heuristic schedulers are time-consuming and expensive to build. We present empirical results using both rollouts and reinforcement learning to construct heuristics for scheduling basic blocks. In simulation, the rollout scheduler outperformed a commercial scheduler on all benchmarks tested, and the reinforcement learning scheduler outperformed the commercial scheduler on several benchmarks and performed well on the others. The combined reinforcement learning and rollout approach was also very successful. We present results of running the schedules on Compaq Alpha machines and show that the results from the simulator correspond well to the actual run-time results.
Keywords:reinforcement learning  instruction scheduling  rollouts
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号