Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN
Virtualization of distributed real-time systems enables the consolidation of mixed-criticality functions on a shared hardware platform, easing system integration. Time-triggered communication and computation can act as an enabler of safe hard real-time systems. A <italic>time-triggered hypervi...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
IEEE
2021-01-01
|
Series: | IEEE Access |
Subjects: | |
Online Access: | https://ieeexplore.ieee.org/document/9530651/ |
id |
doaj-dc9ec12fdd17489fa13d7693e486e018 |
---|---|
record_format |
Article |
spelling |
doaj-dc9ec12fdd17489fa13d7693e486e0182021-09-16T23:00:50ZengIEEEIEEE Access2169-35362021-01-01912607512609410.1109/ACCESS.2021.31110459530651Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRNJan Ruh0https://orcid.org/0000-0002-0305-7139Wilfried Steiner1https://orcid.org/0000-0003-0652-5943Gerhard Fohler2https://orcid.org/0000-0001-6162-2653TTTech Computertechnik AG, Vienna, AustriaTTTech Computertechnik AG, Vienna, AustriaDepartment of Electrical and Computer Engineering, TU Kaiserslautern, Kaiserslautern, GermanyVirtualization of distributed real-time systems enables the consolidation of mixed-criticality functions on a shared hardware platform, easing system integration. Time-triggered communication and computation can act as an enabler of safe hard real-time systems. A <italic>time-triggered hypervisor</italic> 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 and the hypervisor. A global time base results from clock synchronization with an upper bound on the <italic>clock synchronization precision</italic>. We present a formalization of the notion of time in virtualized distributed real-time systems. We use this formalization to propose a <italic>virtual clock condition</italic> that enables us to test the suitability of a virtual clock for the design of virtualized time-triggered real-time systems focusing on clock synchronization. We discuss and model how virtualization, particularly 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 in a virtualized distributed real-time system. We present our implementation of a <italic>dependent clock</italic> for ACRN that can be synchronized to a grandmaster clock. The results of our experiments illustrate that a type-1 hypervisor like ACRN implementing the dependent clock paradigm yields native clock synchronization precision. Furthermore, we show that the upper bound of clock synchronization precision derived from our model holds for a series of experiments featuring native and virtualized setups.https://ieeexplore.ieee.org/document/9530651/Hypervisorclock synchronizationvirtualizationACRNIEEE 8021AS |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Jan Ruh Wilfried Steiner Gerhard Fohler |
spellingShingle |
Jan Ruh Wilfried Steiner Gerhard Fohler Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN IEEE Access Hypervisor clock synchronization virtualization ACRN IEEE 8021AS |
author_facet |
Jan Ruh Wilfried Steiner Gerhard Fohler |
author_sort |
Jan Ruh |
title |
Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN |
title_short |
Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN |
title_full |
Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN |
title_fullStr |
Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN |
title_full_unstemmed |
Clock Synchronization in Virtualized Distributed Real-Time Systems Using IEEE 802.1AS and ACRN |
title_sort |
clock synchronization in virtualized distributed real-time systems using ieee 802.1as and acrn |
publisher |
IEEE |
series |
IEEE Access |
issn |
2169-3536 |
publishDate |
2021-01-01 |
description |
Virtualization of distributed real-time systems enables the consolidation of mixed-criticality functions on a shared hardware platform, easing system integration. Time-triggered communication and computation can act as an enabler of safe hard real-time systems. A <italic>time-triggered hypervisor</italic> 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 and the hypervisor. A global time base results from clock synchronization with an upper bound on the <italic>clock synchronization precision</italic>. We present a formalization of the notion of time in virtualized distributed real-time systems. We use this formalization to propose a <italic>virtual clock condition</italic> that enables us to test the suitability of a virtual clock for the design of virtualized time-triggered real-time systems focusing on clock synchronization. We discuss and model how virtualization, particularly 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 in a virtualized distributed real-time system. We present our implementation of a <italic>dependent clock</italic> for ACRN that can be synchronized to a grandmaster clock. The results of our experiments illustrate that a type-1 hypervisor like ACRN implementing the dependent clock paradigm yields native clock synchronization precision. Furthermore, we show that the upper bound of clock synchronization precision derived from our model holds for a series of experiments featuring native and virtualized setups. |
topic |
Hypervisor clock synchronization virtualization ACRN IEEE 8021AS |
url |
https://ieeexplore.ieee.org/document/9530651/ |
work_keys_str_mv |
AT janruh clocksynchronizationinvirtualizeddistributedrealtimesystemsusingieee8021asandacrn AT wilfriedsteiner clocksynchronizationinvirtualizeddistributedrealtimesystemsusingieee8021asandacrn AT gerhardfohler clocksynchronizationinvirtualizeddistributedrealtimesystemsusingieee8021asandacrn |
_version_ |
1717377859056566272 |