跳到主要导航 跳到搜索 跳到主要内容

COPS: A Coroutine-Based Priority Scheduling Framework Perceived by the Operating System

  • Fangliang Zhao
  • , Donghai Liao
  • , Jingbang Wu
  • , Huimei Lu
  • , Yong Xiang*
  • *此作品的通讯作者
  • Tsinghua University
  • Beijing Institute of Technology
  • Beijing Technology and Business University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

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.

源语言英语
主期刊名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
编辑Zhiwei Zhao, Jia Hu, Lexi Xu, Fei Hao, Guangyao Pang, Haozhe Wang
出版商Institute of Electrical and Electronics Engineers Inc.
99-106
页数8
ISBN(电子版)9798331511999
DOI
出版状态已出版 - 2024
活动23rd International Conference on Ubiquitous Computing and Communications, IUCC 2024 - Chengdu, 中国
期限: 20 12月 202422 12月 2024

出版系列

姓名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

会议

会议23rd International Conference on Ubiquitous Computing and Communications, IUCC 2024
国家/地区中国
Chengdu
时期20/12/2422/12/24

指纹

探究 'COPS: A Coroutine-Based Priority Scheduling Framework Perceived by the Operating System' 的科研主题。它们共同构成独一无二的指纹。

引用此