linux 故障注入_用软件中断实现的Linux内核故障注入方法
用軟件中斷實現的
Linux
內核故障注入方法
郭慶偉
;
楊麥順
;
張影
;
張興軍
【期刊名稱】
《計算機應用》
【年
(
卷
),
期】
2014(000)0z2
【摘要】
針對容錯操作系統的可靠性評測問題,提出一種向
Linux
內核注入
“單個位”故障的方法。基于
x86
體系結構中的軟件中斷機制,首先利用可加
載內核模塊機制在時鐘中斷中設置一個探測點,然后將用戶態的故障數據傳輸
到內核空間,最后利用一種
C/S
結構的故障注入模型,分別向
Linux
內核的
arch
、
fs
、
kernel
和
mm
四個子系統注入故障(瞬時型、間歇型和永久型)
6700
余次。實驗結果表明,與
arch
和
fs
子系統相比,
kernel
和
mm
子系統
對故障的敏感度較高,平均檢測故障覆蓋率達到
38.23'
;與數據段相比,內核
代碼段對故障的敏感度較高,平均檢測故障覆蓋率達到
73.49'
,該方法提高了
容錯型操作系統可靠性評測的速度和準確度。
%Aiming
at
the
problem
of
evaluating
the
dependability
of
fault-tolerant
operating
system,
a
scheme
was
proposed
to
inject
single-bit
faults
in
the
Linux
kernel.
Based
on
software
interrupt
technology
existing
in
x86
architecture,
a
probe
point
was
firstly
installed
in
the
timer
interrupt
using
loadable
kernel?module.?Then?the?faults?data?were?delivered?from?user?space?to
kernel?space.?Finally?about?6?700?faults?including?transient,?intermittent
and?permanent?type?were?conducted?targeting?four?kernel?subsystems,?i.
e.
arch,
fs,
kernel
and
mm,
by
means
of
a
C/S
fault
injecting
model.
Experiments
indicate
that
compared
with
arch
and
fs
subsystems,
the
總結
以上是生活随笔為你收集整理的linux 故障注入_用软件中断实现的Linux内核故障注入方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 国产显卡大曝光:8G显存 性能等同GTX
- 下一篇: g++ linux 编译开栈_linux