[en] Assessing traversal times is the main concern in the verification of embedded real-time networks. Schedulability analysis, as it provides firm guarantees, is the preferred technique for the designers of critical systems. There are however contexts where it is not economically or technically feasible to develop one, typically when the software and hardware components have not been designed with predictability in mind, e.g. as soon as TCP-based traffic is involved in network communication or when the hardware platform is too complex (e.g. heterogeneous System-on-Chips).
In this paper, we study if it is possible to improve the ability of simulation to observe large traversal times, by running many short simulations with appropriately chosen simulation time and varying initial offsets of the stations on the network. The de-facto standard approach to assess maximal traversal times is to run a single long simulation with synchronized node start offsets and to use randomized node clock drifts inside an acceptable range.
This approach is known to yield high traversal times but is not parallelizable. We propose an alternative approach consisting in splitting the simulation time over multiple shorter simulations with, optionally, randomized node start offsets.
We evaluate the optimization potential of this simple approach on several realistic network configurations by comparing long simulations to aggregated short simulations, with and without synchronized node start offsets. We observe, considering all flows, that this allows a median improvement of up to 21.3% in terms of maximum traversal time observed, for the same simulation time budget.
Additional randomization of the node start offsets showed further improvements of up to 4.8% in our experiments. Results from this line of work can be used to estimate the pessimism of schedulability analyses and verify systems for which no analysis is available.
Disciplines :
Sciences informatiques
Auteur, co-auteur :
KELLER, Patrick ; University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
NAVET, Nicolas ; University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
Co-auteurs externes :
no
Langue du document :
Anglais
Titre :
Approximating WCRT through the aggregation of short simulations with different initial conditions: application to TSN
Date de publication/diffusion :
juin 2022
Nom de la manifestation :
30th International Conference on Real-Time Networks and Systems (RTNS ’22)
Lieu de la manifestation :
Paris, France
Date de la manifestation :
from 07-06-2022 to 08-06-2022
Manifestation à portée :
International
Titre de l'ouvrage principal :
30th International Conference on Real-Time Networks and Systems (RTNS ’22)
RealTime at Work. 2022. RTaW-Pegase Homepage. https://www.realtimeatwork. com/ Retrieved 2022/03/09.
Henri Bauer, Jean-Luc Scharbarg, and Christian Fraboul. 2010. Improving the worst-case delay analysis of an AFDX network using an optimized trajectory approach. IEEE Transactions on Industrial informatics 6, 4 (2010), 521-533.
Marc Boyer, Nicolas Navet, and Marc Fumey. 2012. Experimental assessment of timing verification techniques for AFDX. In ERTS 2012-6th European Congress on Embedded Real Time Software and Systems. Toulouse, France. https://hal.archivesouvertes. fr/hal-01345472
Marc Boyer, Nicolas Navet, Xavier Olive, and Eric Thierry. 2010. The PEGASE project: precise and scalable temporal analysis for aerospace communication systems with network calculus. In International Symposium On Leveraging Applications of Formal Methods, Verification and Validation. Springer, 122-136.
Gustavo Carneiro. 2010. NS-3: Network simulator 3. In UTM Lab Meeting April, Vol. 20. 4-5.
H. Charara, J.-L. Scharbarg, J. Ermont, and C. Fraboul. 2006. Methods for bounding end-to-end delays on an AFDX network. In 18th Euromicro Conference on Real-Time Systems (ECRTS'06). 10 pp.-202. https://doi.org/10.1109/ECRTS.2006.15
Dakshina Dasari, Arne Hamann, Holger Broede, Michael Pressler, and Dirk Ziegenbein. 2021. Brief Industry Paper: Dissecting the QNX Adaptive Partitioning Scheduler. 477-480. https://doi.org/10.1109/RTAS52030.2021.00056
Robert I Davis, Alan Burns, Reinder J Bril, and Johan J Lukkien. 2007. Controller Area Network (CAN) schedulability analysis: Refuted, revisited and revised. Real-Time Systems 35, 3 (2007), 239-272.
Linda W Friedman and Hershey H Friedman. 1995. Analyzing simulation output using the bootstrap method. Simulation 64, 2 (1995), 95-100.
Mukta Gupta, Ramakrishnan Durairajan, Meenakshi Syamkumar, Paul Barford, and Joel Sommers. 2015. pfs: Parallelized, flow-based network simulation. In 2015 International Symposium on Performance Evaluation of Computer and Telecommunication Systems (SPECTS). IEEE, 1-8.
IEEE. 2009. IEEE Standard for Local and Metropolitan Area Networks-Virtual Bridged Local Area Networks Amendment 12 Forwarding and Queuing Enhancements for Time-Sensitive Streams (Std 802.1Qav-2009 ed.).
Tieu Long Mai and Nicolas Navet. 2021. Deep learning to predict the feasibility of priority-based Ethernet network configurations. ACM Transactions on Cyber-Physical Systems (TCPS) 5, 4 (2021), 1-26.
Cédric Mauclair, Marina Gutiérrez, Jörn Migge, and Nicolas Navet. 2021. Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study. In 2021 IEEE/AIAA 40th Digital Avionics Systems Conference (DASC). 1-7. https://doi.org/10.1109/DASC52595.2021.9594349
Jörn Migge, Josetxo Villanueva, Nicolas Navet, and Marc Boyer. 2018. Insights on the Performance and Configuration of AVB and TSN in Automotive Ethernet Networks. In 9th European Congress on Embedded Real Time Software and Systems (ERTS 2018). Toulouse, France. https://hal.archives-ouvertes.fr/hal-01746132
Aurélien Monot, Nicolas Navet, Bernard Bavoux, and Cristian Maxim. 2012. Finegrained Simulation in the Design of Automotive Communication Systems. In ERTS 2012-European Congress on Embedded Real Time Software and Systems. Toulouse, France. https://hal.inria.fr/hal-00767046
A. Nasrallah, A.S. Thyagaturu, Z. Alharbi, C. Wang, X. Shao, M. Reisslein, and H. ElBakoury. 2018. Ultra-low latency (ULL) networks: The IEEE TSN and IETF DetNet standards and related 5G ULL research. IEEE Communications Surveys & Tutorials 21, 1 (2018), 88-145.
Nicolas Navet, Jan Seyler, and Jörn Migge. 2016. Timing verification of real-time automotive Ethernet networks: what can we expect from simulation?. In 8th European Congress on Embedded Real Time Software and Systems (ERTS 2016). TOULOUSE, France. https://hal.archives-ouvertes.fr/hal-01292312
G.F. Riley, R.M. Fujimoto, and M.H. Ammar. 1999. A generic framework for parallelization of network simulations. In MASCOTS '99. Proceedings of the Seventh International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems. 128-135. https://doi.org/10.1109/MASCOT.1999. 805048
Jérémy Robert, Jean-Philippe Georges, Thierry Divoux, Philippe Miramont, and Badr Rmili. 2015. On the observability in switched Ethernet networks in the next generation of space launchers: problem, challenges and recommendations. In The Seventh International Conference on Advances in Satellite and Space Communications, SPACOMM 2015. Barcelone, Spain, 13-18. https://hal.archivesouvertes. fr/hal-01147643
Soheil Samii, Sergiu Rafiliu, Petru Eles, and Zebo Peng. 2008. A Simulation Methodology for Worst-Case Response Time Estimation of Distributed Real-Time Systems. In 2008 Design, Automation and Test in Europe. 556-561. https: //doi.org/10.1109/DATE.2008.4484735
Dr. Karen R. Sollins. 1992. The TFTP Protocol (Revision 2). RFC 1350. https: //doi.org/10.17487/RFC1350
Matthew E Taylor and Peter Stone. 2009. Transfer learning for reinforcement learning domains: A survey. Journal of Machine Learning Research 10, 7 (2009).
Jain J Wang and Marc Abrams. 1993. Determining initial states for time-parallel simulations. In Proceedings of the seventh workshop on Parallel and distributed simulation. 19-26.
Zhuangdi Zhu, Kaixiang Lin, and Jiayu Zhou. 2020. Transfer Learning in Deep Reinforcement Learning: A Survey. CoRR abs/2009.07888 (2020). arXiv:2009.07888 https://arxiv.org/abs/2009.07888