单片机与嵌入式系统应用
單片機與嵌入式繫統應用
단편궤여감입식계통응용
MICROCONTROLLER & EMBEDDED SYSTEM
2014年
8期
10-12
,共3页
ARM%嵌入式 Linux%检查点%容错
ARM%嵌入式 Linux%檢查點%容錯
ARM%감입식 Linux%검사점%용착
ARM%embedded Linux%checkpoint%fault tolerant
针对嵌入式 Linux 系统的特点,通过设置检查点(checkpoint)实现 ARM 平台进程级容错。在检查点工作时,通过/proc 文件系统与内核进行交互,实时地获取与进程有关的 PID、CPU 状态以及内存信息,并保存在存储介质中。当进程出现故障后,将上述与进程有关的状态信息进行恢复,从而实现进程级容错。实验表明,该进程级容错系统有较好的容错能力,极大地缩短了进程恢复的时间。
針對嵌入式 Linux 繫統的特點,通過設置檢查點(checkpoint)實現 ARM 平檯進程級容錯。在檢查點工作時,通過/proc 文件繫統與內覈進行交互,實時地穫取與進程有關的 PID、CPU 狀態以及內存信息,併保存在存儲介質中。噹進程齣現故障後,將上述與進程有關的狀態信息進行恢複,從而實現進程級容錯。實驗錶明,該進程級容錯繫統有較好的容錯能力,極大地縮短瞭進程恢複的時間。
침대감입식 Linux 계통적특점,통과설치검사점(checkpoint)실현 ARM 평태진정급용착。재검사점공작시,통과/proc 문건계통여내핵진행교호,실시지획취여진정유관적 PID、CPU 상태이급내존신식,병보존재존저개질중。당진정출현고장후,장상술여진정유관적상태신식진행회복,종이실현진정급용착。실험표명,해진정급용착계통유교호적용착능력,겁대지축단료진정회복적시간。
According to the characteristics of embedded Linux system,the process-lever fault tolerant of ARM platform is realized through setting checkpoint.During the working,the checkpoint realizes the interactions with the kernel through the proc file system.At the same time,the checkpoint gets the PID,CPU status and memory information about the process,and stores the information in the storage medium.When the process is failed,the system resumes the above information.The experiments indicate this process-level fault tolerant system achieves fault tolerance and reduces the time of resuming process.