Efficient Scheduling Policies for Microsecond-Scale Tasks

被引:0
作者
McClure, Sarah [1 ]
Ousterhout, Amy [1 ]
Shenker, Scott [1 ,2 ]
Ratnasamy, Sylvia [1 ]
机构
[1] Univ Calif Berkeley, Berkeley, CA 94720 USA
[2] ICSI, Berkeley, CA USA
来源
PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22) | 2022年
基金
美国国家科学基金会;
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Datacenter operators today strive to support microsecond-latency applications while also using their limited CPU resources as efficiently as possible. To achieve this, several recent systems allow multiple applications to run on the same server, granting each a dedicated set of cores and reallocating cores across applications over time as load varies. Unfortunately, many of these systems do a poor job of navigating the tradeoff between latency and efficiency, sacrificing one or both, especially when handling tasks as short as 1 mu s. While the implementations of these systems (threading libraries, network stacks, etc.) have been heavily optimized, the policy choices that they make have received less scrutiny. Most systems implement a single choice of policy for allocating cores across applications and for load-balancing tasks across cores within an application. In this paper, we use simulations to compare these different policy options and explore which yield the best combination of latency and efficiency. We conclude that work stealing performs best among loadbalancing policies, multiple policies can perform well for core allocations, and, surprisingly, static core allocations often outperform reallocation with small tasks. We implement the best-performing policy choices by building on Caladan, an existing core-allocating system, and demonstrate that they can yield efficiency improvements of up to 13-22% without degrading (median or tail) latency.
引用
收藏
页码:1 / 18
页数:18
相关论文
共 50 条
[21]   Ionic Mechanisms of Microsecond-Scale Spike Timing in Single Cells [J].
Markham, Michael R. ;
Zakon, Harold H. .
JOURNAL OF NEUROSCIENCE, 2014, 34 (19) :6668-6678
[22]   KRCORE: A Microsecond-scale RDMA Control Plane for Elastic Computing [J].
Wei, Xingda ;
Lu, Fangming ;
Chen, Rong ;
Chen, Haibo .
PROCEEDINGS OF THE 2022 USENIX ANNUAL TECHNICAL CONFERENCE, 2022, :121-136
[23]   The fracture energy of materials under pulse microsecond-scale loading [J].
Gruzdkov, AA ;
Krivosheev, SI ;
Petrov, YV .
PHYSICS OF THE SOLID STATE, 2003, 45 (05) :886-889
[24]   Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences [J].
Han, Mingcong ;
Zhang, Hanze ;
Chen, Rong ;
Chen, Haibo .
PROCEEDINGS OF THE 16TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, OSDI 2022, 2022, :539-558
[25]   NetClone: Fast, Scalable, and Dynamic Request Cloning for Microsecond-Scale RPCs [J].
Kim, Gyuyeong .
PROCEEDINGS OF THE 2023 ACM SIGCOMM 2023 CONFERENCE, SIGCOMM 2023, 2023, :195-207
[26]   Noninvasive extraction of microsecond-scale dynamics from human motor cortex [J].
Koponen, Lari M. ;
Nieminen, Jaakko O. ;
Mutanen, Tuomas P. ;
Ilmoniemi, Risto J. .
HUMAN BRAIN MAPPING, 2018, 39 (06) :2405-2411
[27]   A turn-on TADF chemosensor for sulfite with a microsecond-scale luminescence lifetime [J].
Yin, Huiyi ;
Wu, Yingnan ;
Peng, Xiaojun ;
Song, Fengling .
CHEMICAL COMMUNICATIONS, 2020, 56 (72) :10549-10551
[28]   Characterization of shallow acceptors in GaAs by microsecond-scale time-resolved photoluminescence [J].
Gilinsky, AM ;
Zhuravlev, KS .
APPLIED PHYSICS LETTERS, 1996, 68 (03) :373-375
[29]   Evolution characteristics of shock wave in microsecond-scale underwater electrical wire explosion [J].
Huang, Yifan ;
Gu, Tianyi ;
Chen, Yao ;
Zeng, Hanshi ;
Han, Xiaotao .
PHYSICS OF FLUIDS, 2024, 36 (12)
[30]   Microsecond-scale staircase voltammetry for measuring the electrical conductivity of highly conductive liquids [J].
Kim, Jong-Yun ;
Choi, Yong Suk ;
Bae, Sang-Eun ;
Park, Tae -Hong ;
Kim, Tae-Hyeong .
JOURNAL OF INDUSTRIAL AND ENGINEERING CHEMISTRY, 2023, 120 :90-95