SlideShare a Scribd company logo
1 of 23
Download to read offline
INSIGHTS ON THE CONFIGURATION AND
PERFORMANCES OF SOME/IP SERVICE
DISCOVERY
Jan R. SEYLER, Daimler A.G, Mercedes Cars
Nicolas NAVET, University of Luxembourg
Loïc FEJOZ, RealTime-at-Work (RTaW)
SAE INTERNATIONAL
Outline
Paper #2015-01-0197 2
What is SOME/IP and SOME/IP SD
Protocol description SOME/IP – Service Discovery
Calculating the service subscription latencies in SOME/IP-SD
Sensitivity analysis: parameters with the most impact?
SAE INTERNATIONAL
Use-cases for Ethernet in vehicles
Paper #2015-01-0197 3
Infotainment
• Synchronous traffic
• Mixed audio and
video data
• MOST like
Cameras
• High data rates
• Continuous
streaming
• LVDS like
Diag. & flashing
• Interfacing to
external tools
• High throughput
needed
Control functions
ADAS
• Time-sensitive
communication
• Small and large
data payload
• Cover CAN / Flexray use
cases and more
TWISTED-PAIR
SAE INTERNATIONAL
What is SOME/IP? In-vehicle Service Oriented Communication
Paper #2015-01-0197 4
ServerClient
Application Application
Ethernet
PDU PDU
Scalable service-Oriented MiddlewarE
over IP (SOME/IP)
Frame
 AUTOSAR and GENIVI
compatible middleware
on top of IP
 Benefits of Ethernet higher
bandwidth and frame size –
limit use of broadcast
 Services: RPC, event
notification
 Defines the on-wire format
(structured data)
 The network addresses of
Clients (service user) and
Servers (service provider)
are not statically defined.
More flexibility & dynamicity, such as adding
services or migrating services at run-time
Service-oriented instead
of signal-oriented communication
SAE INTERNATIONAL
Overview of SOME/IP SD
Paper #2015-01-0197 5
SOME/IP SD: service discovery and connection
management
 Services are advertized by broadcast Offer msgs
 Clients looks for services via broadcast Find msgs
 Once a service is located: Subscribe – Ack
 2 modes for a client : Request and Listen
 2 modes for a service: Offer and Silent
Objective: find the right tradeoff between subscription latency
and SOME/IP SD overhead
SAE INTERNATIONAL
1. Switched Ethernet: a few switches and
a few tens of nodes
2. Frame latencies are less than a few ms
3. Time-sensitive traffic, in addition to
SOME/IP and SOME/IP SD
4. Nodes are not synchronized on startup
5. A node may host several clients of distinct services and offer several
services
6. The total number of services range from a few tens to a few
hundreds
7. A node request a fraction of the services offered (at most a few tens)
8. A node may require to subscribe to services before it can offer its
own services
9. Services might not be used and offered all the time: mode changes,
partial networking
What we can foresee about the use of SOME/IP
Paper #2015-01-0197 6
SAE INTERNATIONAL
 A client looks for the services it needs through broadcasted find
messages
 Initial Wait Phase (IWP) is entered upon the request of the applicative
layer – time spent in IWP is chosen at random in an interval
 offer messages from server are answered asap – even during IWP -
and client goes to Main Phase
SOME/IP SD – client’s side
Paper #2015-01-0197 7
Exponentially decreasing
frequency for find messages
Silent
SAE INTERNATIONAL
 A service broadcast offer messages on the network to notify the
availability of a service
 Initial Wait Phase (IWP) is entered upon the request of the applicative
layer – time spent in IWP is chosen at random in an interval
 Find messages received in IWP are ignored
 Answer to find messages from clients is done after a time chosen at
random in an interval
SOME/IP SD – server’s side
Paper #2015-01-0197 8
Exponentially decreasing
frequency for offer messages
Periodic transmissions
of offer messages
SAE INTERNATIONAL
1. Time at which the service become first available – if the service is late,
the client will register on the first offer message sent at the end of the
initial wait phase
2. Functioning mode of services and clients: Listen/Silent is worst for latency
3. SOME/IP SD protocol parameters, eg.:
 Initial Wait Phase for client and server
 ClientRepDelay and CltRepMax
 ServerRepDelay and SrvRepMax
 The time for a service to answer a find message
 SrvCycleDelay in the main phase
4. The communication delay (ranges from us to ms)
Factors impacting the client subscription latency
Paper #2015-01-0197 9
There are no guidelines on how to configure SOME/IP SD
Scope of the study: study impact of SOME/IP SD parameters in
subscription latency
SAE INTERNATIONAL
Subscription latency when both service and client are in
request mode
Paper #2015-01-0197 10
Service is late Client is late
Registering on the first offer
message
Registering on offer
or find messages
 Subscription latency: time from client is operational (leaves “Down”) until it
receives an offer – subscribe and ack messages afterwards not counted
SAE INTERNATIONAL Paper #2015-01-0197 11
Existing work : computing the worst-case
subscription latency
“Formal Analysis of the Startup Delay of
SOME/IP Service Discovery”, DATE 2015, Grenoble,
France, March 9-13, 2015.
SAE INTERNATIONAL
Calculation of SOME/IP startup delay
Paper #2015-01-0197 12
 A set of formulas has been derived to calculate the maximum waiting
time of a client in any possible configuration – example:
No pessimism
the worst-case scenario is returned
SAE INTERNATIONAL
All possible configurations wrt to client and server startup times
and request/silent mode
Paper #2015-01-0197 13
 A-1: OM for service, RM for client
Service is late
 A-2: OM for service , RM for client
Client is late
 B-1: OM for service, LM for client
service is late
 B-2: OM for service, LM for client
client is late
 C-1: SM for service, RM for client
client is late
 C-2: SM for service, RM for client
service is late
SAE INTERNATIONAL
Experimental setup: one service and one client
Paper #2015-01-0197 14
SAE INTERNATIONAL
 Simulation in CPAL language - 10 000 run – fixed comm. latency
 Worst-case situation here:
o SvcBootDelay = 2ms, SvcInitDel =2ms,
o CltBootDel= 0ms, CltInitDel=0ms
Experiment 1 - client in silent mode – server in offer mode
Paper #2015-01-0197 15
Max analysis
=
4.005ms
Max simulation
=
3.98ms
SAE INTERNATIONAL
 Simulation in CPAL language - 10 000 run – fixed comm. latency
 Worst-case situation:
o SvcBootDelay = 2ms, SvcInitiDel =2ms,
o CltBootDel= 0ms, CltInitDel=1.45ms
Experiment 2 - client in find mode and server in silent mode
Paper #2015-01-0197 16
Max analysis
=
6.58ms
Max simulation
=
6.49ms
SAE INTERNATIONAL Paper #2015-01-0197 17
Sensitivity Analysis
of SOME/IP SD parameters
Same setup as before with
Server in Offer mode
Client in Request mode
SAE INTERNATIONAL
Worst-case subscription latency for varying values of the end of the
Initial Wait Phase (IWP) of server and Client
Paper #2015-01-0197 18
4ms
2ms
4ms2ms
Server: end of IWPClient : end of IWP
Service
is late
Max latency
=
1 service cycle delay
Main factors:
o Service ready time and
length of its IWP
o Service Cycle Delay
SAE INTERNATIONAL
Worst-case subscription latency for different startup offsets
between client and service, and varying length of client’s IWP
Paper #2015-01-0197 19
4ms
2ms
2ms0ms-4ms
2ms
Client ready time - end of server’s IWP
0ms
Service
is late
Client
is late
Max latency
=
Min. between service cycle time
and length of client’s IWP
Reducing length of client
IWP is efficient when
service is operational
before client
IWP of client
SAE INTERNATIONAL
Influence of the service’s parameter in repetition mode on the worst-case
subscription latency for varying startup offsets between client and service
Paper #2015-01-0197 20
Client ready time - end of server’s IWP
Service repetition
max
4ms0ms-6ms
6ms
0
4
Service
is late
Client
is late
Increasing Service
repetition max and
reducing the repetition
delay helps to a limited
extent
Bars: service repetition
delay from 0 to 0.1ms
SAE INTERNATIONAL
Influence of the service’s cycle delay on worst-case subscription latency
for varying startup offsets between client and service
Paper #2015-01-0197 21
6ms0ms-6ms
0ms
6ms
4ms
Client ready time - end of service’s IWP
Service’s
cycle delay
Service
is late
Client
is late
Max latency
=
Client’s initial
wait phase
and
Service’s
cycle delay
Service’s
cycle delay
less than
client’s IWP
reduces
subscription
delay
SAE INTERNATIONAL
 SOME/IP SD’s dynamic well understood and analyzed, toolset
available – rationale of some design choices unclear
 There are step-effects but performance are acceptable for large range
of parameters if timing constraints are not too short
 Main factors that influence the subscription latency:
o Ready time of the services and length of their Initial Wait Phase
o Service’s cycle delay
 Ongoing experiments with timing accurate simulation of
communication latencies (CPAL model on top of RTaW-Pegase) 
network latency can be significant (>1ms) and parameters should be
chosen accordingly
 Further progresses require case-studies
Concluding remarks
Paper #2015-01-0197 22
SAE INTERNATIONAL
Concluding remarks
Paper #2015-01-0197 23

More Related Content

What's hot

How is Kafka so Fast?
How is Kafka so Fast?How is Kafka so Fast?
How is Kafka so Fast?Ricardo Paiva
 
Building a Streaming Microservice Architecture: with Apache Spark Structured ...
Building a Streaming Microservice Architecture: with Apache Spark Structured ...Building a Streaming Microservice Architecture: with Apache Spark Structured ...
Building a Streaming Microservice Architecture: with Apache Spark Structured ...Databricks
 
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.Taras Matyashovsky
 
Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...
Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...
Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...GetInData
 
Deploying openstack using ansible
Deploying openstack using ansibleDeploying openstack using ansible
Deploying openstack using ansibleopenstackindia
 
Introducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes OperatorIntroducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes OperatorFlink Forward
 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with MemcachedImplementing High Availability Caching with Memcached
Implementing High Availability Caching with MemcachedGear6
 
Introducing Saga Pattern in Microservices with Spring Statemachine
Introducing Saga Pattern in Microservices with Spring StatemachineIntroducing Saga Pattern in Microservices with Spring Statemachine
Introducing Saga Pattern in Microservices with Spring StatemachineVMware Tanzu
 
Scaling FreeSWITCH Performance
Scaling FreeSWITCH PerformanceScaling FreeSWITCH Performance
Scaling FreeSWITCH PerformanceMoises Silva
 
Tips on High Performance Server Programming
Tips on High Performance Server ProgrammingTips on High Performance Server Programming
Tips on High Performance Server ProgrammingJoshua Zhu
 
Running gRPC Services for Serving Legacy API on Kubernetes
Running gRPC Services for Serving Legacy API on KubernetesRunning gRPC Services for Serving Legacy API on Kubernetes
Running gRPC Services for Serving Legacy API on KubernetesSungwon Lee
 
How Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for PerformanceHow Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for PerformanceBrendan Gregg
 
Micro services Architecture
Micro services ArchitectureMicro services Architecture
Micro services ArchitectureAraf Karsh Hamid
 
Event Streaming in Retail with Apache Kafka
Event Streaming in Retail with Apache KafkaEvent Streaming in Retail with Apache Kafka
Event Streaming in Retail with Apache KafkaKai Wähner
 
Poll mode driver integration into dpdk
Poll mode driver integration into dpdkPoll mode driver integration into dpdk
Poll mode driver integration into dpdkVipin Varghese
 
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...Flink Forward
 

What's hot (20)

Userspace networking
Userspace networkingUserspace networking
Userspace networking
 
Flink vs. Spark
Flink vs. SparkFlink vs. Spark
Flink vs. Spark
 
How is Kafka so Fast?
How is Kafka so Fast?How is Kafka so Fast?
How is Kafka so Fast?
 
Building a Streaming Microservice Architecture: with Apache Spark Structured ...
Building a Streaming Microservice Architecture: with Apache Spark Structured ...Building a Streaming Microservice Architecture: with Apache Spark Structured ...
Building a Streaming Microservice Architecture: with Apache Spark Structured ...
 
From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
 
Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...
Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...
Best Practices for ETL with Apache NiFi on Kubernetes - Albert Lewandowski, G...
 
Deploying openstack using ansible
Deploying openstack using ansibleDeploying openstack using ansible
Deploying openstack using ansible
 
Introducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes OperatorIntroducing the Apache Flink Kubernetes Operator
Introducing the Apache Flink Kubernetes Operator
 
Nakivo overview
Nakivo overviewNakivo overview
Nakivo overview
 
Apache Kafka
Apache Kafka Apache Kafka
Apache Kafka
 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with MemcachedImplementing High Availability Caching with Memcached
Implementing High Availability Caching with Memcached
 
Introducing Saga Pattern in Microservices with Spring Statemachine
Introducing Saga Pattern in Microservices with Spring StatemachineIntroducing Saga Pattern in Microservices with Spring Statemachine
Introducing Saga Pattern in Microservices with Spring Statemachine
 
Scaling FreeSWITCH Performance
Scaling FreeSWITCH PerformanceScaling FreeSWITCH Performance
Scaling FreeSWITCH Performance
 
Tips on High Performance Server Programming
Tips on High Performance Server ProgrammingTips on High Performance Server Programming
Tips on High Performance Server Programming
 
Running gRPC Services for Serving Legacy API on Kubernetes
Running gRPC Services for Serving Legacy API on KubernetesRunning gRPC Services for Serving Legacy API on Kubernetes
Running gRPC Services for Serving Legacy API on Kubernetes
 
How Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for PerformanceHow Netflix Tunes EC2 Instances for Performance
How Netflix Tunes EC2 Instances for Performance
 
Micro services Architecture
Micro services ArchitectureMicro services Architecture
Micro services Architecture
 
Event Streaming in Retail with Apache Kafka
Event Streaming in Retail with Apache KafkaEvent Streaming in Retail with Apache Kafka
Event Streaming in Retail with Apache Kafka
 
Poll mode driver integration into dpdk
Poll mode driver integration into dpdkPoll mode driver integration into dpdk
Poll mode driver integration into dpdk
 
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
 

Similar to Insights on the configuration and performances of SOME/IP Service Discovery

Assessing Network Readiness
Assessing Network ReadinessAssessing Network Readiness
Assessing Network ReadinessrAVe [PUBS]
 
Broadband Access Over Satellite: For Consumer, SOHO and SME
Broadband Access Over Satellite: For Consumer, SOHO and SMEBroadband Access Over Satellite: For Consumer, SOHO and SME
Broadband Access Over Satellite: For Consumer, SOHO and SMEST Engineering iDirect
 
FutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom ServicesFutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom ServicesRADVISION Ltd.
 
Telecoms Service Assurance & Service Fulfillment with Neo4j Graph Database
Telecoms Service Assurance & Service Fulfillment with Neo4j Graph DatabaseTelecoms Service Assurance & Service Fulfillment with Neo4j Graph Database
Telecoms Service Assurance & Service Fulfillment with Neo4j Graph DatabaseNeo4j
 
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...CA Technologies
 
OneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityOneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityAALForum
 
BT Group: Use of Graph in VENA (a smart broadcast network)
BT Group: Use of Graph in VENA (a smart broadcast network)BT Group: Use of Graph in VENA (a smart broadcast network)
BT Group: Use of Graph in VENA (a smart broadcast network)Neo4j
 
GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...
GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...
GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...Neo4j
 
QoS-Predictable SOA on TSN: Insights from a Case-Study
QoS-Predictable SOA on TSN: Insights from a Case-StudyQoS-Predictable SOA on TSN: Insights from a Case-Study
QoS-Predictable SOA on TSN: Insights from a Case-StudyRealTime-at-Work (RTaW)
 
Jeffrey Richter
Jeffrey RichterJeffrey Richter
Jeffrey RichterCodeFest
 
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom ProviderRemoving Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom ProviderCA Technologies
 
Quick QUIC Technical Update (2017)
Quick QUIC Technical Update (2017)Quick QUIC Technical Update (2017)
Quick QUIC Technical Update (2017)Taisuke Yamada
 
How to implement smart networks to unlock more profit
How to implement smart networks to unlock more profitHow to implement smart networks to unlock more profit
How to implement smart networks to unlock more profitEricsson
 
RCS Service Monitoring - 1-to-1 Chat
RCS Service Monitoring - 1-to-1 ChatRCS Service Monitoring - 1-to-1 Chat
RCS Service Monitoring - 1-to-1 ChatJose Gonzalez
 

Similar to Insights on the configuration and performances of SOME/IP Service Discovery (20)

Assessing Network Readiness
Assessing Network ReadinessAssessing Network Readiness
Assessing Network Readiness
 
Broadband Access Over Satellite: For Consumer, SOHO and SME
Broadband Access Over Satellite: For Consumer, SOHO and SMEBroadband Access Over Satellite: For Consumer, SOHO and SME
Broadband Access Over Satellite: For Consumer, SOHO and SME
 
FutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom ServicesFutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom Services
 
Telecoms Service Assurance & Service Fulfillment with Neo4j Graph Database
Telecoms Service Assurance & Service Fulfillment with Neo4j Graph DatabaseTelecoms Service Assurance & Service Fulfillment with Neo4j Graph Database
Telecoms Service Assurance & Service Fulfillment with Neo4j Graph Database
 
SOMEIP-protocol.pptx
SOMEIP-protocol.pptxSOMEIP-protocol.pptx
SOMEIP-protocol.pptx
 
50120140501015 2
50120140501015 250120140501015 2
50120140501015 2
 
50120140501015 2
50120140501015 250120140501015 2
50120140501015 2
 
50120140501015 2
50120140501015 250120140501015 2
50120140501015 2
 
J41035862
J41035862J41035862
J41035862
 
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
 
OneM2M - Views on Platform Interoperability
OneM2M - Views on Platform InteroperabilityOneM2M - Views on Platform Interoperability
OneM2M - Views on Platform Interoperability
 
BT Group: Use of Graph in VENA (a smart broadcast network)
BT Group: Use of Graph in VENA (a smart broadcast network)BT Group: Use of Graph in VENA (a smart broadcast network)
BT Group: Use of Graph in VENA (a smart broadcast network)
 
GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...
GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...
GraphTour 2020 - BT: Use of Graph Database in P2P / P2MP Connectivity for Vid...
 
QoS-Predictable SOA on TSN: Insights from a Case-Study
QoS-Predictable SOA on TSN: Insights from a Case-StudyQoS-Predictable SOA on TSN: Insights from a Case-Study
QoS-Predictable SOA on TSN: Insights from a Case-Study
 
Jeffrey Richter
Jeffrey RichterJeffrey Richter
Jeffrey Richter
 
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom ProviderRemoving Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
Removing Crucial Dependencies to Enable KPN as a Virtual Telecom Provider
 
Quick QUIC Technical Update (2017)
Quick QUIC Technical Update (2017)Quick QUIC Technical Update (2017)
Quick QUIC Technical Update (2017)
 
How to implement smart networks to unlock more profit
How to implement smart networks to unlock more profitHow to implement smart networks to unlock more profit
How to implement smart networks to unlock more profit
 
Internet
InternetInternet
Internet
 
RCS Service Monitoring - 1-to-1 Chat
RCS Service Monitoring - 1-to-1 ChatRCS Service Monitoring - 1-to-1 Chat
RCS Service Monitoring - 1-to-1 Chat
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

Insights on the configuration and performances of SOME/IP Service Discovery

  • 1. INSIGHTS ON THE CONFIGURATION AND PERFORMANCES OF SOME/IP SERVICE DISCOVERY Jan R. SEYLER, Daimler A.G, Mercedes Cars Nicolas NAVET, University of Luxembourg Loïc FEJOZ, RealTime-at-Work (RTaW)
  • 2. SAE INTERNATIONAL Outline Paper #2015-01-0197 2 What is SOME/IP and SOME/IP SD Protocol description SOME/IP – Service Discovery Calculating the service subscription latencies in SOME/IP-SD Sensitivity analysis: parameters with the most impact?
  • 3. SAE INTERNATIONAL Use-cases for Ethernet in vehicles Paper #2015-01-0197 3 Infotainment • Synchronous traffic • Mixed audio and video data • MOST like Cameras • High data rates • Continuous streaming • LVDS like Diag. & flashing • Interfacing to external tools • High throughput needed Control functions ADAS • Time-sensitive communication • Small and large data payload • Cover CAN / Flexray use cases and more TWISTED-PAIR
  • 4. SAE INTERNATIONAL What is SOME/IP? In-vehicle Service Oriented Communication Paper #2015-01-0197 4 ServerClient Application Application Ethernet PDU PDU Scalable service-Oriented MiddlewarE over IP (SOME/IP) Frame  AUTOSAR and GENIVI compatible middleware on top of IP  Benefits of Ethernet higher bandwidth and frame size – limit use of broadcast  Services: RPC, event notification  Defines the on-wire format (structured data)  The network addresses of Clients (service user) and Servers (service provider) are not statically defined. More flexibility & dynamicity, such as adding services or migrating services at run-time Service-oriented instead of signal-oriented communication
  • 5. SAE INTERNATIONAL Overview of SOME/IP SD Paper #2015-01-0197 5 SOME/IP SD: service discovery and connection management  Services are advertized by broadcast Offer msgs  Clients looks for services via broadcast Find msgs  Once a service is located: Subscribe – Ack  2 modes for a client : Request and Listen  2 modes for a service: Offer and Silent Objective: find the right tradeoff between subscription latency and SOME/IP SD overhead
  • 6. SAE INTERNATIONAL 1. Switched Ethernet: a few switches and a few tens of nodes 2. Frame latencies are less than a few ms 3. Time-sensitive traffic, in addition to SOME/IP and SOME/IP SD 4. Nodes are not synchronized on startup 5. A node may host several clients of distinct services and offer several services 6. The total number of services range from a few tens to a few hundreds 7. A node request a fraction of the services offered (at most a few tens) 8. A node may require to subscribe to services before it can offer its own services 9. Services might not be used and offered all the time: mode changes, partial networking What we can foresee about the use of SOME/IP Paper #2015-01-0197 6
  • 7. SAE INTERNATIONAL  A client looks for the services it needs through broadcasted find messages  Initial Wait Phase (IWP) is entered upon the request of the applicative layer – time spent in IWP is chosen at random in an interval  offer messages from server are answered asap – even during IWP - and client goes to Main Phase SOME/IP SD – client’s side Paper #2015-01-0197 7 Exponentially decreasing frequency for find messages Silent
  • 8. SAE INTERNATIONAL  A service broadcast offer messages on the network to notify the availability of a service  Initial Wait Phase (IWP) is entered upon the request of the applicative layer – time spent in IWP is chosen at random in an interval  Find messages received in IWP are ignored  Answer to find messages from clients is done after a time chosen at random in an interval SOME/IP SD – server’s side Paper #2015-01-0197 8 Exponentially decreasing frequency for offer messages Periodic transmissions of offer messages
  • 9. SAE INTERNATIONAL 1. Time at which the service become first available – if the service is late, the client will register on the first offer message sent at the end of the initial wait phase 2. Functioning mode of services and clients: Listen/Silent is worst for latency 3. SOME/IP SD protocol parameters, eg.:  Initial Wait Phase for client and server  ClientRepDelay and CltRepMax  ServerRepDelay and SrvRepMax  The time for a service to answer a find message  SrvCycleDelay in the main phase 4. The communication delay (ranges from us to ms) Factors impacting the client subscription latency Paper #2015-01-0197 9 There are no guidelines on how to configure SOME/IP SD Scope of the study: study impact of SOME/IP SD parameters in subscription latency
  • 10. SAE INTERNATIONAL Subscription latency when both service and client are in request mode Paper #2015-01-0197 10 Service is late Client is late Registering on the first offer message Registering on offer or find messages  Subscription latency: time from client is operational (leaves “Down”) until it receives an offer – subscribe and ack messages afterwards not counted
  • 11. SAE INTERNATIONAL Paper #2015-01-0197 11 Existing work : computing the worst-case subscription latency “Formal Analysis of the Startup Delay of SOME/IP Service Discovery”, DATE 2015, Grenoble, France, March 9-13, 2015.
  • 12. SAE INTERNATIONAL Calculation of SOME/IP startup delay Paper #2015-01-0197 12  A set of formulas has been derived to calculate the maximum waiting time of a client in any possible configuration – example: No pessimism the worst-case scenario is returned
  • 13. SAE INTERNATIONAL All possible configurations wrt to client and server startup times and request/silent mode Paper #2015-01-0197 13  A-1: OM for service, RM for client Service is late  A-2: OM for service , RM for client Client is late  B-1: OM for service, LM for client service is late  B-2: OM for service, LM for client client is late  C-1: SM for service, RM for client client is late  C-2: SM for service, RM for client service is late
  • 14. SAE INTERNATIONAL Experimental setup: one service and one client Paper #2015-01-0197 14
  • 15. SAE INTERNATIONAL  Simulation in CPAL language - 10 000 run – fixed comm. latency  Worst-case situation here: o SvcBootDelay = 2ms, SvcInitDel =2ms, o CltBootDel= 0ms, CltInitDel=0ms Experiment 1 - client in silent mode – server in offer mode Paper #2015-01-0197 15 Max analysis = 4.005ms Max simulation = 3.98ms
  • 16. SAE INTERNATIONAL  Simulation in CPAL language - 10 000 run – fixed comm. latency  Worst-case situation: o SvcBootDelay = 2ms, SvcInitiDel =2ms, o CltBootDel= 0ms, CltInitDel=1.45ms Experiment 2 - client in find mode and server in silent mode Paper #2015-01-0197 16 Max analysis = 6.58ms Max simulation = 6.49ms
  • 17. SAE INTERNATIONAL Paper #2015-01-0197 17 Sensitivity Analysis of SOME/IP SD parameters Same setup as before with Server in Offer mode Client in Request mode
  • 18. SAE INTERNATIONAL Worst-case subscription latency for varying values of the end of the Initial Wait Phase (IWP) of server and Client Paper #2015-01-0197 18 4ms 2ms 4ms2ms Server: end of IWPClient : end of IWP Service is late Max latency = 1 service cycle delay Main factors: o Service ready time and length of its IWP o Service Cycle Delay
  • 19. SAE INTERNATIONAL Worst-case subscription latency for different startup offsets between client and service, and varying length of client’s IWP Paper #2015-01-0197 19 4ms 2ms 2ms0ms-4ms 2ms Client ready time - end of server’s IWP 0ms Service is late Client is late Max latency = Min. between service cycle time and length of client’s IWP Reducing length of client IWP is efficient when service is operational before client IWP of client
  • 20. SAE INTERNATIONAL Influence of the service’s parameter in repetition mode on the worst-case subscription latency for varying startup offsets between client and service Paper #2015-01-0197 20 Client ready time - end of server’s IWP Service repetition max 4ms0ms-6ms 6ms 0 4 Service is late Client is late Increasing Service repetition max and reducing the repetition delay helps to a limited extent Bars: service repetition delay from 0 to 0.1ms
  • 21. SAE INTERNATIONAL Influence of the service’s cycle delay on worst-case subscription latency for varying startup offsets between client and service Paper #2015-01-0197 21 6ms0ms-6ms 0ms 6ms 4ms Client ready time - end of service’s IWP Service’s cycle delay Service is late Client is late Max latency = Client’s initial wait phase and Service’s cycle delay Service’s cycle delay less than client’s IWP reduces subscription delay
  • 22. SAE INTERNATIONAL  SOME/IP SD’s dynamic well understood and analyzed, toolset available – rationale of some design choices unclear  There are step-effects but performance are acceptable for large range of parameters if timing constraints are not too short  Main factors that influence the subscription latency: o Ready time of the services and length of their Initial Wait Phase o Service’s cycle delay  Ongoing experiments with timing accurate simulation of communication latencies (CPAL model on top of RTaW-Pegase)  network latency can be significant (>1ms) and parameters should be chosen accordingly  Further progresses require case-studies Concluding remarks Paper #2015-01-0197 22