An Experimental and CTMC-Based Framework for Evaluating Software Availability under Crash, Hang, and Configuration Failures

Authors

  • Nidaa H. Abbas Department of Electrical Engineering, Faculty of Engineering, Mustansiriyah University, Baghdad, Iraq https://orcid.org/0000-0002-3330-4516
  • Methaq Khadum Department of Electrical Engineering, Faculty of Engineering, Mustansiriyah University, Baghdad, Iraq
  • Mohammad Malkawi Jordan University of Science and Technology, Irbid, Irbid Governorate, Jordan.

DOI:

https://doi.org/10.71229/eydadf50

Keywords:

Software Availability; CTMC; Fault Injection; Software Recovery; Time to Detection; Time to Recovery; Application Hang; Configuration Failure

Abstract

Software availability depends on how a system fails and on how quickly it can detect and recover from failures. This study presents an experimental and CTMC-based framework for evaluating software availability under three failure conditions: process crash, application-level hang, and persistent configuration failure. The experimental framework was implemented at the operating-system process level using Python and FastAPI, with separate components for probing, workload generation, fault injection, recovery control, and post-hoc analysis. Three workload levels were tested, and each fault-workload condition was repeated five times, giving a total of 45 experimental runs.

The results showed clear differences among the three failure types. Process crash had the shortest recovery time and maintained experimental availability above 93%. Application-level hang required about 4.2 s for recovery and achieved approximately 82% availability. Configuration failure was detected quickly, but recovery required about 4.3 s and resulted in approximately 80% availability.

Failure, detection, recovery, and extended repair behavior were represented using a generic Continuous-Time Markov Chain (CTMC). Experimental Time to Detection (TTD) and Time to Recovery (TTR) measurements were used to estimate the detection and recovery transition rates. A held-out consistency check compared CTMC-predicted mean restoration times with experimental observations that were not used during calibration; the relative differences were below 5% for all three failure types. Steady-state sensitivity analysis was also used to examine how assumed natural failure rates affect long-term availability.

The proposed framework links controlled fault-injection measurements with a reusable analytical availability model while keeping measured and application-dependent transition parameters clearly separated.

References

[1] K. Nagaraja, X. Li, R. Bianchini, R. P. Martin, and T. D. Nguyen, “Using Fault Injection and Modeling to Evaluate the Performability of Cluster-Based Services,” in Proc. 4th USENIX Symposium on Internet Technologies and Systems (USITS), Seattle, WA, USA, 2003, pp. 17–31.

[2] G. Candea, S. Kawamoto, Y. Fujiki, G. Friedman, and A. Fox, “Microreboot—A Technique for Cheap Recovery,” in Proc. 6th Symposium on Operating Systems Design and Implementation (OSDI), San Francisco, CA, USA, 2004, pp. 31–44.

[3] T. Xu, X. Jin, P. Huang, Y. Zhou, S. Lu, L. Jin, and S. Pasupathy, “Early Detection of Configuration Errors to Reduce Failure Damage,” in Proc. 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI), 2016, pp. 619–634.

[4] H. Boudali, H. Sözer, and M. I. A. Stoelinga, “Architectural Availability Analysis of Software Decomposition for Local Recovery,” in Proc. 3rd IEEE International Conference on Secure Software Integration and Reliability Improvement, 2009, pp. 14–22, doi: 10.1109/SSIRI.2009.10.

[5] K. S. Trivedi and A. Bobbio, Reliability and Availability Engineering: Modeling, Analysis, and Applications. Cambridge University Press, 2017.

[6] A. Avižienis, J.-C. Laprie, B. Randell, and C. Landwehr, “Basic Concepts and Taxonomy of Dependable and Secure Computing,” IEEE Transactions on Dependable and Secure Computing, vol. 1, no. 1, pp. 11–33, 2004, doi: 10.1109/TDSC.2004.2.

[7] Y. Gao, W. Dou, D. Wang, W. Feng, J. Wei, H. Zhong, and T. Huang, “Coverage Guided Fault Injection for Cloud Systems,” in Proc. 45th IEEE/ACM International Conference on Software Engineering (ICSE), 2023, pp. 2211–2223, doi: 10.1109/ICSE48619.2023.00186.

[8] M. Sullivan and R. Chillarege, “Software Defects and Their Impact on System Availability—A Study of Field Failures in Operating Systems,” in Proc. 21st International Symposium on Fault-Tolerant Computing, 1991, pp. 2–9.

[9] M.-C. Hsueh, T. K. Tsai, and R. K. Iyer, “Fault Injection Techniques and Tools,” Computer, vol. 30, no. 4, pp. 75–82, 1997, doi: 10.1109/2.585157.

[10] Y. Huang, C. Kintala, N. Kolettis, and N. D. Fulton, “Software Rejuvenation: Analysis, Module and Applications,” in Proc. 25th International Symposium on Fault-Tolerant Computing, 1995, pp. 381–390, doi: 10.1109/FTCS.1995.466961.

[11] G. Candea and A. Fox, “Crash-Only Software,” in Proc. 9th Workshop on Hot Topics in Operating Systems (HotOS IX), Lihue, HI, USA, 2003.

[12] G. Candea, A. Brown, A. Fox, and D. A. Patterson, “Recovery-Oriented Computing: Building Multitier Dependability,” Computer, vol. 37, no. 11, pp. 60–67, 2004, doi: 10.1109/MC.2004.219.

[13] G. Candea, J. W. Cutler, and A. Fox, “Improving Availability with Recursive Microreboots: A Soft-State System Case Study,” Performance Evaluation, vol. 56, no. 1–4, pp. 213–248, 2004, doi: 10.1016/j.peva.2003.07.007.

[14] E. Kıcıman and A. Fox, “Detecting Application-Level Failures in Component-Based Internet Services,” IEEE Transactions on Neural Networks, vol. 16, no. 5, pp. 1027–1041, 2005, doi: 10.1109/TNN.2005.853411.

[15] M. Y. Chen, A. Accardi, E. Kıcıman, J. Lloyd, D. A. Patterson, A. Fox, and E. A. Brewer, “Path-Based Failure and Evolution Management,” in Proc. 1st USENIX/ACM Symposium on Networked Systems Design and Implementation (NSDI), 2004, pp. 309–322.

[16] K. Vaidyanathan and K. S. Trivedi, “A Comprehensive Model for Software Rejuvenation,” IEEE Transactions on Dependable and Secure Computing, vol. 2, no. 2, pp. 124–137, 2005, doi: 10.1109/TDSC.2005.15.

[17] W. Xie, Y. Hong, and K. S. Trivedi, “Analysis of a Two-Level Software Rejuvenation Policy,” Reliability Engineering & System Safety, vol. 87, no. 1, pp. 13–22, 2005, doi: 10.1016/j.ress.2004.02.011.

[18] Z. Yin, X. Ma, J. Zheng, Y. Zhou, L. N. Bairavasundaram, and S. Pasupathy, “An Empirical Study on Configuration Errors in Commercial and Open Source Systems,” in Proc. 23rd ACM Symposium on Operating Systems Principles (SOSP), 2011, pp. 159–172, doi: 10.1145/2043556.2043572.

[19] T. Xu, J. Zhang, P. Huang, J. Zheng, T. Sheng, D. Yuan, Y. Zhou, and S. Pasupathy, “Do Not Blame Users for Misconfigurations,” in Proc. 24th ACM Symposium on Operating Systems Principles (SOSP), 2013, pp. 244–259, doi: 10.1145/2517349.2522727.

[20] M. I. Malkawi, “The art of software systems development: Reliability, Availability, Maintainability, Performance (RAMP),” Human-centric Computing and Information Sciences, vol. 3, Art. no. 22, 2013, doi: 10.1186/2192-1962-3-22.

[21] S. M. Matz, L. G. Votta, and M. Malkawi, “Analysis of Failure and Recovery Rates in a Wireless Telecommunications System,” in Proc. International Conference on Dependable Systems and Networks (DSN), Bethesda, MD, USA, 2002, pp. 687–693, doi: 10.1109/DSN.2002.1029014.

[22] M. Malkawi, “Empirical Data and Analysis of Defects in Operating Systems Kernels,” in Proc. 24th International Business Information Management Association Conference (IBIMA), Milan, Italy, Nov. 6–7, 2014.

Downloads

Published

2026-12-03

Issue

Section

Original Articles

How to Cite

An Experimental and CTMC-Based Framework for Evaluating Software Availability under Crash, Hang, and Configuration Failures. (2026). Al-Noor Journal of Engineering Management and Computer Science, 3(1), 623-637. https://doi.org/10.71229/eydadf50

Similar Articles

51-60 of 113

You may also start an advanced similarity search for this article.