Performance evaluation of portable time synchronization method using eBPF
-
Published:2023-11-16
Issue:
Volume:
Page:
-
ISSN:1532-0626
-
Container-title:Concurrency and Computation: Practice and Experience
-
language:en
-
Short-container-title:Concurrency and Computation
Author:
Kobori Kazuto1ORCID,
Lee Chunghan2,
Hirotsu Toshio1
Affiliation:
1. Graduate School of Computer and Information Sciences Hosei University Tokyo Japan
2. InfoTech Toyota Motor Corporation Tokyo Japan
Abstract
SummaryThe Precision Time Protocol (PTP) is a widely used protocol for high‐precision time synchronization, but it requires hardware or driver support for network interface card. Therefore, we propose a portable time synchronization method that is independent of them. Our method uses eBPF to synchronize time by recording timestamps of PTP packets in the kernel. eBPF is provided by the kernel and is backward‐compatible, making it independent of hardware or other software. To demonstrate the portability and high‐precision time synchronization capabilities of our method, we compared the time synchronization precision in physical environment and virtual machine. We also modified server settings that could affect time synchronization precision, and clarified the effects of these changes. The experiments showed that our method can achieve the similar level of time synchronization precision as conventional methods while remaining portable and independent of other components.
Funder
Japan Science and Technology Agency
Toyota Motor Corporation
Subject
Computational Theory and Mathematics,Computer Networks and Communications,Computer Science Applications,Theoretical Computer Science,Software
Reference22 articles.
1. LossRadar
2. Fast General Distributed Transactions with Opacity
3. Swift
4. IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems. IEEE Std 1588‐2019 (Revision of IEEE Std 1588‐2008); 2020: 1‐499.
5. Open vSwitch.2023.https://www.openvswitch.org/