摘要
Nucleus PLUS SMP是一种支持对称多核处理器架构的嵌入式实时操作系统内核。深入研究了其任务管理机制,分析了其对称多核任务管理的主要技术,研究并提出了多核操作系统任务管理功能的测试思路,搭建了系统测试环境,设计了包括任务状态机、调度算法、负载均衡、亲和性、BCD调度域及核间通信等在内的一套完整的测试用例,实现了对操作系统任务管理功能的有效测试。
Nucleus PLUS is an embedded real-time operating system kernel that supports SMP architecture.The task management mechanism is deeply studied,and some technologies adopted to support SMP are introduced in detail.In this paper,the test idea of the task management function of multi-core operating system is proposed,and the system test environment is built.The design test cases are designed,including the task state machine,schedule algorithm,load balancing,affinity,BCD schedule-domain and inter-core communication and so on.The task management function of the operating system is tested effectively.
引文
[1]李彦冬,雷航.多核操作系统发展综述[J].计算机应用研究,2011,28(9):3215-3219.
[2]张明杰,雷迅,杨云.嵌入式实时操作系统测试理论和测试方法[M].北京:航空工业出版社,2014.
[3]Mentor Graphics Corporation.Nucleus Kernel Guide,2016.
[4]蔡人和.基于ARM Cortex-A9 MPCore嵌入式多核操作系统内核研究与实现[D].成都:电子科技大学,2016.
[5]任强.VxWorks SMP内核调度、信号量和中断机制的设计与实现[D].长沙:国防科技大学,2009.
[6]毛德操.Linux内核源代码情景分析[M].杭州:浙江大学出版社,2001.
[7]张磊.基于双核ARM平台的双操作系统移植的研究与实现[D].西安:西安电子科技大学,2013.