Work

Fast Core Scheduling with Userspace Process Abstraction

Year: 2024
Type: conference-paper
Abstract: We introduce uProcess, a pure userspace process abstraction that enables CPU cores to be rescheduled among applications at sub-microsecond timescale without trapping into the kernel. We achieve this by constructing a special privileged mode in userspace to achieve safe and efficient separation among uProcesses. The core idea is a careful combination of two emerging hardware features - userspace interrupts (Uintr) and memory protection keys (MPK). We materialize the uProcess abstraction by implementing Vessel, a userspace core scheduler that colocates latency-critical and best-effort applications with minimal switching overhead when they time-share CPU cores. Our experiment result shows that Vessel exhibits better overall performance and low latency when multiple applications are colocated.
Authors: Jiazhen Lin, Youmin Chen, Shiwei Gao, Youyou Lu
Institution: Tsinghua University
Language: English
Open Access status: hybrid
OpenAlex ID: W4404400682
FWCI: 1.931
Cites: 21
Cited by: 6
Related to: 10