Skip to content

Add adaptive CC probe scaling and NACK limits - #111

Draft
sleepybishop wants to merge 1 commit into
USNavalResearchLaboratory:masterfrom
sleepybishop:cc-nack-limits
Draft

Add adaptive CC probe scaling and NACK limits#111
sleepybishop wants to merge 1 commit into
USNavalResearchLaboratory:masterfrom
sleepybishop:cc-nack-limits

Conversation

@sleepybishop

@sleepybishop sleepybishop commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Hello,

This PR introduces adaptive congestion control probe scaling, piggybacking, and NACK failsafe limits. Together, these optimizations prevent network collapse from feedback storms in many-to-many topologies (#112) where existing TFRC would normally scale poorly.

  • A new NormSetAdaptiveProbeScaling() API to enable dynamic scaling of GRTT CC probe frequencies, allowing thousands of nodes to safely participate without probe-flooding the mesh.
  • A new NormCCProbeExtension to piggyback CC probe requests directly inside NORM_DATA packets, dramatically reducing independent packet overhead.
  • A new NormSetNackFailsafeLimit() API to place a hard ceiling on the number of NACKs transmitted per GRTT window, preventing feedback implosion during synchronized network-wide loss events.
  • A new +nacklimit CLI flag in the normapp testing utility to evaluate NACK capping.
  • Opt-in and backward-compatible with legacy NORM deployments.

Happy to adjust naming conventions, the API shape, or the CC probe scaling math if you prefer a different approach.

@sleepybishop
sleepybishop marked this pull request as ready for review August 16, 2026 19:12
@sleepybishop
sleepybishop force-pushed the cc-nack-limits branch 3 times, most recently from ccfedef to 766e368 Compare August 17, 2026 00:53
@sleepybishop
sleepybishop marked this pull request as draft August 18, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant