Hierarchical Resource Partitioning on Modern GPUs: A Reinforcement Learning Approach
<|reference_start|>Hierarchical Resource Partitioning on Modern GPUs: A Reinforcement Learning Approach: GPU-based heterogeneous architectures are now commonly used in HPC clusters. Due to their architectural simplicity specialized for data-level parallelism, GPUs can offer much higher computational throughput and memory bandwidth than CPUs in the same generation do. However, as the available resources in GPUs have increased exponentially over the past decades, it has become increasingly difficult for a single program to fully utilize them. As a consequence, the industry has started supporting several resource partitioning features in order to improve the resource utilization by co-scheduling multiple programs on the same GPU die at the same time. Driven by the technological trend, this paper focuses on hierarchical resource partitioning on modern GPUs, and as an example, we utilize a combination of two different features available on recent NVIDIA GPUs in a hierarchical manner: MPS (Multi-Process Service), a finer-grained logical partitioning; and MIG (Multi-Instance GPU), a coarse-grained physical partitioning. We propose a method for comprehensively co-optimizing the setup of hierarchical partitioning and the selection of co-scheduling groups from a given set of jobs, based on reinforcement learning using their profiles. Our thorough experimental results demonstrate that our approach can successfully set up job concurrency, partitioning, and co-scheduling group selections simultaneously. This results in a maximum throughput improvement by a factor of 1.87 compared to the time-sharing scheduling.<|reference_end|>
@article{saroliya2024hierarchical,
    title={Hierarchical Resource Partitioning on Modern GPUs: A Reinforcement
  Learning Approach},
    author={Urvij Saroliya, Eishi Arima, Dai Liu, Martin Schulz},
    journal={arXiv preprint arXiv:2405.08754},
    year={2024},
    doi={10.1109/CLUSTER52292.2023.00023},
    archivePrefix={arXiv},
    eprint={2405.08754},
    primaryClass={cs.DC cs.AR cs.LG}
}