aliyun / aliyun/SimAI

The difference between the link num and the configuration of connections & the routing entries missing

Open
#51 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
184
Avg merge
13h 4m
Merged PRs (30d)
1

Description

i use gen_HPN_7.0_topo_mulgpus_one_link.py to generate a topology file as following:

18 8 1 9 20 A100
8 9 10 11 12 13 14 15 16 17
0 8 2400Gbps 0.000025ms 0
0 9 100Gbps 0.0005ms 0
1 8 2400Gbps 0.000025ms 0
1 10 100Gbps 0.0005ms 0
2 8 2400Gbps 0.000025ms 0
2 11 100Gbps 0.0005ms 0
3 8 2400Gbps 0.000025ms 0
3 12 100Gbps 0.0005ms 0
4 8 2400Gbps 0.000025ms 0
4 13 100Gbps 0.0005ms 0
5 8 2400Gbps 0.000025ms 0
5 14 100Gbps 0.0005ms 0
6 8 2400Gbps 0.000025ms 0
6 15 100Gbps 0.0005ms 0
7 8 2400Gbps 0.000025ms 0
7 16 100Gbps 0.0005ms 0
9 17 400Gbps 0.0005ms 0
10 17 400Gbps 0.0005ms 0
11 17 400Gbps 0.0005ms 0
12 17 400Gbps 0.0005ms 0
13 17 400Gbps 0.0005ms 0
14 17 400Gbps 0.0005ms 0
15 17 400Gbps 0.0005ms 0
16 17 400Gbps 0.0005ms 0

as the tutorials mentioned, the Total number of connections is 20 in the first line, but the configurations of all connections as the line 3-26 showing, which means the number of connections is 24 in pratice. When i use function printRoutingEntries () to print the routing entries,the connections of 13,14,15,16-17 are missing.
image

So my questions are: how to recognize difference between the link num and the configuration of connections?And why the connections of 13,14,15,16-17 are removed in the routing entries?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the topology with gen_HPN_7.0_topo_mulgpus_one_link.py and compare the declared connection count with the entries in lines 3–26. Then trace function printRoutingEntries () to determine why the 13–16 to 17 connections are absent; done means documenting the distinction and explaining the omitted routing entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.