Manuscript Offprint
arXiv:2609.10940Message-Level Scheduling for RLNC-Coded Multi-Source Traffic
Zhaohong Lu*, Qingyu Liu†, Haibo Zeng*
- Dept. of Electrical and Computer Engineering, Virginia Tech, Blacksburg, VA 24060, USA
†Shenzhen Graduate School, School of Electric and Computer Engineering, Peking University, Shenzhen 518055, China
Emails: {zhaohonglu,hbzeng}@vt.edu, qy.liu@pku.edu.cn
Abstract—This paper studies weighted decoding-delay minimization for multiple RLNC-coded message streams that compete for finite processing capacity at a destination. Packet arrivals are exogenous, while the scheduler only determines the processing order of packets already available at the destination. A trace-conditioned offline scheduling formulation shows that a batch-release subclass is strongly NP-hard even with a single processing unit. Message-Aware Innovation-Deficit Scheduling (MAIDS) is then developed to prioritize each serviceable message according to its weight and remaining decoding deficit. For a single processing unit, MAIDS is shown to be exactly optimal under nonblocking progressive arrivals with equal weights and under common activation with arbitrary positive weights, while the unrestricted weighted online problem admits no universal deterministic competitive ratio. Simulation results on streaming and batch benchmarks show that MAIDS consistently reduces weighted decoding delay relative to the tested baselines, remains close to the offline optimum on average, and recovers the predicted exact performance boundaries.
I. INTRODUCTION
Vehicular ad hoc networks (VANETs) support direct vehicle-to-vehicle and vehicle-to-infrastructure communication for safety, cooperative driving, traffic efficiency, and information [1], [2]. Their high mobility, limited communication range, and rapidly varying wireless links lead to frequent topology changes and make stable end-to-end routes difficult to maintain [3]. Broadcast and opportunistic forwarding are therefore natural dissemination mechanisms: information can propagate through whichever relays are available, rather than relying on a persistent source–destination path. These characteristics motivate multi-source packet arrivals at a destination, because packets belonging to the same message may be forwarded through different relays and reach the receiver at different times.
Random linear network coding (RLNC) is well suited to such dissemination. Instead of forwarding only native packets, a node transmits coded combinations of packets from the same message generation, and a destination can recover the message after accumulating the required number of innovative degrees of freedom (DoFs) [4], [5]. Intermediate relays may also recode received packets. Consequently, from the destination's perspective, an upstream packet source may be either the original message generator or a relay, and multiple upstream nodes may simultaneously contribute coded packets for the same message. Different sources may also serve different messages, producing overlapping message streams at the receiver.
Our previous work studied the network-side delay of network-coding-enabled multi-source dissemination, including propagation, relay queueing, path diversity, and congestion effects [6]. That analysis asks how coded packets travel through the network and how network structure determines delivery delay. The present work addresses the complementary problem that begins after reception: once coded packets from several messages have reached the same destination, limited receiver processing capacity can itself become a bottleneck. A destination may therefore hold several unfinished messages simultaneously, even when the upstream network has already delivered useful coded information for all of them. The receiver must decide which available packets to process first in order to reduce message-level decoding delay.
Accordingly, the problem is formulated at the message level, where multiple RLNC-coded messages arrive over time at a destination with finite processing capacity. In each slot, the scheduler determines how the available processing capacity is allocated among coded packets that have already arrived, with the objective of minimizing weighted decoding delay from message activation to successful decoding. The upstream transmission process is outside the scheduler's control: each source serves one current message at a time, repeatedly transmitting coded packets of that message and switching only after completing its assigned transmissions, while different sources may contribute to the same or to different messages. The scheduler cannot select transmitters, alter future packet arrivals, or feed scheduling decisions back upstream. Under the rank-unit abstraction used in this paper, each successfully received coded packet contributes one innovative DoF until the message reaches rank . Thus, the scheduling state is naturally described at the message level by its weight, remaining decoding deficit, and currently available innovative work.
Although VANETs provide the primary motivating example, the theoretical model is intentionally more general. Mobility, forwarding, link losses, and source activity are summarized by an exogenous coded-packet arrival trace at one receiver. The resulting scheduling problem therefore applies to general RLNC-coded multi-source traffic satisfying the same control boundary, rather than to VANETs alone.
This problem differs from both network-side coded-packet scheduling and decoder-internal computation scheduling. Prior work has optimized coding and transmission decisions before reception [7]–[12], whereas our arrival trace is exogenous. Progressive multicore RLNC decoding has also been studied by scheduling Gauss–Jordan operations within a coded generation [13]; our scheduler instead allocates processing service across multiple incomplete messages. The closest classical connection is preemptive weighted scheduling with release times. Ratio-based online policies and WSRPT have been studied for weighted completion objectives [14]–[16], while our decoding-delay objective is a weighted-flow-time objective. This distinction matters because unrestricted online weighted flow time admits no deterministic competitive ratio [17].
The main contributions of this paper are:
-
A general scheduling model is formulated for continuous multi-source RLNC traffic with exogenous packet arrivals, finite processing capacity, and weighted message decoding delay.
-
A finite trace-conditioned offline benchmark is constructed, and a deterministic batch-release subclass is shown to be strongly NP-hard even with one processing unit.
-
Message-Aware Innovation-Deficit Scheduling (MAIDS) is developed to prioritize serviceable messages by weight divided by remaining decoding deficit. For a single processing unit and nonblocking progressive arrivals, MAIDS is exactly optimal for equal weights via SRPT equivalence and for common activation with arbitrary positive weights via Smith's ratio rule. In contrast, the unrestricted weighted online problem has no deterministic competitive guarantee.
The remainder of the paper is organized as follows. Section II introduces the receiver model and formulates the optimization objective, after which Section III establishes the trace-conditioned offline benchmark and its complexity. MAIDS and its performance boundaries are developed in Section IV, with numerical evaluation presented in Section V.
A. Streaming System
Consider a slotted-time system with one focal destination v receiving RLNC-coded traffic from a fixed set of upstream sources . Multiple messages are delivered continuously, and a source may be either an original generator or a relay. The same message may therefore be supplied by more than one source, while different sources may simultaneously carry different messages. Packets received at the beginning of a slot are immediately available for processing in that slot.
For each message, one or more upstream sources may be assigned to generate or forward its coded packets. Once source n is assigned to a message, it repeatedly transmits coded packets for that message until its assigned number of transmissions is completed. The source then becomes available for reassignment to a subsequent message. The packet stream observed at the destination is thus the superposition of transmissions from multiple sources, whose message assignments may evolve over time.
Several source-side constraints govern this process. Each source is assigned to at most one current message at a time, so transmissions of successive messages do not interleave at an individual source. Different sources, however, may concurrently contribute to the same message or to different messages. Source assignment, transmission timing, forwarding, and message rollover are all upstream processes and remain outside the scheduler's control. Once coded packets reach the destination, the scheduler therefore treats the resulting packet-arrival sequence as exogenous; the analytical model does not require a particular stochastic transmission law, while a concrete transmission process is introduced later for the streaming simulations.
This separation allows the traffic seen by the scheduler to be described directly in terms of message activations. Let denote the set of messages whose first coded packet is observed at the destination in slot . For each message , its activation time is
Once activated, message m enters , the set of active not-yet-decoded messages, with generation size and positive weight , and remains there until decoding. Because new messages may be activated before earlier ones complete, multiple unresolved messages can coexist at the destination, including messages served successively by the same upstream source.
B. RLNC Arrivals and Receiver State
The resulting packet arrivals are represented by a message-level decoding state at the destination.
Each message contains source DoFs and requires innovative DoFs for decoding. To focus on scheduling rather than finite-field dependence, a rank-unit abstraction is adopted: every successfully received coded packet contributes one innovative DoF until the message reaches rank , after which additional packets provide no further decoding progress. Coding is confined within a single message generation.
Let denote the set of coded packets of message that become available at the destination at the beginning of slot , possibly aggregated from multiple upstream sources. Because the scheduler does not influence upstream transmission or forwarding, the arrival trace is treated as exogenous. It may therefore reflect source activity, forwarding, mobility, lower-layer access, wireless loss, and other reception effects without requiring those mechanisms to be modeled explicitly.
For an active message , let be the number of innovative DoFs already incorporated before slot-t processing. The corresponding remaining decoding deficit is
Let denote the unprocessed packet buffer carried into slot t. After the new arrivals are included, the available buffer is
Under the rank-unit abstraction, at most the remaining deficit can be usefully processed. Hence the serviceable work of message m in slot t is
with .
C. Receiver Processing and Control Boundary
In each slot, the scheduler allocates finite processing capacity among active messages. Let denote the maximum number of coded packets that can be processed per slot, and let be the number of innovative packets of message processed in slot . A feasible allocation must satisfy
and
Processing packets advances the incorporated rank by the same amount, so the message state evolves according to
Thus is the scheduler's control variable, while message generation, source activity, transmitter identity, packet arrival times, wireless reception, and the parameters , , and C remain outside its control.
D. Message Decoding Delay and Objective
The state and service dynamics above determine when each active message can be decoded. Message m completes in the first slot after which its remaining decoding deficit becomes zero:
The corresponding decoding delay, measured from activation through the completion slot, is
For any finite set S of evaluated messages, the scheduling objective is the total weighted decoding delay
The scheduler operates continuously and requires neither a terminal batch nor knowledge of future arrivals.
Throughout the analysis, coded packets are assumed to be of fixed size, receiver buffering is sufficient, and packet processing is deterministic and homogeneous. For steady-state evaluation, denotes the long-run average innovative-packet workload offered to the receiver, and only the stable regime is considered. Inter-message coding and joint transmitter-receiver scheduling are outside the scope of this work.
III. TRACE-CONDITIONED OFFLINE BENCHMARK AND COMPLEXITY
The operational system contains a continuing message stream, whereas exact offline optimization necessarily considers a finite trace-conditioned instance. Accordingly, a finite set of messages is selected from the stream together with their realized activation times and packet-arrival traces, and the horizon is chosen large enough for all messages in to be feasibly completed. The offline receiver is omniscient with respect to this finite trace, but the control boundary is unchanged: upstream message generation and packet arrivals remain exogenous.
For each , define the cumulative innovative rank made available from its activation through slot as
Under the rank-unit abstraction, is the number of innovative DoFs that have become available at the destination by slot t, capped at the decoding requirement , and is independent of the receiver's later processing order. The selected horizon H is assumed sufficiently long for every evaluated message to be decodable, i.e.,
A. Offline Optimization Formulation
For a newly activated message, the required receiver work is innovative packets. Let denote the number of innovative packets of message processed in slot , and let designate slot as its completion slot. Define
All message-specific constraints below hold for and .
The complete finite trace-conditioned problem is
Constraint (14b) enforces destination-side information availability. Constraint (14c) limits aggregate receiver processing to C coded packets per slot. Constraint (14d) requires every considered message to receive all decoding DoFs. Constraint (14e) assigns one designated completion slot, and (14f) prevents that slot from occurring before all required DoFs have been processed. Because every , an optimal solution places at the earliest feasible completion slot.
The decoding delay recovered from the completion indicator is
For a fixed packet trace, packet identities need not appear explicitly in the mixed-integer program: under the rank-unit abstraction, the cumulative-rank constraint (14b) is sufficient to prevent service from exceeding the innovative information that has actually reached the destination.
This finite formulation is an exact benchmark for a selected stream segment. It does not convert the operational model into a one-shot batch system; MAIDS in Section IV operates directly on the dynamic active set without knowing a terminal horizon.
B. Computational Complexity under Exogenous Packet Availability
The main complexity result keeps the control boundary and the time-varying packet availability of the general model, while removing parallel processing and RLNC uncertainty. Consider the following restricted destination-side availability pattern. For each message m, choose an integer availability slot and a packet set containing exactly innovative coded packets. The value is determined by the upstream packet-generation and delivery process; it is not a receiver decision. Let
set , and fix the receiver processing capacity to
As a result, all innovative packets required by a message become available together at the destination at an exogenous availability time, while different messages may become available at different times. In this restricted construction, the message activation time is . The source generation time and the destination-side availability time need not be the same; the latter is the quantity relevant to scheduling. Once activated, a message may be processed for several slots, interrupted while another available message is processed, and resumed later.
This restricted problem is identical to the classical preemptive single-machine problem
which is strongly NP-hard for arbitrary job weights [14].
Theorem III.1 (Strong NP-hardness with one processing unit). The offline scheduling problem (14) is strongly NP-hard even when C = 1, all arrivals are deterministic, the innovative packets required by each message arrive together according to (16), and processing is lossless and deterministic.
Proof. Take an arbitrary instance of , pmtn| with integer processing times , release dates , and positive weights . For every job , construct one message with
and let contain innovative coded packets. Set .
Beginning in slot , each processed packet of message consumes exactly one unit of service. Because processing may switch between messages at slot boundaries, the scheduler can preempt and later resume any message exactly as the single-machine scheduler can preempt and resume a job. The absolute decoding-completion slot corresponds to the job completion time,
while the decoding delay is . Therefore
The second term is a constant fixed by the instance. Hence minimizing weighted decoding delay is equivalent to minimizing the classical weighted completion-time objective, and the two problems have the same feasibility structure. Since , pmtn| is strongly NP-hard, the restricted problem is strongly NP-hard. The general problem contains this restriction and is therefore strongly NP-hard as well.
The theorem is deliberately stated with C = 1, so the primary hardness result does not rely on parallel processing. It also uses the simple batch-release trace in which all packets of a message become available together; arbitrary packet-by-packet exogenous arrivals only generalize this availability constraint. Two classical boundaries are useful for orientation. With a common availability epoch and C = 1, the problem reduces to Smith's ratio rule, while full initial availability with input-dependent C contains the fully parallel weighted-completion problem of Zhang et al. [18], [19]. The former correspondence is strengthened to progressive nonblocking arrivals in Section IV-D; the latter is a secondary parallel-capacity boundary rather than the main hardness mechanism.
C. Exact Homogeneous Full-Buffer Benchmark
As an analytical reference, suppose all messages have the same requirement , all innovative packets for every message arrive at the beginning of slot 1, and processing is deterministic. Order the weights as .
Proposition III.2 (Exact weighted delay under homogeneous full buffering). Under the assumptions above,
Proof. Completing any j messages requires processing at least jk coded packets, so the jth ordered completion time of every schedule is at least . Pairing the largest weights with the smallest attainable completion times gives (22) as a lower bound. A work-conserving schedule that processes messages in non-increasing weight order and uses residual capacity in a completion slot immediately on the next message attains every bound with equality.
The proposition provides an exact reference for homogeneous full-buffer instances. It is not a lower bound for arbitrary heterogeneous requirements or delayed packet arrivals.
IV. ONLINE SCHEDULING FOR THE HETEROGENEOUS PROBLEM
The offline problem requires future packet-availability information and is strongly NP-hard even with a single processing unit under deterministic destination-side packet availabilities. This motivates a tractable online heuristic for the continuous message stream. At each slot, the scheduler uses only information available locally at the receiver: the current dynamic active-message set, decoder rank states, and coded packets already stored in the receiver buffers. MAIDS does not claim global optimality for arbitrary exogenous arrival traces; instead, it uses a residual-work priority and solves the resulting per-slot allocation problem exactly.
A. Residual-Work Priority of MAIDS
At the beginning of slot , after adding the new arrivals, the scheduler computes the buffered innovative availability from (4). Since , is exactly the maximum useful service that message can receive in the current slot. It is determined entirely by packets that have already arrived, so MAIDS schedules realized innovative information rather than predicted future packet contributions.
The weighted decoding-delay objective favors completing important messages early, while heterogeneous messages may require different amounts of remaining receiver work. Motivated by Smith's ratio rule and its preemptive residual-work counterpart WSRPT, MAIDS assigns each unfinished message the residual-work density
A positive priority is actionable only while message remains in the dynamic active set and innovative information is currently buffered, i.e., when and . Therefore MAIDS recomputes (23) every slot over the currently serviceable messages; decoded messages leave the set and newly observed messages enter it online.
The ratio in (23) should be interpreted as a scheduling heuristic for the general exogenous-arrival problem, not as an exact one-step minimizer of the original finite-horizon objective. Its classical scheduling interpretation becomes exact only in the special cases discussed in Section IV-C.
B. Per-Slot MAIDS Allocation
Given the current priorities and buffered innovative availability, MAIDS solves the per-slot surrogate
Each innovative DoF consumes one identical receiver processing unit, and the objective in (24) is linear. Hence the per-slot problem is solved exactly by sorting the serviceable messages in non-increasing order of and greedily assigning processing units up to . This exactness applies only to (24), not to the original finite-horizon weighted-delay problem. The allocation step requires ordering time, apart from linear-time buffer bookkeeping.
After the counts are chosen, the receiver processes any packets from . Under the rank-unit abstraction, each selected packet contributes one innovative DoF while . Let satisfy
The next-slot receiver buffer is therefore
for messages that remain unfinished; once , message m and any remaining packets associated with it are removed from the active receiver state.
C. Relation to WSRPT and Smith's Rule
The single-processor batch-availability special case of Theorem III.1 gives the clearest classical interpretation of MAIDS. Set , and suppose that all innovative packets required by each message become available together at its destination-side availability time. Once message is available, its remaining receiver work is exactly . MAIDS therefore selects, among currently available unfinished messages, the message with maximum
Under the mapping used in the NP-hardness proof, is the remaining processing time of the corresponding job. Hence MAIDS reduces exactly to the Weighted Shortest Remaining Processing Time (WSRPT) rule for . Batsyna et al. study this WSRPT rule as an efficient heuristic and establish a local optimality property for its ordering [15]. This equivalence does not imply global optimality when availability times differ.
With common full availability and , the same residual-ratio rule starts from and keeps the selected message at increasing priority as its deficit decreases; it therefore recovers Smith's non-increasing order [18].
Algorithm 1: Streaming Message-Aware Innovation-Deficit Scheduling (MAIDS).
1 Input: receiver processing capacity C. 2 State: dynamic active-message set , decoder ranks , and receiver buffers . 3 Initialize . 4 for do 5 // Observe the exogenous message/packet stream 6 Observe newly received packet sets and newly observed message identities . 7 for each do 8 Initialize and . 9 Add m to the active set . 10 end 11 Set for every . 12 // Compute current serviceable states 13 for each do 14 Compute . 15 Compute from (4). 16 if and then 17 18 else 19 20 end 19 end 20 // Allocate receiver processing capacity 21 Sort serviceable messages by non-increasing . 22 Greedily allocate at most C processing units, with for each active message. 23 // Select packets and update message states 24 for each do 25 Select any with . 26 Set . 27 Update using (26). 28 if then 29 Set and . 30 Remove m and its remaining buffered packets from the next-slot active state. 31 end 32 end 33 Carry all remaining unfinished messages into . 34 end
The formal result in Section IV-D extends this intuition to progressive nonblocking arrivals. Under full availability and , the rule is also consistent with the fully parallel residual-ratio packing interpretation [19]; when all , it attains the homogeneous benchmark in Proposition III.2.
Under general packet-by-packet exogenous arrivals, these classical relations no longer characterize the global optimum. MAIDS instead recomputes the residual-work ratio only over messages with currently buffered innovative information, so a high-priority message cannot consume processing service before its coded information has actually arrived.
D. Performance Boundaries of MAIDS
The preceding classical correspondences identify two sources of online difficulty in the general problem: heterogeneous message priorities and progressive packet availability. The following three boundary results separate cases in which MAIDS is exactly optimal from the unrestricted weighted online regime, where no constant competitive guarantee is possible for any deterministic scheduler.
The first condition identifies progressive arrival traces that do not starve a single-unit receiver.
Definition IV.1 (Nonblocking arrival trace). For , a finite trace is nonblocking if, for every message and every slot ,
Thus, from activation onward, innovative information for message m arrives at least as fast as a unit-rate processor could continuously process that message. This condition allows progressive arrivals and is strictly weaker than requiring all packets to be available at activation.
Theorem IV.2 (Equal-weight optimality). Consider a finite trace-conditioned instance with , a nonblocking arrival trace, and equal positive message weights for all . Then MAIDS minimizes the total decoding delay .
Proof. At the beginning of slot , any unfinished message has received at most one unit of service in each earlier slot since its activation, and hence . If , condition (28) gives ; if , it gives for every unfinished . Therefore every active unfinished message has at least one useful packet available whenever it could be selected, so packet availability never restricts the single-unit scheduling decision.
The resulting problem is equivalent to preemptive single-machine scheduling with release epoch , processing requirement , and equal weights. Since , MAIDS selects the message with the smallest remaining processing requirement and therefore coincides with the Shortest Remaining Processing Time (SRPT) discipline. SRPT minimizes total flow/completion time with release dates under preemption [20]. Identifying the classical completion epoch with gives , so the same schedule minimizes .
Corollary IV.3 (Common-activation weighted optimality). Consider and a nonblocking arrival trace. If all messages have a common activation time but may have arbitrary positive weights, then MAIDS is optimal and completes messages in non-increasing order.
Proof. By Definition IV.1, packet availability never blocks an unfinished message. At the common activation time, MAIDS orders messages by . Once a message is selected, each unit of service decreases while leaving every unserved message's deficit unchanged. Hence can only increase relative to the ratios of the other waiting messages, so MAIDS continues serving until completion. The resulting nonpreemptive completion order is therefore non-increasing , which is Smith's optimal ratio rule [18]. Full initial availability is a special case of the nonblocking condition, so this corollary extends the full-availability Smith-rule interpretation in Section IV-C to progressive arrivals.
The preceding results are exact positive boundaries. The next result shows why a universal constant competitive ratio should not be expected once arbitrary weights and arbitrary online activations are allowed.
Proposition IV.4 (No constant deterministic competitive ratio). For the unrestricted weighted online problem with C = 1, no deterministic scheduling policy has an competitive ratio for total weighted decoding delay, even in the special case where all required packets of each message are available at its activation time.
Proof. Consider the classical online preemptive single-machine weighted-flow- time problem. For each job j with release time , processing requirement , and weight , construct a message with , , and , and make all packets available at the beginning of slot . One unit of service then corresponds exactly to one unit of preemptive machine processing. If the message completes in slot , identify the classical completion epoch with . Its decoding delay is
which is exactly the classical flow time. Thus any deterministic -competitive scheduler for this special case would imply a deterministic -competitive algorithm for online preemptive single-machine weighted flow time. Bansal and Chan proved an lower bound on the competitive ratio of every deterministic online algorithm for that problem [17], yielding the claim.
Proposition IV.4 is a boundary for the entire online problem rather than a limitation specific to MAIDS. Together with Theorem IV.2 and Corollary IV.3, it identifies a clear frontier: MAIDS is exactly optimal when either equal weights reduce its priority to SRPT under nonblocking arrivals or common activation reduces it to Smith's ratio rule, whereas the fully heterogeneous online weighted-delay problem does not admit a universal constant competitive guarantee for any deterministic policy.
V. SIMULATION RESULTS
The evaluation consists of three complementary parts. First, the general streaming experiment tests the online scheduler under exogenous packet-by-packet arrivals against two online baselines. Second, the finite batch-release experiment instantiates the NP-hard special case of Section III-B and compares MAIDS with WSRPT and the exact offline solution of (14). Third, the performance-boundary validation checks two exact regimes from Section IV-D: an equal-weight nonblocking progressive-arrival regime, where MAIDS should coincide with SRPT, and a common-full-availability regime, which is the full-buffer endpoint of the common-activation weighted boundary and should coincide with Smith/WSPT. The impossibility boundary of Proposition IV.4 is a worst-case analytical statement and is therefore not treated as a Monte Carlo validation.
A. Simulation Setup
All simulations are slot-based and preserve the control boundary of Section II. The upstream process first generates an exogenous coded-packet arrival trace; the same realized trace is then replayed under all policies being compared. Hence a scheduling decision can change only the order in which already-arrived packets are processed and cannot change future packet arrivals. The rank-unit abstraction is retained, so every successfully received coded packet contributes one innovative DoF until its message reaches rank . This isolates scheduling from finite-field dependence and makes the simulated service unit identical to that in (5).
For a completed message cohort C, the reported performance metric is the weighted mean decoding delay
This is the normalized form of the objective in (10); it keeps results comparable across random traces containing different numbers and mixtures of messages.
Table I summarizes the main parameters. For streaming, is the long-run innovative-packet workload offered to the receiver, normalized by processing capacity, and is varied from 0.40 to 0.95 in steps of 0.05; hence all steady-state experiments satisfy . For the finite batch and common-full benchmarks, the same numerical grid is denoted by only as a normalized workload-control parameter, not as a steady-state offered load. New-message requests follow a Poisson process with
so increasing increases the number of overlapping messages without increasing the packet-generation speed of an already active message. Each source assigned to a message independently emits its next coded packet with probability in each slot. A source remains locked to its current message until its assigned packet quota is exhausted, after which it may support a later message. Thus packets of successive messages do not interleave at an individual source, while a single message may simultaneously receive packets from multiple sources.
Across all streaming settings, the mean realized differs from the target value by at most 0.0132. The selected streaming parameters also keep the nominal packet workload below the aggregate source transmission opportunity : the largest target workload is packets/slot, whereas is the aggregate expected transmission rate when all sources are active.
For streaming, a trial contains a 5000-slot warm-up, a 15000-slot measurement interval, and a 15000-slot guard interval. The metric in (30) is computed for messages activated during the measurement interval; the guard interval allows those messages to finish without truncating their delays. Within a fixed trial and load, MAIDS and all baselines use exactly the same exogenous arrival trace.
TABLE I SIMULATION PARAMETERS
| Parameter | Value |
|---|---|
| General streaming | |
| Receiver capacity | packets/slot |
| Normalized load | 0.40 : 0.05 : 0.95 |
| Message weights | , uniform |
| Upstream sources | 12 |
| Generation size | |
| Support size | |
| (0.50, 0.35, 0.15) | |
| Per-source send probability | 0.5 |
| Warm-up / measurement / guard | 5000/15000/15000 slots |
| Monte Carlo trials | 96 per |
| NP-hard batch release | |
| Receiver capacity | packets/slot |
| Workload parameter | 0.40 : 0.05 : 0.95 |
| Message weights | , uniform |
| Messages per instance | 8 |
| Generation size | |
| Release-window fraction | 0.35 |
| Monte Carlo trials | 16 per |
| Exact MILP time limit | 30 s per instance |
| Equal-weight nonblocking boundary | |
| Receiver capacity / messages | |
| Message weights | |
| Generation size | |
| Activation time | |
| Packet availability | one packet/slot from |
| Random instances | 500 |
| Common full availability | |
| Receiver capacity / messages | |
| Workload parameter | 0.40 : 0.05 : 0.95 |
| Message weights | , uniform |
| Reference horizon | 24 slots |
| Monte Carlo trials | 40 per value |
The positive performance boundaries use finite instances. In the equal-weight case, the parameters in Table I are combined with one progressive arrival per slot from activation until completion of the message's arrivals:
Thus and the nonblocking condition holds with equality. The common-full validation instead makes all required packets available at slot 1 and compares MAIDS with Smith/WSPT.
B. General Streaming Performance
MAIDS is compared with two online baselines. Static-WSPT uses the fixed index throughout the lifetime of message , whereas Weight-only uses and ignores message size and remaining work. MAIDS instead recomputes every slot and therefore adapts its priority as a message approaches decoding.
Fig. 1 shows the weighted mean decoding delay for , and 4. In all three cases, delay increases with as more messages overlap and compete for the finite processing budget. MAIDS consistently yields the smallest delay among the three online policies. Because all policies replay the same trace within each trial, paired 95% confidence intervals are computed for the baseline-minus-MAIDS delay differences over the 96 trials at each setting. The intervals are strictly positive at all 36 tested settings for both baselines. The smallest separation occurs at and : the mean Static-WSPT–MAIDS difference is 0.0853 slots with a 95% confidence interval of [0.0756, 0.0951], while the corresponding Weight-only–MAIDS difference is 0.0961 slots with a 95% confidence interval of [0.0853, 0.1069]. At light load,

(a)

(b)

(c)
Fig. 1. General streaming performance under exogenous coded-packet arrivals.
the policies are relatively close because receiver contention is limited. The separation becomes more pronounced as approaches one, where completion order has a larger effect on queueing and decoding delay.
The behavior across C also illustrates the role of receiver capacity. For C = 4, the three policies remain close over a wider low-load region because multiple buffered packets can be processed in the same slot. Once the load becomes high, however, the curves separate again and MAIDS retains the lowest delay. These results indicate that the dynamic residual-work term in is most useful when several heterogeneous messages are simultaneously serviceable and the receiver must decide which nearly completed messages should receive scarce processing capacity first.
C. NP-Hard Batch-Release Benchmark
The NP-hard benchmark evaluates MAIDS on finite batch-release instances derived from the construction in Section III-B. Each instance contains messages with and weights drawn from . For a realized total workload
and finite workload-control parameter , the reference horizon is defined as
Here controls release-window compression for this finite instance; unlike streaming , it is not interpreted as a steady-state offered load. All packets of message become available together at a random destination-side release time
The same realization is reused across x values within a Monte Carlo trial, while changing x changes the release window and therefore the amount of scheduling overlap.
For every instance, MAIDS, WSRPT, and the exact offline optimum obtained from the mixed-integer formulation are evaluated. For C = 1, the batch-availability model makes exactly equal to the remaining processing time, so MAIDS is classical WSRPT as established in Section IV-C. For C > 1, the plotted WSRPT curve denotes the natural capacity-C extension that applies the same weighted-shortest-remaining-work ratio and allocates up to C units per slot. Consequently, in the batch experiments it uses exactly the same per-slot ordering as MAIDS. Numerically, the maximum absolute difference between the MAIDS and WSRPT objectives over all evaluated batch instances is zero. Accordingly, the WSRPT curve is completely superimposed on the MAIDS curve in all three panels of Fig. 2.
Fig. 2 compares the resulting delays with Exact OPT. For C = 1, the three curves are nearly indistinguishable, although WSRPT/MAIDS is not globally optimal when release times
NP-hard Batch Release, C = 1

(a) C = 1
NP-hard Batch Release, C = 2

(b) C = 2
NP-hard Batch Release, C = 4

(c) C = 4
Fig. 2. NP-hard batch-release benchmark.
differ. The difference remains small on average for C = 2, while a more visible separation from the offline optimum appears for C = 4. The exact benchmark exploits complete future knowledge of all message release times, whereas MAIDS remains an online local policy.
To quantify differences that are difficult to see in the absolute-delay plots, define the paired-instance relative opti-
TABLE II RELATIVE OPTIMALITY GAP OF MAIDS ON NP-HARD BATCH INSTANCES
| C | Mean gap (%) | Maximum gap (%) | MAIDS-optimal instances (%) |
|---|---|---|---|
| 1 | 0.098 | 3.723 | 91.67 |
| 2 | 0.409 | 5.861 | 77.60 |
| 4 | 1.862 | 16.364 | 50.52 |
mality gap
Because smaller delay is better, indicates an optimal MAIDS schedule and positive is the percentage by which its weighted delay exceeds the offline optimum. Table II aggregates the gap over all 12 values and 16 random instances per value. The mean gap is only for and for . For it increases to , showing that MAIDS remains close to the exact benchmark on average but should not be interpreted as globally optimal. The maximum observed gaps also increase with , reaching for the most difficult evaluated instance. All 576 MILP instances are solved successfully within the 30-s time limit, so every value labeled Exact OPT in this benchmark corresponds to a solved offline optimum. The last column of Table II reports the fraction of instances on which MAIDS itself attains that optimum.
D. Performance Boundary Validation
The two positive exact boundaries in Section IV-D are validated as implementation-level consistency checks rather than new heuristic comparisons.
-
Equal-weight nonblocking arrivals: Under (32), arrivals are progressive but nonblocking. Across 500 independent instances, MAIDS and SRPT have zero objective difference in every instance, and their complete message completion-time vectors are identical. This matches Theorem IV.2.
-
Common full availability: For the common-full endpoint of Corollary IV.3, 480 heterogeneous instances are evaluated with all required packets available at slot 1. The maximum absolute difference between MAIDS and the Smith/WSPT optimum is 0, recovering the predicted full-availability boundary.
Thus the simulations validate the equal-weight progressive boundary and the full-buffer endpoint of the common-activation boundary. The negative result in Proposition IV.4 is a worst-case impossibility theorem and does not require Monte Carlo validation.
VI. CONCLUSION
This paper studies weighted decoding-delay scheduling for continuous RLNC-coded multi-source traffic with exogenous packet arrivals and finite processing capacity. The trace-conditioned offline problem is strongly NP-hard in a batch-release subclass, while MAIDS provides a tractable online rule based on message weight and remaining decoding deficit. Exact optimality holds in two structured single-unit regimes, whereas the unrestricted weighted online setting admits no universal deterministic competitive guarantee.
Simulation results confirm the predicted exact performance boundaries and show that MAIDS performs favorably against the tested online baselines. Across the finite NP-hard benchmark, MAIDS also remains close to the exact offline optimum on average, supporting its use as a practical scheduler for heterogeneous coded-message streams.
REFERENCES
[1] H. Hartenstein and L. Laberteaux, “A tutorial survey on vehicular ad hoc networks,” IEEE Communications Magazine, vol. 46, no. 6, pp. 164–171, 2008.
[2] G. Karagiannis, O. Altintas, E. Ekici, G. Heijenk, B. Jarupan, K. Lin, and T. Weil, “Vehicular networking: A survey and tutorial on requirements, architectures, challenges, standards and solutions,” IEEE Communications Surveys & Tutorials, vol. 13, no. 4, pp. 584–616, 2011.
[3] J. Blum, A. Eskandarian, and L. Hoffman, “Challenges of intervehicle ad hoc networks,” IEEE Transactions on Intelligent Transportation Systems, vol. 5, no. 4, pp. 347–351, 2004.
[4] T. Ho, M. Médard, R. Koetter, D. R. Karger, M. Effros, J. Shi, and B. Leong, “A random linear network coding approach to multicast,” IEEE Transactions on Information Theory, vol. 52, no. 10, pp. 4413–4430, 2006.
[5] S. Chachulski, M. Jennings, S. Katti, and D. Katabi, “Trading structure for randomness in wireless opportunistic routing,” in Proceedings of the ACM SIGCOMM 2007 Conference on Applications, Technologies, Architectures, and Protocols for Computer Communications, 2007, pp. 169–180.
[6] Z. Lu, Q. Liu, and H. Zeng, “Theoretical delay analysis of network coding enabled m-to-n broadcasting in ad-hoc networks,” 2026. [Online]. Available: https://arxiv.org/abs/2503.03341
[7] A. Eryilmaz, A. Ozdaglar, M. Médard, and E. Ahmed, “On the delay and throughput gains of coding in unreliable networks,” IEEE Transactions on Information Theory, vol. 54, no. 12, pp. 5511–5524, 2008.
[8] S. Huang, E. Izquierdo, and P. Hao, “Distributed bandwidth-efficient packet scheduling for live streaming with network coding,” in Proceedings of the 23rd ACM International Conference on Multimedia, 2015, pp. 1035–1038.
[9] A. Garcia-Saavedra, M. Karzand, and D. J. Leith, “Low delay random linear coding and scheduling over multiple interfaces,” IEEE Transactions on Mobile Computing, vol. 16, no. 11, pp. 3100–3114, 2017.
[10] E. Skevakis, I. Lambadaris, and H. Halabian, “Scheduling for optimal file-transfer delay using chunked random linear network coding broadcast,” ACM Transactions on Modeling and Performance Evaluation of Computing Systems, vol. 4, no. 3, pp. 17:1–17:31, 2019.
[11] S. Wang, S. Lu, and Q. Zhang, “Instantly decodable network coding-assisted data dissemination for prioritized services in vehicular ad hoc networks,” International Journal of Distributed Sensor Networks, vol. 15, no. 4, p. 1550147719842137, 2019.
[12] E. Tasdemir, C. Lehmann, D. Nophut, F. Gabriel, and F. H. P. Fitzek, "Vehicle platooning: Sliding window RLNC for low latency and high resilience," in 2020 IEEE International Conference on Communications Workshops (ICC Workshops), 2020, pp. 1–6.
[13] S. Wunderlich, F. H. P. Fitzek, and M. Reisslein, “Progressive multicore rlnc decoding with online dag scheduling,” IEEE Access, vol. 7, pp. 161 184–161 200, 2019.
[14] A. S. Schulz and M. Skutella, “The power of -points in preemptive single machine scheduling,” Journal of Scheduling, vol. 5, no. 2, pp. 121–133, 2002. [Online]. Available: https://onlinelibrary.wiley.com/doi/abs/10.1002/jos.93
[15] M. Batsyn, B. Goldengorin, P. M. Pardalos, and P. Sukhov, “Online heuristic for the preemptive single machine scheduling problem of minimizing the total weighted completion time,” Optimization Methods and Software, vol. 29, no. 5, pp. 955–963, 2014.
[16] B. Xiong and C. Chung, “Completion time scheduling and the wsrpt algorithm,” in Combinatorial Optimization: Second International Symposium, ISCO 2012, Revised Selected Papers, ser. Lecture Notes in Computer Science, vol. 7422. Springer, 2012, pp. 416–426.
[17] N. Bansal and H.-L. Chan, “Weighted flow time does not admit o(1)-competitive algorithms,” in Proceedings of the Twentieth Annual ACM-SIAM Symposium on Discrete Algorithms, 2009, pp. 1238–1244.
[18] W. E. Smith, “Various optimizers for single-stage production,” Naval Research Logistics Quarterly, vol. 3, no. 1–2, pp. 59–66, 1956.
[19] Q. Zhang, W. Wu, and M. Li, “Minimizing the total weighted completion time of fully parallel jobs with integer parallel units,” Theoretical Computer Science, vol. 507, pp. 34–40, 2013.
[20] L. Schrage, “A proof of the optimality of the shortest remaining processing time discipline,” Operations Research, vol. 16, no. 3, pp. 687–690, 1968.