Data-flow Availability: Achieving Timing Assurance on Autonomous Systems

  • Ao Li
  • , Ning Zhang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

Due to the continuous interaction with the physical world, autonomous cyber-physical systems (CPS) require both functional and temporal correctness. Despite recent advances in the theoretical foundation of real-time computing, leveraging these results efficiently in modern CPS platforms often requires domain expertise, and presents non-trivial challenges to many developers. To understand the practical challenges in building real-time software, we conducted a survey of 189 software issues from 7 representative CPS open-source projects. Through this exercise, we found that most bugs are due to misalignment in time between cyber and physical states. This inspires us to abstract three key temporal properties: freshness, consistency, and stability. Using a newly developed concept, Data-flow Availability (DFA), which aims to capture temporal/availability expectation of data flow, we show how these essential properties can be represented as timing constraints on data flows. To realize the timing assurance from DFA, we designed and implemented Kairos, which automatically detects and mitigates timing constraint violations. To detect violations, Kairos translates the policy definition from the API-based annotations into run-time program instrumentation. To mitigate the violations, it provides an infrastructure to bridge semantic gaps between schedulers at different abstraction layers to allow for coordinated efforts. End-to-end evaluation on three real-world CPS platforms shows that Kairos improves timing predictability and safety while introducing a minimal 2.8% run-time overhead.

Original languageEnglish
Title of host publicationProceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024
PublisherUSENIX Association
Pages445-463
Number of pages19
ISBN (Electronic)9781939133403
StatePublished - 2024
Event18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024 - Santa Clara, United States
Duration: Jul 10 2024Jul 12 2024

Publication series

NameProceedings of the 18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024

Conference

Conference18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024
Country/TerritoryUnited States
CitySanta Clara
Period07/10/2407/12/24

Fingerprint

Dive into the research topics of 'Data-flow Availability: Achieving Timing Assurance on Autonomous Systems'. Together they form a unique fingerprint.

Cite this