软件再生作为一种主动预防性的软件容错技术是解决软件老化问题的主要手段. 针对应用服务器系统中存在的软件老化现象, 提出一种基于系统性能周期检测的软件再生模型. 首先分析应用服务
器系统的运行状态和行为特征, 给出应用服务器系统单位时间内损失的平均总成本和不可用性的估算公式, 并根据最小化单位时间内平均总成本得到两个重要的系统参量: 最优的系统检测周期和软件再生
周期; 然后分析推导单位时间内平均总成本和系统检测周期的边界条件. 最后通过仿真实验表明: 合理的选择系统检测周期, 有计划地对应用服务器系统执行软件再生, 可以有效的降低应用服务器系统损失
的平均总成本, 同时提高系统的可用性和可靠性; 并且验证了本文提出的基于周期检测的再生模型, 比一般周期再生模型更加提高系统可用性.
Abstract
Recent studies have reported the phenomenon of software aging. T he primary symptoms of this degradation include exhaustion of resources, data corruption and instantaneous error accumulation. Software aging
has not only been observed in software used on a mass scale but also in specialized software used in high-availability and safety -critical applications. In order to enhance system reliability and prevent systematic degradation or crash, a
preventive fault?tolerant technique called software rejuvenation had been established in 1995. It involves occasionally stopping the running software, cleaning its internal state and then restarting. At present, software rejuvenation is
studied extensively and has many high reliability and availability applications. Considered the stochastic feature of system failure and based on the runtime state of application server, a
software rejuvenation model based on periodical inspection is set up in this paper. T hen the modeling process and performance analysis are given. The theoretic analysis and numeric experiment results show that software rejuvenation model based on periodical inspection can improve systematic availability much higher than the periodical rejuvenation model. This paper can be divided into three main parts: At first, concepts of software rejuvenation and software aging are introduced, and the related works are
analyzed. By analyzing the software rejuvenation models which are widely studied nowadays, the shortcomings of those software models are summarized.
Second, according to the characteristics of the operational behavior and runtime state of application sever, the periodical inspection method is introduced and the improved software rejuvenation model is set up. Then the optimal
systematic inspection interval and software rejuvenation interval are solved from the availability equations, and the bounded condition of expected total cost per unit time and inspection interval is deduced.
Finally , a numeric experiment and its result analysis are shown. According to the performance evaluation such as expected total cost and software availability for the application server, there are two parts of the comparative
experiment to validate the effectiveness and efficiency of the proposed software rejuvenation model based on periodical inspection.
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[ 1 ] Avritzer A, Weyuke J. Monitoring smoothly degrading systems for increased dependability. Empirical Software Engineering Journal, 1991, 2( 1) : 59~ 77.
[ 2 ] Qi Y, Zhao J Z, Hou D, et al. Study of appli-cation server-web based middleware system in0-tegrated framework. Jounal of Computer Re-search & Development, 2001, 38 ( 4) : 430 ~
437. (齐勇, 赵季中, 侯 迪等. 基于 Web 的中间件系统集成框架)) ) 应用服务器的研究计算机研究与发展, 2001, 38(4): 430~ 437).
[ 3 ] Sheu G W, Chang Y S, Liang D, et al. A fault-tolerant object service on CORBA. The Interna-tional Conference on Distributed Computing Systems, 1997: 393~ 400.
[ 4 ] Garlan D, Schmerl B. M odel?based adaptation for self?healing systems. Workshop on Self-healing System? 02, 2002(10): 27~ 32.
[ 5 ] Xue D, Jin M Z, Liu C. Implementation of au-tomated Java code defect detection technology. Journal of Nanjing University ( Natural Sci-ences) , 2010, 46( 1) : 64~ 70. (薛?頔, 金茂忠,
刘超. 自动 Java 代码缺陷检测技术. 南京大学学报(自然科学) , 2010, 46( 1) : 64~ 70) .
[ 6 ] Huang Y, Kintala C, Kolettis N, et al. Soft-ware rejuvenation: Analysis, module and appli-cations. IEEE International Symposium on Fault T olerant Computing, 1995, 381~ 390.
[ 7 ] Trivedi K S, Vaidyanathan K, Goseva -Popsto-janova K. Modeling and analysis of software ag-ing and rejuvenation. The 33 rd IEEE Annual
Simulation Symposium, 2000, 270~ 279.
[ 8 ] Dohi T, Goseva ?Popstojanova K, Trivedi K S. Statistical non?parametric algorithms to estimate the optimal software rejuvenation schedule. Pa-cific Rim International Symposium on Dependa -ble Computing, 2000, 77~ 84.
[ 9 ] Okamura H, Miyahara S, Dohi T. Effect of preventive rejuvenation in communication net-work system with burst arrival. Proceedings of Autonomous Decentralized Systems, 2005, 151~ 158.
[ 10] Xie W, Hong Y G, Trivedi K S. Analysis of a two-level software rejuvenation policy. Reliabil-ity Engineering and System Safety, 2005, 87 ( 1) : 13~ 22.
[ 11] Castelli V, Harper R, Heidelberger P. Proac -tive management of software aging. IBM Jour-nal of Research & Development, 2001, 45( 2): 311~ 332.
[ 12] Liu Y, Trivedi K S, Ma Y. Modeling and anal-ysis of software rejuvenation in cable modem termination systems. International Symposium on Software Reliability Engineering, 2002, 159~ 170.
[ 13] Grottke M, Li L, Vaidyanathan K, et al. anal-ysis of software aging in a web server. IEEE T ransactions on Reliability, 2006, 55( 3) : 411~ 420.
[ 14] Cotroneo D, Orlando S, Russo S. Characteri-zing aging phenomena of the java virtual ma-chine. The 26 th IEEE International Symposium on Reliable Distributed Systems, 2007, 127~ 136.
[ 15] Silva L, Madeira H, Silva J G. Software aging and rejuvenation in a soap?based server. IEEE Network Computer and Applications, 2006, 56~ 65.
[ 16] Domenico C, Salvatore O, Stefano R. Charac-terizing aging phenomena of the Java virtual ma-chine. The 26 th IEEE International Symposium on Reliable Distributed Systems, Beijing, Chi-na, 2007, 127~ 136.
{{custom_fnGroup.title_cn}}
脚注
{{custom_fn.content}}