Skip to content

Add HTSim traffic generation, simulation automation, and plotting utilities#4

Open
FrancescoSaletti03 wants to merge 4 commits into
HLC-Lab:mainfrom
FrancescoSaletti03:main
Open

Add HTSim traffic generation, simulation automation, and plotting utilities#4
FrancescoSaletti03 wants to merge 4 commits into
HLC-Lab:mainfrom
FrancescoSaletti03:main

Conversation

@FrancescoSaletti03
Copy link
Copy Markdown

Description of changes

This PR adds a collection of Python utilities developed to support HTSim experiments and workflow automation.

The new scripts provide:

  • traffic matrix generation for collective communication workloads;
  • automation of repeated simulation runs;
  • HTSim log parsing and visualization;
  • plotting utilities for performance analysis.

Supported workloads and collectives include:

  • AllGather:

    • Ring
    • Bruck
    • Recursive Doubling
    • Binary Exchange
  • AllReduce:

    • Ring
    • Butterfly
  • AllToAll communication patterns

  • Permutation / Incast / Outcast-Incast traffic patterns

Additional updates:

  • Added visualization tools for flow execution and host-to-host utilization.
  • Added README documentation with usage examples and repository organization.
  • Standardized comments and documentation in English.

How to run

Generate a traffic matrix:

python gen_allgather_ring.py output.cm 64 64 1048576 1

Run simulations:

python run_simulation.py allgather ring

Generate plots:

python plot_fattree_flows.py simulation.log

PR Impact Assessment

Interaction with CMS specification

None

Impact on default behavior

Add new feature not enabled by default

Impact on performance

No impact on simulator runtime behavior by default.

This PR mainly introduces:

  • external utility scripts;
  • traffic matrix generators;
  • analysis and plotting tools.

Simulation behavior is unchanged unless the new scripts are explicitly used.


Merging instructions

PR dependencies

None

Should the PR commit history be kept

No ("squash and merge")

This PR needs approval from

@DanieleDeSensi

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.

2 participants