Skip to content

Proposal: Probabilistic Flood Forwarding for Advertisement Packets #1223

@ViezeVingertjes

Description

@ViezeVingertjes

Large mesh networks experience severe congestion from advertisement floods. Every node broadcasts advertisements periodically (every 6-12 hours), and with traditional flooding, these propagate through the entire network with 100% forwarding probability at every hop.

Proposed Solution

Implement hop-based probabilistic forwarding for flood advertisement packets. Forwarding probability decreases exponentially with hop count, dramatically reducing redundant transmissions while maintaining good network coverage.

Formula: P(h) = 0.308^(h-1) where h = hop count

Results

Based on genetic algorithm optimization across realistic network sizes (25-800 nodes, averaged across all scenarios):

Metric Current (Baseline) With Probabilistic Forwarding Improvement
Transmissions per advert 6,545 452 93.1% reduction
Network coverage 100% 68.2% Sufficient for adverts
Average max hops 7.4 4.2 43% faster
Efficiency 9.4% 55.8% 6× improvement

Real-World Impact Example

Scenario: Medium-sized mesh network
Network size: 200 nodes
Flood advertisement interval: 12 hours

Calculation of daily advertisement load:

  • Each node floods 1 advert every 12 hours = 2 adverts/node/day
  • Network total: 200 nodes × 2 adverts/day = 400 advertisements/day

Impact per single advertisement:

  • Baseline: 6,545 transmissions per advert
  • Optimized: 452 transmissions per advert
  • Reduction: 6,093 fewer transmissions (93.1% reduction)

Daily network-wide impact:

Metric Before (Baseline) After (Probabilistic) Calculation
Transmissions per advert 6,545 452 From simulation
Total transmissions/day 2,618,000 180,800 400 adverts × transmissions
Transmission reduction 93.1% - (2,618,000 - 180,800) / 2,618,000

This massive reduction frees up airtime for actual messages, dramatically reducing congestion and delays.

How It Works

The forwarding probability decreases rapidly after the first hop:

Hops Probability Meaning
0 100% Source always transmits
1 100% First hop always forwards (offset formula)
2 30.8% Aggressive reduction begins
3 9.5% Most long paths stop here
4 2.9% Minimal propagation
5+ <1% Extremely rare

Why This Works:

  • Most nodes are reached within 4-5 hops
  • Hops 6+ contribute <5% additional coverage but cause 90%+ of redundancy

Tuning

The base parameter can be adjusted based on network requirements:

Base Value Coverage Reduction
0.25 ~60% ~95%
0.308 68% 93%
0.35 ~75% ~90%
0.40 ~80% ~85%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions