Clock Synchronization in Virtualized Distributed Real-Time Systems using IEEE 802.1AS and ACRN

05/06/2021
by   Jan Ruh, et al.
0

Virtualization of distributed real-time systems enables the consolidation of mixed-criticality functions on a shared hardware platform thus easing system integration. Time-triggered communication and computation can act as an enabler of safe hard real-time systems. A time-triggered hypervisor that activates virtual CPUs according to a global schedule can provide the means to allow for a resource efficient implementation of the time-triggered paradigm in virtualized distributed real-time systems. A prerequisite of time-triggered virtualization for hard real-time systems is providing access to a global time base to VMs as well as to the hypervisor. A global time base is the result of clock synchronization with an upper bound on the clock synchronization precision. We present a formalization of the notion of time in virtualized real-time systems. We use this formalization to propose a virtual clock condition that enables us to test the suitability of a virtual clock for the design of virtualized time-triggered real-time systems. We discuss and model how virtualization, in particular resource consolidation versus resource partitioning, degrades clock synchronization precision. Finally, we apply our insights to model the IEEE 802.1AS clock synchronization protocol and derive an upper bound on the clock synchronization precision of IEEE 802.1AS. We present our implementation of a dependent clock for ACRN that can be synchronized to a grandmaster clock. The results of our experiments illustrate that a type-1 hypervisor implementing a dependent clock yields native clock synchronization precision. Furthermore, we show that the upper bound derived from our model holds for a series of experiments featuring native as well as virtualized setups.

READ FULL TEXT
research
05/20/2021

Revisiting Time, Clocks, and Synchronization

Sub-nanosecond precision clock synchronization over the packet network h...
research
03/25/2023

Clo(o)k: A Clock That Looks

What if a clock could do more than just tell time - what if it could act...
research
06/04/2018

Nanoseconds Timing System Based on IEEE 1588 FPGA Implementation

Clock synchronization procedures are mandatory in most physical experime...
research
03/01/2019

A Nonlinear Model for Time Synchronization

The current algorithms are based on linear model, for example, Precision...
research
09/29/2021

Modeling and Control of Google bittide Synchronization

Distributed system applications rely on a fine-grain common sense of tim...
research
01/28/2019

Sundial: Using Sunlight to Reconstruct Global Timestamps

This paper investigates postmortem timestamp reconstruction in environme...
research
11/21/2018

Encryption is Futile: Delay Attacks on High-Precision Clock Synchronization

Clock synchronization has become essential to modern societies since man...

Please sign up or login with your details

Forgot password? Click here to reset