RLWS: A Reinforcement Learning based GPU Warp Scheduler
Jayvant Anantpur, Nagendra Gulur Dwarakanath, Shivaram, Kalyanakrishnan, Shalabh Bhatnagar, R. Govindarajan

TL;DR
This paper introduces RLWS, a reinforcement learning-based GPU warp scheduler that adapts online to diverse workloads, outperforming traditional heuristics by learning optimal scheduling strategies through simulation.
Contribution
The paper presents a novel reinforcement learning approach for warp scheduling in GPUs, using genetic algorithms to optimize parameters and variables for diverse workload adaptation.
Findings
Achieved 1.06x average speedup over Loose Round Robin.
Achieved 1.07x average speedup over Two-Level strategy.
Performed well on a wide range of benchmark workloads.
Abstract
The Streaming Multiprocessors (SMs) of a Graphics Processing Unit (GPU) execute instructions from a group of consecutive threads, called warps. At each cycle, an SM schedules a warp from a group of active warps and can context switch among the active warps to hide various stalls. Hence the performance of warp scheduler is critical to the performance of GPU. Several heuristic warp scheduling algorithms have been proposed which work well only for the situations they are designed for. GPU workloads are becoming very diverse in nature and hence one heuristic may not work for all cases. To work well over a diverse range of workloads, which might exhibit hitherto unseen characteristics, a warp scheduling algorithm must be able to adapt on-line. We propose a Reinforcement Learning based Warp Scheduler (RLWS) which learns to schedule warps based on the current state of the core and the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Embedded Systems Design Techniques · Real-Time Systems Scheduling
