[Paper Review] ptp++: A Precision Time Protocol Simulation Model for OMNeT++ / INET
This paper presents ptp++, a PTP simulation model for the OMNeT++/INET framework that enables precise evaluation of time synchronization under varying network conditions. The model demonstrates that network load asymmetry severely degrades PTP accuracy, but prioritized QoS and a novel 'class probing' technique significantly reduce synchronization errors—improving accuracy from over 400 µs to under 80 µs under high load.
Precise time synchronization is expected to play a key role in emerging distributed and real-time applications such as the smart grid and Internet of Things (IoT) based applications. The Precision Time Protocol (PTP) is currently viewed as one of the main synchronization solutions over a packet-switched network, which supports microsecond synchronization accuracy. In this paper, we present a PTP simulation model for OMNeT++ INET, which allows to investigate the synchronization accuracy under different network configurations and conditions. To show some illustrative simulation results using the developed module, we investigate on the network load fluctuations and their impacts on the PTP performance by considering a network with class-based quality-of-service (QoS) support. The simulation results show that the network load significantly affects the network delay symmetry, and investigate a new technique called class probing to improve the PTP accuracy and mitigate the load fluctuation effects.
Motivation & Objective
- To develop a standards-compliant PTP simulation module for the OMNeT++/INET framework to study time synchronization in wired and wireless networks.
- To investigate how variable network loads affect PTP synchronization accuracy, particularly under asymmetric traffic conditions.
- To evaluate the effectiveness of quality-of-service (QoS) mechanisms in mitigating load-induced timing errors.
- To propose and evaluate a novel technique called 'class probing' to improve PTP accuracy by reducing delay asymmetry.
Proposed method
- Implemented a PTP version 2-compliant simulation model within the OMNeT++/INET framework, supporting all standard PTP message types (Sync, Follow_Up, Delay_Req, Delay_Resp).
- Designed a network topology with two traffic generators (trafGen1 and trafGen2) to induce variable, bursty traffic using a Pareto distribution with shape a=1.5.
- Simulated network delays by modeling asymmetric queuing delays in router switching fabrics, particularly affecting upstream and downstream paths.
- Configured prioritized queues to ensure PTP messages are processed before non-PTP traffic, improving delay predictability.
- Proposed and evaluated 'class probing'—sending a low-priority non-PTP message before each PTP message to increase transmission probability and reduce asymmetry.
- Used 15 independent simulation runs per load condition with different random seeds to ensure statistical reliability.
Experimental results
Research questions
- RQ1How does variable network load, especially asymmetrical load, affect PTP synchronization accuracy in a packet-switched network?
- RQ2To what extent can QoS prioritization improve PTP synchronization accuracy under high and asymmetric network loads?
- RQ3Can the proposed 'class probing' mechanism reduce delay asymmetry and improve PTP accuracy compared to standard PTP operation?
- RQ4How does the combination of QoS and class probing compare to standard PTP in terms of synchronization error under varying load conditions?
Key findings
- Without QoS, PTP synchronization error increased from below 10 µs at 0 Mbps load to over 400 µs under high asymmetrical load (90 Mbps upstream, 0 Mbps downstream).
- With QoS prioritization, synchronization error was reduced to a range of 0–80 µs, even under high load, demonstrating significant improvement.
- At high load, the synchronization error decreased compared to medium load when using QoS, due to higher probability of non-PTP packets being delayed when PTP packets arrive.
- The 'class probing' technique showed a significant improvement in synchronization accuracy compared to standard PTP, reducing timing errors by increasing the likelihood of consistent transmission behavior.
- The simulation model successfully enabled low-cost evaluation of PTP under diverse network configurations, supporting future research on time-aware protocols and applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.