Linux实时抢占补丁研究及实时性能测试  被引量:16

Research of Linux Real-time Preemption Patch and Real-time Performance Measure

在线阅读下载全文

作  者:张晓龙[1,2] 郭锐锋[1] 陶耀东[1] 刘生[1,2] 

机构地区:[1]中国科学院沈阳计算技术研究所,沈阳110004 [2]中国科学院大学,北京100039

出  处:《计算机工程》2014年第10期304-307,313,共5页Computer Engineering

基  金:"核高基"重大专项"国产软硬件在数控/工业装置中的应用与推广"(2012ZX01029-001-002)

摘  要:准确的量化数据可作为评测及选择实时Linux系统的参考依据。研究实时Linux系统中实时抢占补丁的关键特性,提出一种代码插桩的实时性能评测方法。在增加实时抢占补丁的Linux操作系统上加载运行测试程序,利用测试程序关键位置的代码探测段来获取运行系统中的重要信息,以完成实时性能的评测。对基于数控平台上该实时系统的中断响应时间和上下文切换时间等评测指标进行测试,结果表明,与标准Linux系统的评测指标相比,该系统的中断响应时间和上下文切换时间分别约减少10%和99%,达到了硬实时系统的要求,满足数控应用的实时需求。To obtain accurate quantitative data as a reference for evaluating and selecting real-time Linux system,this paper researches several more critical characteristics of the real-time preemption patch of real-time Linux operating system in-depth,and proposes a method of program instrumentation for real-time performance evaluation. In the evaluating process,it loads and runs the test program on the Linux operating system with Preempt-RT patch, gets the important system information data by testing the key position of program with code probe to evaluate its real-time performance,and does the comparison test of the interrupt response time and context switch time as the most important criteria between Linux system with Preempt-RT patch and standard Linux system based on the numerical control system platform. Experimental result shows the interrupt response time on the patch system decreases by about 10% compared with standard Linux system,while context switch time decreases by about 99%,which satisfies the hard real-time system and meets the real-time demand of numerical control applications.

关 键 词:实时Linux系统 实时抢占 实时性能 硬实时系统 代码插桩 数控平台 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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