Fast Core Scheduling with Userspace Process Abstraction
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
- Youmin Chen (ORCID: https://orcid.org/0000-0003-4171-4299)
- Youyou Lu (ORCID: https://orcid.org/0000-0002-6214-5390)
- S.Y. Gao (ORCID: https://orcid.org/0009-0000-4751-0161)
- Jinxia Lin
Institutions
- Tsinghua University (CN)
Publication Details
- Published
- 2024-11-04
- DOI
- https://doi.org/10.1145/3694715.3695976
- Citations
- 3
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 2.34
Funders
- National Natural Science Foundation of China