Skip to content

Add ML modelling for fluid flow wan simulation#263

Draft
sanjaychari wants to merge 28 commits into
codes-org:masterfrom
sanjaychari:digital-twin-sbir-develop-fluid-flow-wan-ml
Draft

Add ML modelling for fluid flow wan simulation#263
sanjaychari wants to merge 28 commits into
codes-org:masterfrom
sanjaychari:digital-twin-sbir-develop-fluid-flow-wan-ml

Conversation

@sanjaychari

Copy link
Copy Markdown
Collaborator

This PR adds ML models for the switch LPs in the hybrid fluid flow wan simulation.

This reverts commit 9cd0c04
as the changes for it are in the digital-twin-sbir-develop-flow-control
branch.
Add flowlet and switch-training logs, queued-before/drop fields,
configurable switch schedulers, two-phase egress allocation, and
fragment coalescing for cleaner rollback and ML training targets.

Rename receive counters to received_fragments.
Buffer CSV rows in memory for both sequential and optimistic runs,
then merge logs after simulation completion to avoid event-path file I/O
and unsafe parallel appends.

Refactor common terminal and switch logging paths, add CSV file-open
checks, and keep optimistic logging rollback-safe through commit handlers.

Use MPI_COMM_CODES consistently, remove dead event/config fields, document
the large reverse-allocation event payload, clean up comments, and release
switch queue storage during finalization.
@sanjaychari sanjaychari marked this pull request as draft July 13, 2026 14:32
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.37518% with 272 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/network-workloads/model-net-fluid-flow-wan.cxx 80.37% 272 Missing ⚠️

📢 Thoughts on this report? Let us know!

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