Skip to content

Commit 9779491

Browse files
florincorasDave Barach
authored andcommitted
nsim: add reproducible variable-rate simulation
- move mutable impairment state into per-worker contexts with independent seeded RNG streams and safe reconfiguration. - model packet serialization across deterministic rate transitions - add protocol-independent release batching with weighted opportunity gaps and packet budgets. - extend unit coverage for rate transitions, batching, worker isolation, and the unchanged fixed-rate, loss, and reorder paths. Type: feature Change-Id: Ia617b6ba836bfd764828639014597fe4f7c09ed1 Signed-off-by: Florin Coras <fcoras@cisco.com>
1 parent 9c6b61f commit 9779491

12 files changed

Lines changed: 1856 additions & 554 deletions

File tree

‎src/plugins/nsim/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add_vpp_plugin(nsim
1515
SOURCES
1616
nsim.c
1717
nsim_loss.c
18-
nsim_rate.c
18+
nsim_model.c
1919
node.c
2020
nsim_input.c
2121

0 commit comments

Comments
 (0)