Skip to content

cyberang3l/InfiniBand-Graphviz-ualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfiniBand-Graphviz-ualization

Generate graphviz dot files from InfiniBand topology dumps.

To get an InfiniBand topology dump, use the 'ibnetdiscover' tool and redirect its output in an 'infiniband.topo' file.

Usage

Use the --help parameter to see a list of the available options.

./InfiniBand-graphviz.py --help

The following command will read the "infiniband.topo" InfiniBand topology file, and generate a graphviz dot file.

./InfiniBand-graphviz.py -f infiniband.topo

For further analysis and visualization, you can use Gephi. In this case, export a gexf file as well.

./InfiniBand-graphviz.py -f infiniband.topo -e

Create a beautiful graph with Gephi

If you want to generate a beautiful graph with Gephi, follow the following steps:

  1. Load the generated gexf file in Gephi.
  2. Go to the 'Overview' tab and choose a placement layout (I like the results of 'ForceAtlas 2' algorithm).
  3. Tune as needed and run the layout until you are satisfied with the placement and press stop.
  4. Go to the 'Preview' tab and press the 'Refresh' button.
  5. Under the 'Edges' group, untick the 'Curved' tick box and change the 'Color' of the edges from 'mixed' to 'original'.
  6. Choose a 'black' background if you used the '--optimized-for-black-bg (-o)' option when you ran the script, and press a final refresh.
  7. Once you are satisfied with the result, press the 'Export SVG/PDF/PNG' button to save the layout.

About

Generate graphviz dot files from InfiniBand topology dumps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages