Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3472716.3472868acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
poster

Steal task scheduling from OS: enabling task-network co-schedule for time-critical traffic

Published: 23 August 2021 Publication History

Abstract

Real-Time Ethernet (RT Ethernet) such as Time-Sensitive Networking and Time-Triggered Ethernet is widely deployed in the distributed real-time systems such as aerospace, automotive and industrial domains\cite{craciunas2016combined}. Typically, there are many sensoring-computing-actuating Control Loops (CL) requiring real-time and deterministic end-to-end communication. From the network perspective, these CLs work as follow. The sensor generates sensoring traffic periodically to the computing node (i.e. the end system) via RT Ethernet. Then the computing node executes the corresponding task and generates actuating traffic to the actuator. Finally, the actuator receives the traffic and executes the actions accordingly. Sensoring and actuating traffic are both Time-critical (TC) traffic. In order to achieve end-to-end determinism in the loop, the deterministic and real-time process on the end system must be guaranteed. In another word, the task running on the Operating System (OS) of the end system must be scheduled with tight dependency towards the underlying network scheduling decision.
Traditionally, the task scheduling strategy on the OS is asynchronous with the underlying network (i.e. frame scheduling). This may incur great uncertainty in the scenario where end-to-end determinism must be achieved. The main reason behind is that the local time of the OS is out of sync with the network whose time is synchronized by sophisticated time synchronization protocols like PTP \cite{2006NTP}. In order to address this issue, a natural solution would be synchronizing the OS time with the whole network (e.g., integrating PTP into kernel). Moreover, a special scheduling mechanism should also be implemented which takes the packet arrival info into account. However, this requires massive modifications to the kernel and may incur compatibility issues when integrating with different types of the underlying network \cite{yan2020tsn}. What's more, Commercial-off-the-shelf (COTS) end systems are more adopted in modern real-time system to reduce the cost and shorten the development period \cite{pellizzoni2008coscheduling}. So it is hard to introduce fundamental changes to the key components of COTS systems.
In this poster, we aim to tackle this problem from a different perspective. Specifically, we suggest that by carefully scheduling packets from the ingress engine of the NIC, a task-network co-scheduling can be achieved, which eliminates the necessity of the modification to the task scheduling mechanism on the OS completely. For this purpose, we introduce Frame-Task Co-Scheduling (FTCS), a mechanism that enables co-scheduling of task and network on COTS end systems. FTCS steals task scheduling from OS through time-triggered frame schedule and submission. The potential benefits are as follows. Firstly, FTCS achieves tight co-scheduling of critical task and traffic without any modification of software and hardware on COTS devices. Secondly, OS time on the end system does not need to synchronize with the network. Because the entity executing FTCS will synchronize with network global time. Thus, even if the frequency and phase shift are unmatched, co-scheduling can still be achieved.

References

[1]
Jaume Abella, Damien Hardy, Isabelle Puaut, Eduardo Quinones, and Francisco J Cazorla. 2014. On the comparison of deterministic and probabilistic WCET estimation techniques. In 2014 26th Euromicro Conference on Real-Time Systems. IEEE, 266–275.
[2]
Silviu S Craciunas and Ramon Serna Oliver. 2016. Combined task-and network-level scheduling for distributed time-triggered systems. Real-Time Systems 52, 2 (2016), 161–200.
[3]
T. Neagoe, V. Cristea, and L. Banica. 2006. NTP versus PTP in Com puter Networks Clock Synchronization. In IEEE International Symposium on Industrial Electronics.
[4]
Rodolfo Pellizzoni, Bach D Bui, Marco Caccamo, and Lui Sha. 2008. Coscheduling of cpu and i/o transactions in cots-based embedded systems. In 2008 Real-Time Systems Symposium. IEEE, 221–231.
[5]
Jinli Yan, Wei Quan, Xiangrui Yang, Wenwen Fu, Yue Jiang, Hui Yang, and Zhigang Sun. 2020. TSN-Builder: enabling rapid customization of resource-efficient switches for time-sensitive networking. In 2020 57th ACM/IEEE Design Automation Conference (DAC). IEEE, 1–6.

Cited By

View all
  • (2024)Hybrid Scheduling of Tasks and Messages for TSN-Based Avionics SystemsIEEE Transactions on Industrial Informatics10.1109/TII.2023.325460820:2(1081-1092)Online publication date: Feb-2024
  • (2023)Access mechanism for period flows of non-deterministic end systems for time-sensitive networksComputer Networks: The International Journal of Computer and Telecommunications Networking10.1016/j.comnet.2023.109805231:COnline publication date: 1-Jul-2023

Index Terms

  1. Steal task scheduling from OS: enabling task-network co-schedule for time-critical traffic

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      SIGCOMM '21: Proceedings of the SIGCOMM '21 Poster and Demo Sessions
      August 2021
      94 pages
      ISBN:9781450386296
      DOI:10.1145/3472716
      Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 23 August 2021

      Check for updates

      Author Tags

      1. co-scheduling
      2. real-time ethernet
      3. real-time system

      Qualifiers

      • Poster

      Funding Sources

      • Open Project of Zhejiang Lab
      • National Natural Science Foundation of China

      Conference

      SIGCOMM '21
      Sponsor:
      SIGCOMM '21: ACM SIGCOMM 2021 Conference
      August 23 - 27, 2021
      Virtual Event

      Acceptance Rates

      SIGCOMM '21 Paper Acceptance Rate 30 of 56 submissions, 54%;
      Overall Acceptance Rate 92 of 158 submissions, 58%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)45
      • Downloads (Last 6 weeks)4
      Reflects downloads up to 30 Sep 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)Hybrid Scheduling of Tasks and Messages for TSN-Based Avionics SystemsIEEE Transactions on Industrial Informatics10.1109/TII.2023.325460820:2(1081-1092)Online publication date: Feb-2024
      • (2023)Access mechanism for period flows of non-deterministic end systems for time-sensitive networksComputer Networks: The International Journal of Computer and Telecommunications Networking10.1016/j.comnet.2023.109805231:COnline publication date: 1-Jul-2023

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media