Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3576914.3587499acmconferencesArticle/Chapter ViewAbstractPublication PagescpsweekConference Proceedingsconference-collections
research-article
Open access

Bounding the End-to-End Execution Time in Distributed Real-Time Systems: Arguing the case for Deterministic Networks in Lingua Franca

Published: 09 May 2023 Publication History

Abstract

Designing and implementing distributed systems with real-time requirements quickly reveal the complexity of handling time and logic across multiple systems. As data traverse a network, it is subjected to variable delay due to interfering traffic and variable load on network components. This introduces an element of non-determinism in execution time for distributed algorithms, which translates into increased error logic and pessimistic worst-case estimates. Over the next few years, it is expected that Cyber-Physical Systems will see many new use cases, and the network connecting these will play an ever more important role. Combined with the onset of the fourth industrial revolution, IEEEs Time Sensitive Networking, IETFs Deterministic Networking, and 3GPPs Ultra Reliable Low Latency profile will play a vital role in realizing these systems. Coordination languages such as Lingua Franca can offer a substantial contribution to the design process and implementation of distributed systems such as Cyber-Phyiscal Systems, both through its model of computation which elevates time to a first-class citizen and with its support for distributed models. In this paper, we show that by introducing deterministic network channels with a fixed delay, the worst-case execution time is not increased whereas the variance in total execution time from start to finish is greatly reduced. For a coordination language such as LF, this means that we can analyze a system using much tighter delay bounds for network traffic, which in turn can yield better resource utilization.

References

[1]
2010. IEEE Forwarding and Queuing Enhancements for Time-Sensitive Streams. IEEE Std 802.1Qav-2009 (Amendment to IEEE Std 802.1Q-2005) (2010). https://doi.org/10.1109/IEEESTD.2010.8684664
[2]
2010. IEEE Stream Reservation Protocol (SRP). IEEE Std 802.1Qat-2010 (Revision of IEEE Std 802.1Q-2005) (2010). https://doi.org/10.1109/IEEESTD.2010.5594972
[3]
2016. IEEE Enhancements for Scheduled Traffic. IEEE Std 802.1Qbv-2015 (2016). https://doi.org/10.1109/IEEESTD.2016.8613095
[4]
2020. IEEE Asynchronous Traffic Shaping. IEEE Std 802.1Qcr-2020 (2020). https://doi.org/10.1109/IEEESTD.2020.9253013
[5]
Tanushree Agarwal, Payam Niknejad, M. R. Barzegaran, and Luigi Vanfretti. 2019. Multi-Level Time-Sensitive Networking (TSN) Using the Data Distribution Services (DDS) for Synchronized Three-Phase Measurement Data Transfer. IEEE Access 7 (2019), 131407–131417. https://doi.org/10.1109/ACCESS.2019.2939497
[6]
Henrik Austad. 2023. henrikau/net_chan: v0.1.2. https://doi.org/10.5281/zenodo.7635611
[7]
Henrik Austad. 2023. Lingua Franca net_chan integration. https://github.com/henrikau/tcrs_lf
[8]
Henrik Austad, Erling Rennemo Jellum, Sverre Hendseth, Geir Mathisen, Torleiv Håland Bryne, Kristoffer Nyborg Gregertsen, Sigurd Mørkved Albrektsen, and Bjarne Emil Helvik. 2023. Composable distributed real-time systems with deterministic network channels. Journal of Systems Architecture 137 (2023), 102853. https://doi.org/10.1016/j.sysarc.2023.102853
[9]
Dario Faggioli, Fabio Checconi, Michael Trimarchi, and Claudio Scordino. 2009. An EDF scheduling class for the Linux kernel. In Proceedings of the 11th Real-Time Linux Workshop.
[10]
Norman Finn, Pascal Thubert, Balazs Varga, and János Farkas. 2019. Deterministic Networking Architecture. RFC 8655. https://doi.org/10.17487/RFC8655
[11]
Carlos San Vicente Gutiérrez, Lander Usategui San Juan, Irati Zamalloa Ugarte, and Victor Mayoral Vilches. 2018. Time-Sensitive Networking for robotics. CoRR abs/1804.07643 (2018). https://dblp.org/rec/journals/corr/abs-1804-07643.bib
[12]
ITU-T. 2014. The Tactile Internet. https://www.itu.int/dms_pub/itu-t/oth/23/01/T23010000230001PDFE.pdf
[13]
Hermann Kopetz. 2011. Real-Time Systems - Design Principles for Distributed Embedded Applications. Springer. https://doi.org/10.1007/978-1-4419-8237-7
[14]
Edward A Lee. 2006. The problem with threads. Computer 39, 5 (2006).
[15]
C. L. Liu and James W. Layland. 1973. Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment. J. ACM 20, 1 (1973), 46–61. https://doi.org/10.1145/321738.321743
[16]
Marten Lohstroh, Christian Menard, Soroush Bateni, and Edward A. Lee. 2021. Toward a Lingua Franca for Deterministic Concurrent Systems. ACM Trans. Embed. Comput. Syst. 20, 4 (2021). https://doi.org/10.1145/3448128
[17]
Ahmed Nasrallah, Akhilesh S. Thyagaturu, Ziyad Alharbi, Cuixiang Wang, Xing Shao, Martin Reisslein, and Hesham ElBakoury. 2019. Ultra-Low Latency (ULL) Networks: The IEEE TSN and IETF DetNet Standards and Related 5G ULL Research. IEEE Communications Surveys & Tutorials 21, 1 (2019), 88–145. https://doi.org/10.1109/COMST.2018.2869350
[18]
Saranya Natarajan and David Broman. 2018. Timed C: An Extension to the C Programming Language for Real-Time Systems. In 24TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2018). IEEE, 227–239. https://doi.org/10.1109/RTAS.2018.00031 [ed] Pellizzoni, R.
[19]
Ludwig Winkel. 2023. IEC/IEEE 60802 TSN Profile for Industrial Automation.
[20]
Luxi Zhao, Paul Pop, Zhong Zheng, Hugo Daigmorte, and Marc Boyer. 2020. Latency analysis of multiple classes of AVB traffic in TSN with standard credit behavior using network calculus. IEEE Transactions on Industrial Electronics 68, 10 (2020), 10291–10302.

Cited By

View all
  • (2023)Timestamp Peripherals for Precise Real-Time ProgrammingProceedings of the 21st ACM-IEEE International Conference on Formal Methods and Models for System Design10.1145/3610579.3611084(137-147)Online publication date: 21-Sep-2023
  • (2023)net_chan: Deterministic network channels for distributed real-time systemsSoftwareX10.1016/j.softx.2023.10143623(101436)Online publication date: Jul-2023

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
CPS-IoT Week '23: Proceedings of Cyber-Physical Systems and Internet of Things Week 2023
May 2023
419 pages
ISBN:9798400700491
DOI:10.1145/3576914
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 May 2023

Check for updates

Author Tags

  1. Cyber-Physical Systems
  2. Deterministic Networks
  3. Lingua Franca
  4. Real-Time Systems
  5. TSN
  6. Tactile Internet

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

  • Norwegian Research Council

Conference

CPS-IoT Week '23
Sponsor:

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)176
  • Downloads (Last 6 weeks)27
Reflects downloads up to 15 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Timestamp Peripherals for Precise Real-Time ProgrammingProceedings of the 21st ACM-IEEE International Conference on Formal Methods and Models for System Design10.1145/3610579.3611084(137-147)Online publication date: 21-Sep-2023
  • (2023)net_chan: Deterministic network channels for distributed real-time systemsSoftwareX10.1016/j.softx.2023.10143623(101436)Online publication date: Jul-2023

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media