Lightweight preemptive user-level threads
Lightweight preemptive user-level threads
复制标题
轻量级抢占式用户级线程
DOI:
--
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
P. Balaji
中科院分区:
文献类型:
--
作者:
Shumpei Shiina;Shintaro Iwasaki;K. Taura;P. Balaji
Many-to-many mapping models for user- to kernel-level threads (or "M:N threads") have been extensively studied for decades as a lightweight substitute for current Pthreads implementations that provide a simple one-to-one mapping ("1:1 threads"). M:N threads derive performance from their ability to allow users to context switch between threads and control their scheduling entirely in user space with no kernel involvement. This same ability, however, causes M:N threads to lose the kernel-provided ability of implicit OS preemption---threads have to explicitly yield control for other threads to be scheduled. Hence, programs over nonpreemptive M:N threads can cause core starvation, loss of prioritization, and, sometimes, deadlock unless programs are written to explicitly yield in proper places. This paper explores two techniques for M:N threads to efficiently achieve implicit preemption similar to 1:1 threads: signal-yield and KLT-switching. Overheads of these techniques, with our optimizations, can be less than 1% compared with nonpreemptive M:N threads. Our evaluation with three applications demonstrates that our preemption techniques for M:N threads improve core utilization and enhance the performance by utilizing lightweight context switching and flexible scheduling of M:N threads.
DOI:
--
发表时间:
2020
期刊:
2020 USENIX Annual Technical Conference (USENIX ATC 20
影响因子:
--
作者:
Boucher, Sol;Kalia, Anuj Kalia;Andersen, David G.;Kaminsky, Michael
通讯作者:
Kaminsky, Michael
DOI:
10.1109/sc41405.2020.00057
发表时间:
2020
期刊:
and Analysis (SC 2020
影响因子:
--
作者:
Ghosh, Souradip;Cuevas, Michael;Campanoni, Simone;Dinda, Peter
通讯作者:
Dinda, Peter