skip to main content
10.1145/3546591.3547526acmconferencesArticle/Chapter ViewAbstractPublication PagesapsysConference Proceedingsconference-collections
research-article
Public Access

GPU-based first aid for system faults

Published:30 August 2022Publication History

ABSTRACT

It is difficult to completely avoid system failures in recent large-scale and complex systems. Therefore, it is important to detect system faults rapidly and accurately and recover from them. Fault recovery is categorized into external one from remote hosts and internal one with processes or the operating system (OS) inside a target system. However, both methods are subject to system faults. If fault recovery fails, a hardware reset is required and can lead to losing system data and states. This paper proposes GPUfas for recovering from system faults by indirectly controlling OS behavior from a GPU, which is not easily affected by system faults. GPUfas attempts fault recovery by rewriting OS data in main memory and leveraging the capabilities of the OS itself. For example, it can mimic signal sending and process scheduling to force termination of the processes that consume excessive resources. It can also mimic unlocking to recover from some kind of deadlock. We have implemented GPUfas using the Linux kernel, CUDA, and LLVM to enable a GPU to rewrite OS data transparently. Then, we confirmed the effectiveness and efficiency of fault recovery by GPUfas.

References

  1. Amazon Web Services, Inc. 2020. Summary of the Amazon Kinesis Event in the Northern Virginia (US-EAST-1) Region. https://aws.amazon.com/message/11201/.Google ScholarGoogle Scholar
  2. A. Beekhof. [n.d.]. Pacemaker. https://clusterlabs.org/pacemaker/.Google ScholarGoogle Scholar
  3. A. Bohra, I. Neamtiu, P. Gallard, F. Sultan, and L. Iftode. 2004. Remote Repair of Operating System State Using Backdoors. In Proceedings of the 1st International Conference on Autonomic Computing. 256--263.Google ScholarGoogle Scholar
  4. P. Chen, W. Ng, S. Chandra, C. Aycock, G. Rajamani, and D. Lowell. 1996. The Rio File Cache: Surviving Operating System Crashes. In Proceedings of the 7th International Conference on Architectural Support for Programming Languages and Operating Systems. 74--83.Google ScholarGoogle Scholar
  5. F. David, J. Carlyle, and H. Campbell. 2007. Exploring Recovery from Operating System Lockups. In Proceedings of the 2007 USENIX Annual Technical Conference. 351--356.Google ScholarGoogle Scholar
  6. A. Depoutovitch and M. Stumm. 2010. Otherworld: Giving Applications a Chance to Survive OS Kernel Crashes. In Proceedings of the 5th European Conference on Computer Systems. 181--194.Google ScholarGoogle Scholar
  7. Y. Fu and Z. Lin. 2013. EXTERIOR: Using a Dual-VM Based External Shell for Guest-OS Introspection, Configuration, and Recovery. In Proceedings of the 9th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments. 97--110.Google ScholarGoogle Scholar
  8. Intel, Hewlett-Packard, NEC, and Dell. 2004. Intelligent Platform Management Specification Second Generation v2.0.Google ScholarGoogle Scholar
  9. J. Leners, H. Wu, W. Hung, M. Aguilera, and M. Walfish. 2011. Detecting Failures in Distributed Systems with the Falcon Spy Network. In Proceedings of the 23rd ACM Symposium on Operating Systems Principles. 279--294.Google ScholarGoogle Scholar
  10. NVIDIA Corporation. 2018. CUDA Toolkit Documentation v10.0.130. https://docs.nvidia.com/cuda/archive/10.0/.Google ScholarGoogle Scholar
  11. NVIDIA Corporation. 2022. Developing a Linux Kernel Module Using RDMA for GPUDirect. Technical Report TB-06712-001 v11.7. NVIDIA.Google ScholarGoogle Scholar
  12. Y. Ozaki, S. Kanamoto, H. Yamamoto, and K. Kourai. 2019. Detecting System Failures with GPUs and LLVM. In Proceedings of the 10th ACM SIGOPS Asia-Pacific Workshop on Systems. 47--53.Google ScholarGoogle Scholar
  13. A. Taherin, T. Patel, G. Georgakoudis, I. Laguna, and D. Tiwari. 2021. Examining Failures and Repairs on Supercomputers with Multi-GPU Compute Nodes. In Proceedings of the 51st Annual IEEE/IFIP International Conference on Dependable Systems and Networks. 305--313.Google ScholarGoogle Scholar
  14. The LLVM Foundation. [n.d.]. The LLVM Compiler Infrastructure. https://llvm.org/.Google ScholarGoogle Scholar
  15. Tokyo Stock Exchange, Inc. 2020. Report on the Cash Equity Trading System Failure on Oct. 1. https://www.jpx.co.jp/english/corporate/news/news-releases/0060/20201019-01.html.Google ScholarGoogle Scholar
  16. K. Yamakita, H. Yamada, and K. Kono. 2011. Phase-based Reboot: Reusing Operating System Execution Phases for Cheap Reboot-based Recovery. In Proceedings of the 41st IEEE/IFIP International Conference on Dependable Systems and Networks. 168--180.Google ScholarGoogle Scholar
  17. T. Yoshimura, H. Yamada, and K. Kono. 2012. Is Linux Kernel Oops Useful or Not?. In Proceedings of the 8th USENIX Workshop on Hot Topics in System Dependability.Google ScholarGoogle Scholar
  18. Y. Zhu, Y. Li, J. Xue, T. Tan, J. Shi, Y. Shen, and C. Ma. 2012. What is System Hang and How to Handle it. In Proceedings of the 23rd IEEE International Symposium on Software Reliability Engineering. 141--150.Google ScholarGoogle Scholar

Index Terms

  1. GPU-based first aid for system faults

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      APSys '22: Proceedings of the 13th ACM SIGOPS Asia-Pacific Workshop on Systems
      August 2022
      89 pages
      ISBN:9781450394413
      DOI:10.1145/3546591

      Copyright © 2022 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 30 August 2022

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate149of386submissions,39%
    • Article Metrics

      • Downloads (Last 12 months)60
      • Downloads (Last 6 weeks)13

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader