OneOS的任务调度系统设计与实现  

Design and Implementation of OneOS Task Scheduling System

在线阅读下载全文

作  者:李蒙 贺鸿飞 Li Meng;He Hongfei(University of Electronic Science and Technology of China,Chengdu 611731,China;China Mobile IoT Company Limited)

机构地区:[1]电子科技大学,成都611731 [2]中移物联网有限公司

出  处:《单片机与嵌入式系统应用》2022年第9期13-17,21,共6页Microcontrollers & Embedded Systems

摘  要:在物联网应用场景下,操作系统应该保证对关键事件作出实时响应,同时,还应该提供丰富的任务管理功能,以便应对各种上层应用需求,为此提出了关键事件处理的性能分析模型,并根据此模型分析出任务调度系统性能改善的主要方向。OneOS使用混合调度算法、优先级位图算法、前置计算待调度任务算法、哈希桶算法改善调度性能;同时,通过加锁粒度的优化,有效缩短了最大中断响应时间,进一步保证了处理关键事件的任务(最高优先级)能够快速响应。最后,实验证实了OneOS任务调度系统在同类产品中对关键事件的响应性能得到了优化。In the application scenario of the internet of things,the operating system should ensure real-time response to key events.At the same time,it should also provide rich task management functions to meet various upper application requirements.In the paper,a performance analysis model of key event processing is proposed,and according to this model,the main direction of improving the performance of task scheduling system is analyzed.OneOS uses hybrid scheduling algorithm,priority bitmap algorithm,pre-computing task to be scheduled algorithm and hash bucket algorithm to improve scheduling performance.At the same time,through the optimization of lock granularity,the maximum interrupt response time is effectively reduced,and the task(the highest priority)that handles key events can respond quickly.Finally,the performance comparison data are given,which proves that the response performance of OneOS task scheduling system to key events has been optimized in similar products.

关 键 词:OneOS 抢占调度 轮转调度 混合调度 哈希桶 

分 类 号:TP872[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象