Formal Analysis of the Startup Delay of SOME/IP Service Discovery
Jan R. Seyler1,a, Thilo Streichert1,b, Michael Glaß2, Nicolas Navet3 and Jürgen Teich2
1Mercedes-Benz Cars Development, Networking & Standard - Daimler AG, Germany.
2Department of Computer Science 12 - University of Erlangen-Nuremberg, Germany
3Faculté des Sciences, de la Technologie et de la Communication - Université du Luxembourg, Luxembourg
An automotive network needs to start up within the millisecond range. This includes the physical startup, the software boot time, and the configuration of the network. The introduction of Ethernet into the automotive industry expanded the design space drastically and is increasing the complexity of configuring every element in the network. To add more flexibility to automotive Ethernet networks, the concept of Service Discovery was migrated from consumer electronics to AUTOSAR within the SOME/IP middleware. A network is not fully functional until every client has found its service. Consequently, this time interval adds to the startup time of a network. This work presents a formal analysis model to calculate the waiting time of every client to receive the first offer from its service. The model is able to determine the worst case of a given parameter set. Based on this, a method for calculating the total startup time of a system is derived. The model is implemented in a free-to-use octave program and validated by comparing the analytical results to a timing-accurate simulation and an experimental setup.
In every case the worst-case assumption holds true – the gap between the maximum of the simulation and the presented method is less than 1.3%.
Full Text (PDF)