@inproceedings{d8338a3324294becbde2bdaf479e1c5d,
title = "COPS: A Coroutine-Based Priority Scheduling Framework Perceived by the Operating System",
abstract = "The multi-threading model in the general operating systems is becoming insufficient in applications with increasing amounts of concurrency, due to the high context-switching costs associated with kernel multi-threading. In this paper, we propose a new concurrency model called COPS. COPS employs a priority-based coroutine model as the fundamental task unit, replacing the traditional multi-threading model in scenarios with high concurrency, and offers a unified priority-based scheduling framework for both kernel and user space coroutines. COPS introduces coroutines as first-class citizens within the OS to provide asynchronous I/O mechanism, using kernel coroutines as a bridge between I/O operations and devices, and user coroutines to bridge applications with the OS services. We have designed a prototype web server based on COPS and conducted extensive experiments on an FPGA-based system to evaluate COPS. Results show that the proposed model achieves one to four times higher throughput while maintaining relatively lower overhead compared to the multi-threading model in large concurrency applications.",
keywords = "Concurrency, Coroutine, Multi-threading",
author = "Fangliang Zhao and Donghai Liao and Jingbang Wu and Huimei Lu and Yong Xiang",
note = "Publisher Copyright: {\textcopyright} 2024 IEEE.; 23rd International Conference on Ubiquitous Computing and Communications, IUCC 2024 ; Conference date: 20-12-2024 Through 22-12-2024",
year = "2024",
doi = "10.1109/IUCC65928.2024.00031",
language = "English",
series = "Proceedings - 2024 International Conference on Ubiquitous Computing and Communications, 23rd International Conference on Computer and Information Technology and 7th International Conference on Data Science and Computational Intelligence, IUCC-CIT-DSCI 2024",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "99--106",
editor = "Zhiwei Zhao and Jia Hu and Lexi Xu and Fei Hao and Guangyao Pang and Haozhe Wang",
booktitle = "Proceedings - 2024 International Conference on Ubiquitous Computing and Communications, 23rd International Conference on Computer and Information Technology and 7th International Conference on Data Science and Computational Intelligence, IUCC-CIT-DSCI 2024",
address = "United States",
}