Conceptio › Archive › arXiv CS
arXiv CS open access

When Discovery Becomes a Storm: A ROS 2 Discovery Model for Wireless Robotic Networks

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
distributed-systemsinternetnetworkingprotocols
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

When Discovery Becomes a Storm: A ROS 2 Discovery Model for Wireless Robotic Networks Yeonwoo Choi †

, Sanghoon Lee †

, and Kyung-Joon Park *

arXiv:2608.02242v1 [cs.NI] 3 Aug 2026

Department of Electrical Engineering and Computer Science, DGIST, Daegu, Republic of Korea Email: {cyw040306, leesh2913, kjp}@dgist.ac.kr

Abstract—In Robot Operating System 2 (ROS 2), Data Distribution Service (DDS) participants must discover one another before exchanging data. In wireless environments, delayed or lost discovery messages cause reliability timers to expire, triggering retransmissions that intensify channel contention and further delay the delivery of discovery messages. This self-reinforcing feedback can escalate into a discovery storm. Existing models characterize discovery demand under fixed delivery conditions, but do not capture how shared-channel delay changes protocol state and generates further traffic. To address this issue, we present the first closed-loop analytical model of ROS 2 discovery that characterizes how delay-induced feedback amplifies retransmission overhead and leads to severe discovery storms. Our model represents channel contention as a shared service process, coupling messagedelivery latency with receiver states and reliability timers. The model predicts both discovery completion time and per-class message counts. We validate the model through 1,350 experimental runs across 90 topology configurations. An open-loop airtime baseline captures only a fraction of the high-load completion time. The closed-loop model reproduces this rise and conservatively upper-bounds the observed high-load range. Guided by insights from the model, we further design a response-aware discovery policy that reduces mean discovery completion time by 25.3% to 39.7%. Index Terms—Discovery storm, ROS 2, DDS, RTPS, wireless robotic networks, closed-loop modeling, reliability repair

together. By consuming the available wireless bandwidth with redundant retransmission traffic, a discovery storm paralyzes network startup and prevents distributed processes from exchanging time-critical application data. Therefore, ensuring reliable ROS 2 communications requires a comprehensive closed-loop model to capture the self-reinforcing dynamics of ROS 2 DDS discovery. Prior work examines discovery overhead from three complementary perspectives. A deterministic airtime analysis quantifies the deployment-driven initial discovery burst and identifies when it approaches channel capacity [3]. Analytical DDS latency models estimate reliability recovery, but rely on an externally fixed packet-delivery ratio [4]. Other studies focus on reducing initial discovery demand via Bloom filters [5], content-based filtering [6], centralized discovery [7], or node composition [8]. The remaining gap is the causal link through which shared-channel delay postpones receiver recognition, prompting further delivery-check and repair traffic. Modeling this link explains why identical first-transmission workloads can yield different repair counts and completion times. In this paper, our contributions are as follows: Modeling. We formalize the closed-loop dynamics of the discovery storm, in which shared-channel delay triggers periodic timer-driven repair that reenters the shared channel and deepens the delay, separating this repair from the topology-dependent first-transmission burst and quantifying its amplification. • Validation. In the 18 high-load configurations, an openloop airtime baseline without the feedback predicts only about 17% of the observed high-load completion time. The closed-loop model captures this rise, upper-bounding roughly 90% of high-load completion-time and message observations as a conservative upper-range estimate. • Mitigation. The model isolates the periodic reliability messages as a tunable source of contention, and we pace them to receiver responses so that they do not contend with pending discovery traffic, reducing participant-wise mean discovery completion time by 25.3% to 39.7%.

•

I. I NTRODUCTION Wireless robotic networks coordinate robot functions across distributed processes. These systems commonly rely on the Robot Operating System 2 (ROS 2), a de facto standard software framework that uses the Data Distribution Service (DDS) for communication [1]. Before application data can flow, these processes must discover one another and exchange the communication metadata needed to establish data paths [2]. This decentralized startup supports modular deployment and dynamic joining, but the required metadata must be delivered and recognized before the expected communication paths become ready. In a shared wireless environment, discovery messages contend for the channel and can therefore delay system startup or prevent it from completing. A discovery storm is a startup regime in which discovery demand exhausts the available wireless service, causing discovery to complete late or not at all [3]. Even two networked devices, such as a robot computer and a server, can reach this regime when many data publishers and subscribers start discovery † Both authors contributed equally to this research. * Corresponding author

The remainder of this paper is organized as follows. Section II reviews DDS discovery and the delay-induced repair amplification that motivates the model. Section III develops the closed-loop discovery model. Section IV evaluates the model and the response-aware policy on an 802.11n testbed. Section V discusses related work, and Section VI concludes.

Host 1

Host NH

participant process 1

participant process NP

endpoint 1 endpoint 2 ... endpoint NE

participant process 1

endpoint 1

···

endpoint 2 ... endpoint NE

participant process NP

endpoint 1

···

endpoint 2 ... endpoint NE

NP participant processes

endpoint 1

···

endpoint 2 ... endpoint NE

NP participant processes

TABLE I D ISCOVERY MESSAGE COUNTS AVERAGED OVER 15 RUNS FOR NH = 2, NP = 5, AND NE = 20 Message category

Wired

Wireless

Wireless/ Wired ratio

SPDP Initial SEDP DATA Repair SEDP DATA HEARTBEAT ACKNACK

327.3 1,850.0 0.07 102.5 100.4

529.8 1,850.0 3,644.0 14,036.1 3,798.1

1.6 1.0 54,660 137.0 37.8

Total

2,380.2

23,858.1

10.0

NH wireless hosts

Fig. 1. Homogeneous DDS discovery topology used in the evaluation, with NH wireless hosts, NP participants per host, and NE user endpoints per participant.

II. BACKGROUND AND M OTIVATION A. DDS Discovery Protocol A DDS deployment consists of hosts, participants, and endpoints. A host runs software processes that create DDS participants, and each participant contains endpoints that publish or subscribe to application data, such as sensor readings or motion commands. In general, hosts may contain different numbers of participants, and participants may advertise different numbers of endpoints. Fig. 1 illustrates the homogeneous special case used for controlled evaluation, with NH hosts, NP participants per host, and NE user endpoints per participant. Communication within one host does not traverse the shared wireless link. Two hosts are therefore the smallest setting that exposes cross-host discovery over the shared channel. Discovery proceeds in two stages. The Simple Participant Discovery Protocol (SPDP) first announces each participant’s presence and network addresses. After remote participants recognize one another, the Simple Endpoint Discovery Protocol (SEDP) exchanges metadata describing their publishing and subscribing endpoints. SEDP carries this metadata in RealTime Publish-Subscribe (RTPS) DATA submessages. One RTPS packet carried over the User Datagram Protocol (UDP) may contain several submessages [2]. SEDP provides reliable delivery through a check-and-repair cycle. A sender transmits SEDP DATA and uses a HEARTBEAT to announce the available DATA sequence numbers. Sequence numbers label SEDP DATA items so that a receiver can identify which items are missing. The receiver returns an ACKNACK identifying which DATA has arrived and which remains missing, and the sender retransmits the requested metadata. The first transmission of an endpoint’s metadata to a receiver is Initial SEDP DATA. Each later transmission of the same metadata to that receiver is Repair SEDP DATA [2]. Discovery completion depends on the receiver state rather than sender transmission. Discovery is completed only after every receiver has processed the metadata for all expected remote endpoints. DATA that has been generated but remains queued or in service is still absent from the receiver state. Here, a reliability timer schedules a protocol decision that checks or responds to the receiver’s delivery state. If a reliability timer expires before that DATA is processed, the protocol treats the

delayed metadata as missing and may initiate the same repair path as an actual loss. B. Delay and Repair Amplification Prior studies show that DDS performance depends on multicast load and wireless-channel conditions [9], [10]. Wireless loss can trigger repair, yet loopback runs produce Repair SEDP DATA despite negligible network loss (Subsection IV-C), showing that loss is not required. We therefore focus on the causal path in which delayed delivery postpones receiver recognition and activates the reliability procedure. The resulting checks, replies, and retransmissions increase contention and further delay the remaining metadata. Comparing wired and wireless discovery illustrates this amplification. The wired environment provides a low-delay reference, while the wireless environment allows discovery messages to be delayed or remain unreceived when a receiver checks what has arrived. We use a representative high-load deployment with two hosts, five participants per host, and twenty user endpoints per participant, namely NH = 2, NP = 5, and NE = 20. All processes start simultaneously and advertise the same participants and endpoints under both conditions. Table I separates SPDP announcements, initial and repair SEDP DATA, and the associated reliability-control messages. Across the measured runs, both environments produce an average of 1,850 initial SEDP DATA submessages. This confirms that the large difference in total traffic does not come from advertising more endpoints. Participant announcements, delivery checks, receiver replies, and retransmissions produce only 2,380.2 discovery submessages in the wired environment. In the wireless environment, the same categories raise the total to 23,858.1 submessages, which is 10 times more than that of the wired traffic. Fig. 2 extends this representative comparison across all evaluated configurations. The wirelessto-wired ratio of run-mean total discovery-message counts rises jointly with NP and NE and reaches 15.7 in the most amplified configuration. III. C LOSED - LOOP DISCOVERY MODEL This section turns the feedback mechanism described in Subsection II-B into a closed-loop model. The deployment input describes the system structure, a DDS profile supplies protocol behavior, and a wireless-service profile describes how transmissions are served. The protocol component generates

TABLE II N OTATION FOR THE C LOSED -L OOP D ISCOVERY M ODEL 15.7×

Symbol

Wireless / wired total-message ratio

16× 14× 12× 10×

Meaning

NH , n, NP , NE

Hosts, total participants, participants per host, and user endpoints per participant

H, P, h

Host set, participant set, and the map assigning each participant to a host

R, i, j, s, d

Directed cross-host participant pairs, with sender, receiver, metadata-type, and descriptor indices

Di,s , F, Nrel

Type-s descriptors advertised by i, required descriptor deliveries, and reliable SEDP relations

αHB , αACK αe , αm , αu

Profile counts used for reference HEARTBEAT, ACKNACK, and SPDP traffic

v, c

Generated RTPS/UDP packet and one uplink or downlink fragment transmission

8× 6× 4× 2× 0× 30 20

Endpoin

10

ts per p articipan

t, N

2

E

1

2

3

5

4

6 P st, N

o er h ts p

pan tici Par

Fig. 2. Ratio of the wireless and wired run-mean total discovery-message counts at each evaluated system size. Color follows the surface height.

messages from receiver state and timers. The wireless-service component determines when each message leaves the sender and reaches the receiver. Each completed delivery updates the state used by subsequent protocol decisions. A different wireless network is represented by its own wireless-service profile. A. Structural Discovery Workload Let H = {0, . . . , NH − 1} be the wireless hosts, P = {0, . . . , n − 1} the DDS participants, and h : P → H maps each participant to the host on which it runs. One descriptor is the SEDP metadata that advertises one publishing or subscribing endpoint. Participant i advertises Di,s descriptors of SEDP metadata type s ∈ {pub, sub}. Each participant owns separate built-in discovery streams for publication and subscription metadata. For a directed cross-host pair (i, j), i’s publication writer sends descriptions of its data-sending endpoints to j’s publication reader, while its subscription writer sends descriptions of its data-receiving endpoints to j’s subscription reader. Each stream maintains independent reliability state and timers. Consequently, every directed pair contributes one reliable publication relation and one reliable subscription relation. Table II summarizes the notation used throughout the closedloop discovery model. We denote the set of directed cross-host pairs by R, the total number of required descriptor deliveries across these relations by F , and the number of reliable SEDP relations by Nrel : R = {(i, j) ∈ P 2 : h(i) ̸= h(j)}, X X F = Di,s ,

(1)

(i,j)∈R s∈{pub,sub}

Nrel = 2|R|. The formulation permits uneven participant placement and participant-specific descriptor counts under a common wireless-

B(c), κ(c), a(c)

Fragment byte count, unicast or multicast mode, and wireless service demand

Wi , Ii (t)

Source-queue capacity and admitted bytes of participant i

r(c), b(c), f (c)

Service-request, service-start, and service-finish times of fragment c

(s)

Participant recognition, SEDP relation, and receiver descriptor states

(s)

Pij , Rij , Xij,d

Sender acknowledgment and repair state for one descriptor

(s)

Cij,d En , ∆En , (e, t), ≺

Pending events, newly scheduled events, a timed event, and event ordering

τ A , τ N , τS , τ H , τ P

HEARTBEAT-response, repair-response, suppression, HEARTBEAT, and SPDP intervals

Tdisc Minit , Mrepair MHB , MACK MSPDP,m MSPDP,u

Discovery completion time and generated counts by message category

service and DDS implementation profile. In the homogeneous specialization used for evaluation, Di,s = Ds and F = NH (NH − 1)NP2 (Dpub + Dsub ), Nrel = 2NH (NH − 1)NP2 .

(2)

Even with NH = 2, F grows quadratically with NP and in proportion to the number of advertised endpoints. The failure-free reference delivers every required descriptor on its first transmission. It therefore has 0 Minit = F,

0 Mrepair = 0.

(3)

Let αHB and αACK be the HEARTBEAT and ACKNACK counts per reliable SEDP relation. For SPDP, let αe be the announcement events per participant, αm the multicast SPDP count per event, and αu the average unicast SPDP count per directed cross-host pair. The remaining reference counts are 0 MHB = αHB Nrel , 0 MSPDP,m = αe αm |P|,

0 MACK = αACK Nrel , 0 MSPDP,u = αu |R|.

(4)

It serves as the counterfactual against which timer-generated delivery checks and repair traffic are measured.

B. Shared Wireless Service

where Rκ(c) is the configured physical-layer rate and Oκ(c) includes fixed channel-access and protocol costs. A generated packet first waits in the modeled participant backlog. The model moves it to the abstract finite source queue once that queue has sufficient free capacity in bytes. Only admitted fragments can request channel service. All uplink and downlink fragments then share one modeled wireless channel. The channel carries one fragment at a time, so every other admitted fragment waits until the channel becomes available. The model selects the fragment with the earliest service-request time. After the access point (AP) receives one fragment of a packet, it may be ready to forward that fragment just as the sender is ready to send the next fragment. A fixed rule chooses which transmission goes first, and Subsection IV-D evaluates three forms of this rule. A selected fragment occupies the channel for a(c). Completion of packet v’s final uplink fragment frees the byte capacity occupied by v in the modeled source queue, while complete downlink reception can update discovery state. More precisely, index the fragments as c1 , c2 , . . . in the order selected for channel service. The symbols r(cn ), b(cn ), f (cn ) represent its service-request, service-start, and service-finish times, respectively. For n ≥ 2, b(cn ) = max{r(cn ), f (cn−1 )}, f (cn ) = b(cn ) + a(cn ).

(6)

Participant backlog and finite source queue Traffic in the source queue or being transmitted remains invisible to the receiver until reception is complete

checks and repairs

Let v denote one generated RTPS/UDP packet, which may contain multiple discovery submessages. Packet v can be divided into IP fragments when required by the configured maximum transmission unit (MTU). Each fragment then follows the configured transmission route, the ordered path from sender to receiver. In the evaluated profile, this path is an uplink from the sender followed by a downlink to the receiver, and the model represents the two transmissions as separate service stages. Let c denote one uplink or downlink fragment transmission waiting for channel service. For such c, B(c) is the transmitted byte count and κ(c) ∈ {u, m} indicates whether the transmission is unicast or multicast. Its wireless service demand is 8B(c) a(c) = Oκ(c) + , (5) Rκ(c)

Discovery-message generation Initial DATA, delivery checks, or Repair SEDP DATA

Shared wireless service Uplink and downlink fragments compete for a(c) Receiver state and reliability timers Complete delivery updates receiver recognition. Timer expiry observes pending metadata

Fig. 3. Closed-Loop discovery service. Channel service controls receiver recognition, while reliability timers return generated checks and repairs to the same service. A reception confirmed init

U

missing

R

repair due

Q

repair sent

S

suppression expires while missing

Fig. 4. Writer-side repair state for one descriptor. Confirmation moves any non-A state to A.

time, source-completion time, and receiver-completion time. Packet v reaches receiver completion only after all of its fragment-transmission stages have completed. Consequently, receiver state remains unchanged while a packet is queued or only partially transmitted. C. Receiver State and Closed-Loop Evolution For each directed participant pair (i, j), the receiver states are (s) (s) Pij (t), Rij (t), Xij,d (t) ∈ {0, 1}. (7) The value Pij (t) = 1 means that participant j has processed (s) participant i’s SPDP announcement. Rij (t) = 1 means that (s) their type-s SEDP relation is open, and Xij,d (t) = 1 means that j has processed the metadata describing i’s type-s endpoint indexed by d. An open relation means that the corresponding SEDP writer and reader can begin exchanging discovery DATA and control messages. All three states start at zero. We omit (t) when the current event time is clear. The corresponding sender state is

The first fragment uses the channel-availability time in place of f (cn−1 ). A downstream fragment becomes eligible only after its preceding route stage finishes. Thus, an infrastructure-link transmission is represented by an uplink service followed by the required downlink service, while another wireless technology (s) can supply a different ordered route. Cij,d (t) ∈ {U, R, Q, S, A}. (8) For participant i, let Wi be the finite source-queue capacity (s) and Ii (t) its admitted bytes. Generated packets wait in a Sender state Cij,d distinguishes an unacknowledged descriptor first-in, first-out participant backlog until their byte demand (U), a repair request (R), queued repair generation (Q), sent fits within Wi − Ii (t). The demand is released when the final Repair SEDP DATA (S), and acknowledgment (A). After source-side fragment completes. This admission rule preserves sending Repair SEDP DATA, the sender waits before it may traffic that temporarily exceeds the source queue as delay generate another repair for the same descriptor. This waiting instead of prematurely declaring it delivered or discarded. period is called suppression. For packet v, the model therefore distinguishes its generation Fig. 4 summarizes the sender-side repair state.

Every descriptor starts in U. An ACKNACK that reports it missing moves it to R. Repair preparation moves it to Q. Completion of repair source transmission moves it to S, and suppression expiration returns a still-missing descriptor to U. An ACKNACK that confirms delivery moves any non-A state to A. A single time-ordered event queue holds message-generation, source-completion, complete-reception, and timer-expiration events. Each pending entry has the form (e, t), where e specifies what happens and t gives its scheduled processing time. Let En denote all entries awaiting processing immediately before step n. Executing the entry selected at this step may schedule zero or more additional entries, whose set is denoted by ∆En . The queue update is

following events are added if at least one descriptor remains unacknowledged: (HBgen , t),

(HBexp , t + τH ) ∈ ∆En .

Neither event is added if all its descriptors are acknowledged. • HEARTBEAT reception. When participant j completely receives a HEARTBEAT from participant i’s type-s SEDP writer at time t, the model adds (ACKgen j→i,s , t + τA ). At (s) its scheduled time, this event stores rij (t + τA ) in the ACKNACK. Once generated, its bitmap does not change. • ACKNACK reception. When participant i’s type-s SEDP writer receives participant j’s ACKNACK with a nonempty bitmap at time t, each newly requested de(en , tn ) = min En , ≺ (s) (9) scriptor changes as Cij,d : U → R, and the model En+1 = (En \ {(en , tn )}) ∪ ∆En , gen adds (DATA , t + τN ). That event moves the requested descriptors from R to Q and generates their Repair SEDP where the pending entry (en , tn ) is selected according to DATA, which enters the backlog and wireless service used the ordering ≺. After it is removed from En , every newly by Initial SEDP DATA. scheduled entry in ∆En is inserted to form En+1 . The ordering Repair delivery. Completion of the final uplink fragment of • gives priority to the earliest timestamp. If message reception Repair SEDP DATA sent from participant i to participant j completes exactly when the protocol is scheduled to check (s) at time t changes Cij,d : Q → S and adds the suppressiondelivery or decide on repair, reception updates receiver state expiration event (SUPijs , t + τS ). Complete reception by before that decision is made. Wireless service begins after (s) every event scheduled for that time has been processed. Any participant j changes Xij,d : 0 → 1. remaining simultaneous events follow their insertion order. • Post-repair wait expiration. When SUPijs occurs at time (s) Five protocol timers determine when announcements, replies, t, every still-unacknowledged descriptor returns as Cij,d : exp repairs, and repeated delivery checks may occur: S → U. If at least one descriptor returns to U, (HB , t+ τH ) is added to check its delivery again. τA : HEARTBEAT response delay, Only complete receiver delivery updates P , R, or X, so an τN : negative acknowledgment (NACK) response delay, earlier timer expiration can generate traffic from the preceding τS : NACK suppression duration, receiver state. τH : HEARTBEAT period, For example, consider an Initial SEDP DATA message carrying descriptor d. If it remains queued when a HEARTBEAT τP : SPDP resend period. (s) reaches participant j, then Xij,d = 0, and j’s ACKNACK These configured delays and the same-time sequence yield one snapshots d as missing. The bitmap does not change after the deterministic trajectory for a fixed deployment, DDS profile, ACKNACK is generated. Even if the initial DATA subsequently and wireless-service profile. reaches j, the ACKNACK generated before that delivery can Six rules close the feedback loop. Here, DATA denotes still cause participant i to prepare Repair SEDP DATA. That SEDP DATA, gen creates a message at its sender, and exp repair reenters the same backlog and competes with the remarks timer expiration. The direction j → i identifies an maining descriptors, potentially delaying more receiver updates ACKNACK sender and receiver. Finally, SUPijs denotes beyond later timer expirations. A later clean ACKNACK moves suppression expiration: it ends the wait after Repair SEDP C (s) to A and ends this repair path. ij,d DATA is sent, during which another repair for the same D. Model Outputs descriptor is not generated. The ACKNACK bitmap (s)

(s)

rij (t) = {d : Xij,d (t) = 0}. lists the endpoint metadata that j has not processed at time t. An empty bitmap reports no missing metadata. • SPDP reception. When participant j completely receives participant i’s SPDP announcement at time t, the model (s) sets Pij = 1 and Rij = 1 for s ∈ {pub, sub}, then adds the relation-opening events specified by the DDS profile. exp • HEARTBEAT-timer expiration. When (HB , t) is processed for participant i’s type-s reliable writer, the

Discovery finishes when every required receiver has processed every descriptor advertised by a participant on a different host:   ^ (s) Complete(t) ≡ Xij,d (t) = 1 , (i,j)∈R s∈{pub,sub} 0≤d<Di,s

(10)

Tdisc = min{t : Complete(t)}. Before Tdisc , the model counts each generated logical message in Minit , Mrepair , MHB , MACK , MSPDP,m , or

TABLE III E VALUATION P ROFILE S UPPLIED TO THE M ODEL Component

Evaluated value or behavior

Wireless service

IEEE 802.11n, Rm = 6 Mbps, Ru ≈ 144.4 Mbps

ROS 2 descriptors

ROS = 9 and D ROS = 8 per default node, Dpub sub then one 460-B descriptor per user endpoint

SPDP schedule

Immediate transmission, five 100-ms startup callbacks, then period τP = 3 s

Fast DDS SEDP timers

Initial ACKNACK delay τI = 70 ms, τH = 1 s, τA = 10 µs, and τN = 100 µs

Fast DDS triggers

First-recognition SPDP resend, relation-open HEARTBEAT, Initial ACKNACK, and bytethreshold piggyback HEARTBEAT

MSPDP,u , according to its message category. The first generated occurrence of descriptor (i, j, s, d) is counted as initial DATA, and every later occurrence is counted as repair DATA. The total message count is the sum of these six categories. A message is counted when it is generated, even if it remains queued or in transmission at Tdisc . IV. E XPERIMENTAL E VALUATION A. Experimental Methodology 1) Testbed and Wireless Configuration: The evaluation instantiates the wireless-service component with two identical hosts connected through an infrastructure IEEE 802.11n link. This two-host setup holds the physical deployment fixed while varying participant and endpoint density, revealing how logical discovery load activates feedback over the shared medium. Wi-Fi provides a controlled shared-medium setting in which discovery uplink and AP downlink traffic contend for the same service resource. The evaluation profile uses a multicast rate of 6 Mbps and a unicast rate of approximately 144.4 Mbps. A separate master host coordinates run start times, while packet capture and discovery execution occur on the two wireless hosts. The evaluated Wi-Fi profile specifies the uplink–downlink route, channel-access overheads, transmission rates, and fragment-service order. The receiver state, reliability timers, and message-generation rules in Section III remain applicable when a different wireless technology is adopted. Such a network requires its own route, admission, scheduling, and service parameters in place of the infrastructure Wi-Fi profile. Experimental validation of these alternative service profiles, including mesh and cellular robotic networks, remains as future work. 2) DDS Instantiation: This subsection instantiates the general model inputs with the ROS 2 and Fast DDS configuration used in the experiments. Table III first summarizes the resulting evaluation profile. We then explain how its entries determine the discovery workload and protocol events. The experiments use ROS 2 with Fast DDS 2.6.11. A default ROS 2 node contributes ROS Dpub = 9,

ROS Dsub = 8.

The evaluated workload adds NE application endpoints, so the descriptor count used in Section III-A satisfies ROS ROS Dpub + Dsub = Dpub + Dsub + NE = 17 + NE .

Each participant advertises this many endpoint descriptions. The airtime required to advertise these descriptors depends on their size. Fast DDS includes each endpoint’s topic name, data type, and communication settings in its SEDP DATA, so a UDP packet carrying one default descriptor ranges from 452 to 532 B. Each additional application endpoint uses 460 B in the evaluated configuration. The model uses these sizes when Fast DDS groups endpoint descriptions into packets and computes the resulting fragment sizes B(c). The profile also preserves the implementation behaviors that change traffic generation. Fast DDS sends SPDP announcements by multicast and, after learning another participant’s address, also sends a unicast copy directly to that participant. When an SEDP relation opens at time t, the Fast DDS profile adds (HBgen , t) and, if needed, (HBexp , t + τH ). An Initial ACKNACK is an optional RTPS optimization that Fast DDS implements with an Initial ACKNACK timer. When participant j opens a type-s relation to participant i at time t, the evaluation model adds (ACKexp j→i,s , t + τI ), where τI = 70 ms. If no HEARTBEAT has arrived when this event is processed, j generates an Initial ACKNACK and schedules another attempt with twice the delay. RTPS allows one message to carry multiple submessages [2], and Fast DDS uses this flexibility to append a piggyback HEARTBEAT to outgoing SEDP DATA when the writer reaches its configured byte threshold. Repair DATA share this allowance and the same wireless service as initial DATA. Table III therefore supplies the model with the timer values and optional triggers of the evaluated Fast DDS implementation. The model inputs are fixed before the model-to-observation comparison. Host placement and descriptor counts come from the workload configuration. Descriptor byte sizes come from the serialized Fast DDS discovery metadata, while the reliability timers and message-generation triggers come from the Fast DDS profile. The physical-layer rates, fragment route, queue rule, and service order come from the evaluated wireless profile. Measured completion times and message counts are then used to evaluate the resulting model predictions. 3) Workload and Synchronized Runs: The evaluation fixes NH = 2, the smallest cross-host setting, while varying NP ∈ {1, . . . , 6} and NE ∈ {2, 4, . . . , 30}, producing 90 participantendpoint configurations. Each configuration is repeated 15 times. Every participant creates approximately half of its user endpoints as publishers and the remainder as subscribers over application-level topics. Before each run, the hosts synchronize their clocks to the master using chronyc. The master distributes a target time, and both hosts start packet capture and load the workload before that time. At the target, each process begins creating its ROS 2 node and configured endpoints, which starts SPDP and SEDP. Each process polls the ROS middleware (RMW) matched-endpoint counters every millisecond. The first instant

at which all expected matches are visible is the application-level discovery completion time. 4) Trace Processing and Merge: Each host records its transmitted packets, and the two source-side captures are merged by run so that a packet observed at both hosts is not counted twice. The application completion time is the observation cutoff. Because one RTPS/UDP packet can carry several submessages, we count each contained SPDP, SEDP DATA, HEARTBEAT, and ACKNACK separately. SEDP DATA is keyed by source and destination globally unique identifier (GUID) prefixes, SEDP writer entity, and writer sequence number. The first occurrence of a key is initial DATA, and later occurrences are repair DATA. HEARTBEAT and ACKNACK counts are restricted to the reliable SEDP endpoints. Before aggregation, we verify that the merged capture contains at least one SEDP DATA occurrence for every required descriptor key defined in Section III. The reference itself is checked separately against topology-normalized loopback captures in Subsection IV-C. B. Burst and Repair Separation We first separate topology-determined traffic from wireless amplification by comparing loopback, Ethernet, and Wi-Fi over the evaluated configuration range. Fig. 5 reports total discovery submessages and ACKNACKs for these three environments. The loopback measurements follow the model’s firsttransmission reference across all 90 configurations, and Ethernet shows the same failure-free trend. Their totals therefore provide a failure-free reference for each configuration. Relative to this reference, Wi-Fi produces substantial increases in both total and ACKNACK counts as delayed receiver recognition generates additional control traffic. This excess traffic, rather than topology-driven growth alone, is the closed-loop signature of a discovery storm.

TABLE IV E MPIRICAL U PPER -R ANGE B EHAVIOR BY PARTICIPANT C OUNT Scope

Top.

Runs

Quantity

Cov.

Med. M/O [IQR]

NP = 1

15

225

Completion Messages

5.8% 28.4%

1.35 [1.28, 1.40] 1.34 [1.14, 1.36]

NP = 2

15

225

Completion Messages

64.4% 94.2%

1.51 [1.26, 2.66] 2.24 [1.61, 2.98]

NP = 3

15

225

Completion Messages

80.9% 99.1%

2.70 [1.72, 3.94] 2.47 [1.77, 3.29]

NP = 4

15

225

Completion Messages

75.1% 97.8%

1.75 [1.38, 2.71] 1.98 [1.57, 2.68]

NP = 5

15

225

Completion Messages

85.8% 95.6%

1.77 [1.40, 2.50] 1.74 [1.38, 2.20]

NP = 6

15

225

Completion Messages

96.0% 90.2%

2.14 [1.68, 2.84] 1.58 [1.27, 1.98]

All

90

1,350

Completion Messages

68.0% 84.2%

1.96 [1.44, 2.93] 1.85 [1.40, 2.63]

High load

18

270

Completion Messages

90.7% 90.4%

1.98 [1.52, 2.73] 1.56 [1.29, 2.07]

Each NP scope contains 225 runs over 15 values of NE . High load denotes NP ≥ 4 and NE ≥ 20. Coverage is the fraction satisfying O ≤ M . Med. M/O [IQR] gives the median and interquartile range among covered runs.

Initial and Repair SEDP DATA, HEARTBEAT, and ACKNACK counts are multiplied by cpair , while SPDP multicast and unicast counts are multiplied by cSPDP . Loopback runs contain some Repair SEDP DATA in 48 configurations, showing that retransmissions can occur even without wireless delivery. Fig. 6 compares application-level wireless discovery completion with the open-loop airtime and closed-loop models under the Section III zero middleware-to-application propagationdelay assumption. Across the 18 high-load configurations, the open-loop airtime model predicts a median 17.1% of the observed topology mean (IQR 15.7%–18.4%), missing the sharp increase. The closed-loop model captures this increase through feedback from delayed recognition to additional check and repair traffic.

C. Wireless Completion Scaling To evaluate the model’s first-transmission delivery reference with negligible network loss, we use loopback captures. D. Model Fit by Message Class Loopback places all participants on one host, so its number of For the failure-free reference, the topology-normalized participant relations differs from that of the evaluated multihost topology. Each participant in a topology with NH hosts loopback measurements have a mean absolute percentage and NP participants per host must discover (NH −1)NP cross- error (MAPE) of 0.82% for total submessages. The messagehost peers. Here, peers are the other participants that must be class MAPEs are 0.33%, 0.68%, 4.14%, and 8.17% for SPDP discovered. They exclude the participant itself. Let lP be the multicast, SPDP unicast, HEARTBEAT, and ACKNACK, number of participants in one loopback run. Matching the peer respectively. Table IV reports the model’s upper-range behavior for the count gives lP = (NH − 1)NP + 1. For the evaluated NH = 2, NP = 5 therefore gives lP = 6. SEDP DATA, HEARTBEAT, wireless runs. Let O denote the value observed in one run and and ACKNACK counts scale with directed participant pairs: M the corresponding model prediction. Coverage is the fraction NH (NH − 1)NP2 in the multi-host topology and lP (lP − 1) in of runs satisfying O ≤ M . For covered runs, the model-toloopback. Under the evaluated Fast DDS startup profile, SPDP observation ratio M/O quantifies the remaining margin, with counts scale with the square of the participant population, 1 denoting equality. At low load, omitted middleware processing, polling, and giving (NH NP )2 and lP2 , respectively. The ratios give contention-independent losses can dominate. Shared-airtime 2 NH (NH − 1)NP NH NP feedback instead dominates the targeted high-load region cpair = = , lP (lP − 1) (NH − 1)NP + 1 (N P ≥ 4 and NE ≥ 20). Table IV shows respective coverage  2 (11) 2 NH NP NH NP2 of 90.7% and 90.4% for completion time and total messages, cSPDP = = 2. lP with median covered-run M/O ratios of 1.98 and 1.56. (NH − 1)NP + 1

Loopback

Ethernet

Wi-Fi

Fig. 5. Total discovery submessages (top row) and ACKNACKs (bottom row) for loopback, Ethernet, and Wi-Fi. Loopback and Ethernet use the same vertical scale in each row. In the Wi-Fi panels, the blue line connects configuration means.

preceding fragment to the receiver. FIFO-Uplink chooses the sender-to-AP transmission, while FIFO-Downlink chooses the AP-to-receiver transmission. Under Datagram-Uplink, the AP receives all uplink fragments of a packet before forwarding any of them on the downlink. Across 90 configurations, the median and maximum completion-time spreads are 0.43% and 5.53%. Total messages vary by at most 1.95%, and each recoverymessage class varies by at most 3.26%. The small spreads show that the reported trends are insensitive to the choice among the three tested ordering policies. E. Model-Guided HEARTBEAT Adaptation

Fig. 6. Wireless discovery completion versus workload. Points show application proxy-match timestamps, and blue connects configuration means. The gray dashed line adapts the open-loop airtime model [3] to the fixed first-transmission traffic, while red shows closed-loop SEDP first-recognition completion.

Instantaneous startup and per-fragment overhead can contribute to this upper-range tendency. In experiments, endpoint creation is staggered under OS scheduling, and 802.11n A-MPDU aggregation can reduce effective per-frame overhead. The model therefore provides conservative upper-range estimates in the storm regime. Repair SEDP DATA is the most sensitive metric because packet capture cannot identify whether each duplicate was caused by radio-frequency (RF) failure, queue delay, reordering, or late receiver processing. We therefore report retransmission fit as diagnostic evidence, not as a direct estimate of physical packet loss. We evaluate how the AP decides which transmission goes first when the sender is ready to send the next fragment of a packet at the same time that the AP is ready to forward the

The message-class decomposition identifies periodic HEARTBEAT timing as a tunable source of wireless contention. Because the default interval does not reflect reader responses, HEARTBEATs can contend with pending SEDP DATA during a storm. We test a response-aware schedule to mitigate this effect, consistent with the broader observation that periodic network processes can synchronize and concentrate shared load [11]. The adaptation changes only periodic HEARTBEATs from the Fast DDS stateful SEDP writers, retaining the default relation-open, ACKNACK-triggered, and piggyback paths. At each cycle, the writer sends a periodic HEARTBEAT to the set U of readers that have not acknowledged all advertised DATA and records its highest announced sequence number q. A reader is responsive if its ACKNACK arrives within period T with an empty bitmap and a base greater than q, indicating no missing DATA through q. Let H = |U| count the contacted readers and A the responsive readers. We then set     A T ⋆ λ = max ,ϵ , T = clip , Tmin , Tmax . H λ

Fig. 7. Discovery completion with the default and adaptive HEARTBEAT implementations. Sky-blue circles and orange triangles denote individual baseline and adaptive runs, respectively. The blue and orange lines connect the corresponding per-configuration means. TABLE V T OPOLOGY-BALANCED A DAPTATION S UMMARY BY NP . NP 1 2 3 4 5 6

Completion B/A (s) ∆ (%) 0.147/0.110 0.216/0.135 0.571/0.344 1.689/1.158 3.127/1.991 4.307/2.886

-25.3 -37.8 -39.7 -31.5 -36.3 -33.0

Total messages B/A ∆ (%) 97.7/97.4 537.4/531.5 2315.5/2217.0 7466.1/8152.8 18116.0/21153.4 37939.7/42544.4

-0.4 -1.1 -4.3 +9.2 +16.8 +12.1

B and A denote the baseline and adaptive means, respectively.

Each writer starts with T = 1 s. Table III provides (Tmin , Tmax ) = (0.1, 3.0) s, and ϵ = 0.05 keeps λ positive when A = 0. If A = H before T expires, the next period becomes the elapsed response time. If T expires with A < H, the cycle extends to T ⋆ , pacing HEARTBEATs to unconfirmed readers in batches of ⌈Hλ⌉ until T ⋆ . The period returns to 1 s when no unacknowledged change remains. We compare default and adaptive Fast DDS over the same 90 configurations in Subsection IV-A. This leaves 1,350 observations each for the baseline and adaptive configurations. Fig. 7 shows their individual completion times and configuration means, with mean reductions of 25.3% to 39.7% across participant counts. Table V equally weights the 15 endpoint-count means for each NP after averaging runs by configuration. At NP ≥ 4, total-message counts rise by 9.2% to 16.8%, while completion time falls by 31.5% to 36.3%. Thus, the schedule improves completion by changing when traffic contends with pending discovery DATA, not by consistently reducing its volume.

redundant rebroadcasts, contention, and collisions [12]. DDSspecific techniques reduce initial demand through metadata compression [5], content-based filtering [6], centralized discovery [7], node composition [8], or a compact representation [13]. Across these studies, the primary quantities are initial metadata demand and redundant dissemination traffic. DDS over wireless robotic networks. ROS 2 and DDS have been benchmarked across middleware implementations [14], [15] and multi-node latency paths [16]. DDS has also been studied under multicast load [9], industrial wireless channels [10], lossy autonomous links [17], and ROS 2 swarm deployments [18]. These measurements establish implementation choice, network conditions, and deployment scale as major determinants of performance. Reliability modeling and network adaptation. Formal DDS timing analysis bounds data delivery for Fast DDS [19], while analytical reliability models use an externally specified packet-delivery ratio [4]. Periodic-message studies show how timers can synchronize shared load [11], and networkaware ROS resource management adapts communication using programmable-network information [20]. In these models, delivery conditions enter as timing bounds, specified probabilities, or external network information. Relation to this work. Our model links shared-channel service to the metadata recognized by each receiver, whose state then governs delivery checks and repairs. The resulting traffic reenters the shared channel and changes when the remaining discovery messages arrive. This closed loop connects traffic generation with delivery instead of treating either one as a fixed input.

VI. C ONCLUSIONS AND F UTURE W ORK

This work separates the endpoint information required at startup from the feedback that turns delayed delivery into a discovery storm. The model links shared-channel delivery, receiver-recognized state, and reliability traffic to the resulting metadata delay. A high density of endpoints and discovery relations can activate this feedback even between a robot computer and its control station. Experiments across 90 two-host configurations show that the model tracks configuration-level trends in discovery completion and message overhead while approximating their observed upper range. These results show how delayed delivery amplifies repair and delivery-check traffic beyond the failure-free reference. Response-aware HEARTBEAT pacing reduces mean completion time by 25.3% to 39.7%, even when total traffic increases, showing that recovery timing matters in addition to volume. V. R ELATED W ORK This adaptation is a first mitigation step. We will use the Discovery scaling and reduction. Prior work quantifies model to suppress the feedback loop itself and move wireless the first-transmission SPDP and SEDP burst that precedes discovery toward the failure-free reference. We will also extend a discovery storm [3], whereas our model captures the closed- the model and its validation beyond synchronized homogeneous loop feedback that can stall discovery even between two hosts. startup to asynchronous joins, other DDS implementations, and Wireless broadcast-storm research instead attributes overload to additional wireless networks.

R EFERENCES [1] S. Macenski, T. Foote, B. Gerkey, C. Lalancette, and W. Woodall, “Robot Operating System 2: Design, architecture, and uses in the wild,” Science Robotics, vol. 7, no. 66, p. eabm6074, May 2022. [2] Object Management Group, “The Real-Time Publish-Subscribe Protocol: DDS Interoperability Wire Protocol (DDSI-RTPS), Version 2.5,” Object Management Group, Tech. Rep. formal/22-04-01, Apr. 2022. [Online]. Available: https://www.omg.org/spec/DDSI-RTPS/2.5 [3] S. Lee, Y. Choi, J. Chae, and K.-J. Park, “Discovery Storm: Scalability analysis of DDS and Zenoh in large-scale wireless robotic networks,” in Proceedings of IEEE INFOCOM, May 2026, pp. 1–6. [4] H.-S. Park, S. Lee, D. Um, H. Ryu, and K.-J. Park, “An analytical latency model of the Data Distribution Service in ROS 2,” in Proceedings of IEEE INFOCOM, May 2025, pp. 1–10. [5] J. Sánchez-Monedero, J. Povedano-Molina, J. M. López-Vega, and J. M. López-Soler, “Bloom filter-based discovery protocol for DDS middleware,” Journal of Parallel and Distributed Computing, vol. 71, no. 10, pp. 1305– 1317, Oct. 2011. [6] K. An, A. S. Gokhale, D. C. Schmidt, S. Tambe, P. Pazandak, and G. Pardo-Castellote, “Content-based filtering discovery protocol (CFDP): Scalable and efficient OMG DDS discovery protocol,” in Proceedings of the 8th ACM International Conference on Distributed Event-Based Systems (DEBS), May 2014, pp. 130–141. [7] F. Luo, Y. Ren, Y. Yu, Y. Li, Q. Liu, and X. Zhang, “A centralized discovery-based method for integrating Data Distribution Service and Time-Sensitive Networking for In-Vehicle Networks,” Ad Hoc Networks, vol. 178, p. 103950, Nov. 2025. [8] S. Macenski, A. Soragna, M. Carroll, and Z. Ge, “Impact of ROS 2 node composition in robotic systems,” IEEE Robotics and Automation Letters, vol. 8, no. 7, pp. 3996–4003, Jul. 2023. [9] K. Peeroo, P. Popov, and V. Stankovic, “Exploring the effects of multicast communication on DDS performance,” in Proceedings of the 18th European Dependable Computing Conference (EDCC) Student Forum, Sep. 2022. [10] B. Almadani, M. N. Bajwa, S.-H. Yang, and A.-W. A. Saif, “Performance evaluation of DDS-based middleware over wireless channel for reconfigurable manufacturing systems,” International Journal of Distributed Sensor Networks, vol. 11, no. 7, p. 863123, Jul. 2015. [11] S. Floyd and V. Jacobson, “The synchronization of periodic routing messages,” IEEE/ACM Transactions on Networking, vol. 2, no. 2, pp. 122–136, Apr. 1994. [12] S.-Y. Ni, Y.-C. Tseng, Y.-S. Chen, and J.-P. Sheu, “The broadcast storm problem in a mobile ad hoc network,” Wireless Networks, vol. 8, no. 2–3, pp. 153–167, 2002. [13] W.-P. Nwadiugwu, D.-S. Kim, W. Ejaz, and A. Anpalagan, “MAD-DDS: Memory-efficient automatic discovery Data Distribution Service for largescale distributed control network,” IET Communications, vol. 17, no. 12, pp. 1432–1446, Jul. 2023. [14] Y. Maruyama, S. Kato, and T. Azumi, “Exploring the performance of ROS 2,” in Proceedings of the 13th ACM International Conference on Embedded Software (EMSOFT), Oct. 2016, pp. 1–10. [15] V. Bode, D. Buettner, T. Preclik, C. Trinitis, and M. Schulz, “Systematic analysis of DDS implementations,” in Proceedings of the 24th ACM/IFIP International Middleware Conference, 2023, pp. 234–246. [16] T. Kronauer, J. Pohlmann, M. Matthé, T. Smejkal, and G. Fettweis, “Latency analysis of ROS 2 multi-node systems,” in Proceedings of the 2021 IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems (MFI), Sep. 2021, pp. 1–7. [17] P. Thulasiraman, Y. K. D. Cheng, and B. Allen, “Evaluation of the Data Distribution Service for a lossy autonomous hybrid system,” in Proceedings of the 2022 IEEE International Systems Conference (SysCon), Apr. 2022, pp. 1–8. [18] J.-B. Castillo-Sánchez, E. González-Parada, and J.-M. Cano-Garcı́a, “Swarm robot communications in ROS 2: An experimental study,” IEEE Access, vol. 12, pp. 142 930–142 943, 2024. [19] G. Sciangula, D. Casini, A. Biondi, C. Scordino, and M. Di Natale, “Bounding the data-delivery latency of DDS messages in real-time applications,” in Proceedings of the 35th Euromicro Conference on Real-Time Systems (ECRTS), ser. Leibniz International Proceedings in Informatics, vol. 262, Jul. 2023, pp. 9:1–9:26. [20] G. Szabó, “Toward the automatic network resource management of Robot Operating System in programmable mobile networks,” IEEE Access, vol. 11, pp. 65 934–65 955, 2023.

Related documents

Record · ID 423886 · SHA-256 6a3bc08c61e62a9b
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive