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 条
[41]   Unimolecular decomposition in ion cyclotron resonance traps: kinetic energy release and microsecond-scale kinetics [J].
Rakov, VS ;
Futrell, JH .
EUROPEAN JOURNAL OF MASS SPECTROMETRY, 2002, 8 (03) :253-262
[42]   Microsecond-scale switching time of magnetic fluids due to the optical trapping effect in waveguide structure [J].
Wen Yuan ;
Cheng Yin ;
Pingping Xiao ;
Xianping Wang ;
Jingjing Sun ;
Sangming Huang ;
Xianfeng Chen ;
Zhuangqi Cao .
Microfluidics and Nanofluidics, 2011, 11 :781-785
[43]   The role of water in rhodopsin activation: Insights from two microsecond-scale molecular dynamics simulations [J].
Grossfield, Alan ;
Pitman, Michael C. ;
Feller, Scott E. ;
Soubias, Olivier ;
Gawrisch, Klaus .
BIOPHYSICAL JOURNAL, 2007, :147A-147A
[44]   Can We Execute Stable Microsecond-Scale Atomistic Simulations of Protein-RNA Complexes? [J].
Krepl, M. ;
Havrila, M. ;
Stadlbauer, P. ;
Banas, P. ;
Otyepka, M. ;
Pasulka, J. ;
Stefl, R. ;
Sponer, J. .
JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2015, 11 (03) :1220-1243
[45]   Triplex intermediates in folding of human telomeric quadruplexes probed by microsecond-scale molecular dynamics simulations [J].
Stadlbauer, Petr ;
Trantirek, Lukas ;
Cheatham, Thomas E., III ;
Koca, Jaroslav ;
Sponer, Jiri .
BIOCHIMIE, 2014, 105 :22-35
[46]   COMP 114-Novel algorithms enabling practical microsecond-scale molecular dynamics simulations [J].
Bowers, Kevin J. ;
Chow, Edmond ;
Dror, Ron O. ;
Eastwood, Michael P. ;
Gregersen, Brent A. ;
Gullingsrud, Justin ;
Jensen, Morten O. ;
Klepeis, John L. ;
Kolossvary, Istvan ;
Lippert, Ross A. ;
Rendleman, Charles A. ;
Shan, Yibing ;
Xu, Huafeng ;
Shaw, David E. .
ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2008, 235
[47]   Analysis of Time-Domain Characteristics of Microsecond-Scale Repetitive Pulse Discharge Events in Lightning [J].
Shen, Jinxing ;
Sun, Zheng ;
Shi, Lihua ;
Qiu, Shi .
ATMOSPHERE, 2025, 16 (05)
[48]   Microsecond-Scale Molecular Dynamics Simulations Reveal Desensitized Behavior of 5HT3 [J].
Guros, Nicholas B. ;
Balijepalli, Arvind ;
Klauda, Jeffery B. .
BIOPHYSICAL JOURNAL, 2019, 116 (03) :393A-393A
[49]   Microsecond-scale switching time of magnetic fluids due to the optical trapping effect in waveguide structure [J].
Yuan, Wen ;
Yin, Cheng ;
Xiao, Pingping ;
Wang, Xianping ;
Sun, Jingjing ;
Huang, Sangming ;
Chen, Xianfeng ;
Cao, Zhuangqi .
MICROFLUIDICS AND NANOFLUIDICS, 2011, 11 (06) :781-785
[50]   Diffusion in a Cu-Zr metallic glass studied by microsecond-scale molecular dynamics simulations [J].
Zhang, Y. ;
Wang, C. Z. ;
Mendelev, M. I. ;
Zhang, F. ;
Kramer, M. J. ;
Ho, K. M. .
PHYSICAL REVIEW B, 2015, 91 (18)