一种指令级Linux内核瞬时故障注入方法研究.pdf
第 41卷 第 8期 计 算 机 工 程 2015年 8月
Vo1.41 No.8 ComputerEngineering August2015
· 体系结构与软件技术 · 文章编号:1000.3428(2015)08.0032.05 文献标识码:A 中图分类号:TP393
一 种指令级 Linux内核瞬时故障注入方法研究
张 影,杨麦顺 ,张兴军,郭庆伟
(西安交通大学 电子与信息工程学院,西安 710049)
摘 要:为对 Linux操作系统的可靠性和健壮性进行测试,提出一种指令级Linux内核瞬时故障注入方法。该方法允
许测试人员动态地向指定的内核指令及其运行环境注入故障,并根据测试需求设计合适 的故障模式 ,从而收集系统的
反馈信息,研究导致系统失效的故障模式 ,实现对 Linux系统可靠性与健壮性的有效测试。以Linux2.6.32内核为 目
标系统进行故障注入实验,结果表 明,该方法能够有效地对 内核指令及其运行环境进行故障注入,并在此基础上完成
Linux系统对不同故障的敏感度统计。
关键词 :Linux内核 ;故障注入 ;可靠性 ;健壮性 ;测试 ;Linux系统
中文引用格式 :张 影 ,杨麦顺 ,张兴军 ,等.一种指令级 Linux内核瞬时故障注入方法研究 [J].计算机工程 ,2015,
4l(8):32—36.
英文引用格式 :ZhangYing,YangMaishun,ZhangXingjun,eta1.ResearchonInstruction—levelTransientFaultInjection
MethodforLinuxKernel[J].ComputerEngineering,2015,41(8):32—36.
ResearchonInstruction-levelTransientFaultInjectionMethodforLinuxKernel
ZHANGYing,YANGMaishun,ZHANGXingjun,GUOQingwei
(SchoolofElectronicsandInformationEngineering,Xi’anJiaotongUniversity,Xi’an710049,China)
【Abstract】ThispaperpresentsflInstruction—levelFaultInjectionMethodforLinuxKernel(IFIMK),whichteststhe
reliabilityandrobustnessofflLinuxoperatingsystem.Theproposedmethodcaninjectfaulttospecialkernelinstruction
anditsrunning environmentto collecttheinformation and summarize the faultmodelswhich lead to the failure ofa
system ,so asto testthe reliability and robustnessofa computersystem ,and the faultcan be designed by the testers
dependingonthespecificneeds.ThroughthefaultinjectiontestfortheLinuxkernelofversion2.6.32,itprovesthatthe
IFIMKmethodcaninjectthefaultintokernelefficiently.Accordingtothismethod,thesensitivitystatisticsoftheLinux
system fordifferentfaultscan beachieved.
【Keywords】Linuxkernel;faultinjection;reliability;robustness;test;Linuxsystem
DOI:10.3969/i.issn.1000—3428.201