Preemption-Aware Kernel Scheduling for GPUs

被引:6
作者
Jin, Sihuizi [1 ]
Wang, Zhenning [1 ]
Chen, Quan [1 ]
Guo, Minyi [1 ]
机构
[1] Shanghai Jiao Tong Univ, Shanghai Inst Adv Commun & Data Sci, Dept Comp Sci & Engn, Shanghai, Peoples R China
来源
2017 15TH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS AND 2017 16TH IEEE INTERNATIONAL CONFERENCE ON UBIQUITOUS COMPUTING AND COMMUNICATIONS (ISPA/IUCC 2017) | 2017年
基金
中国国家自然科学基金;
关键词
GPU; Preemption; Scheduling; MULTITASKING;
D O I
10.1109/ISPA/IUCC.2017.00087
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
GPUs have been widely used in modern datacenters to accelerate emerging services such as Graph Processing, Intelligent Personal Assistant (IPA), and Deep Learning. However, current GPUs have very limited support for sharing. They are shared in a time-multiplexed manner in datacenters, which leads to low throughput. Previous studies on GPU kernel scheduling either target for fairness or only share GPUs statically, which cannot handle dynamically arriving kernels. Recent work has proposed hardware preemption mechanism for GPUs, enabling dynamic sharing. Exploiting this mechanism, we propose a preemption-aware kernel scheduling strategy for GPUs. Our strategy improves the throughput by running complementary kernels together. Furthermore, our strategy decides whether to preempt running kernels by weighing the performance benefit and overhead of the preemption with analytic models when new kernels arrive. Evaluation results show that our strategy improves the throughput by 20.1% over sequential execution, and 11.5% over a FCFS strategy.
引用
收藏
页码:525 / 532
页数:8
相关论文
共 38 条
  • [1] Aguilera P, 2014, PR IEEE COMP DESIGN, P440, DOI 10.1109/ICCD.2014.6974717
  • [2] Aguilera P, 2014, ASIA S PACIF DES AUT, P726, DOI 10.1109/ASPDAC.2014.6742976
  • [3] [Anonymous], HYPER Q EXAMPLE
  • [4] [Anonymous], SHAR GPU MPI PROC MU
  • [5] [Anonymous], 2013, SIGARCH Comput. Archit. News, DOI [DOI 10.1145/2508148.2485964, 10.1145/2508148.2485964, DOI 10.1145/2485922]
  • [6] [Anonymous], PROGR GUID
  • [7] [Anonymous], 2012, 2012 INNOVATIVE PARA, DOI DOI 10.1109/INPAR.2012.6339596
  • [8] [Anonymous], 2012, CTR RELIABLE HIGH PE
  • [9] [Anonymous], ICS 15
  • [10] [Anonymous], ISCA 16