计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2014年
10期
304-307,313
,共5页
张晓龙%郭锐锋%陶耀东%刘生
張曉龍%郭銳鋒%陶耀東%劉生
장효룡%곽예봉%도요동%류생
实时Linux系统%实时抢占%实时性能%硬实时系统%代码插桩%数控平台
實時Linux繫統%實時搶佔%實時性能%硬實時繫統%代碼插樁%數控平檯
실시Linux계통%실시창점%실시성능%경실시계통%대마삽장%수공평태
real-time Linux system%real-time preemption%real-time performance%hard real-time system%code instru-mentation%numerical control platform
准确的量化数据可作为评测及选择实时Linux系统的参考依据。研究实时Linux系统中实时抢占补丁的关键特性,提出一种代码插桩的实时性能评测方法。在增加实时抢占补丁的Linux操作系统上加载运行测试程序,利用测试程序关键位置的代码探测段来获取运行系统中的重要信息,以完成实时性能的评测。对基于数控平台上该实时系统的中断响应时间和上下文切换时间等评测指标进行测试,结果表明,与标准Linux系统的评测指标相比,该系统的中断响应时间和上下文切换时间分别约减少10%和99%,达到了硬实时系统的要求,满足数控应用的实时需求。
準確的量化數據可作為評測及選擇實時Linux繫統的參攷依據。研究實時Linux繫統中實時搶佔補丁的關鍵特性,提齣一種代碼插樁的實時性能評測方法。在增加實時搶佔補丁的Linux操作繫統上加載運行測試程序,利用測試程序關鍵位置的代碼探測段來穫取運行繫統中的重要信息,以完成實時性能的評測。對基于數控平檯上該實時繫統的中斷響應時間和上下文切換時間等評測指標進行測試,結果錶明,與標準Linux繫統的評測指標相比,該繫統的中斷響應時間和上下文切換時間分彆約減少10%和99%,達到瞭硬實時繫統的要求,滿足數控應用的實時需求。
준학적양화수거가작위평측급선택실시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.