Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carstenbauer/hwlocviz.jl
Visualizing the system topology based on Hwloc.jl
https://github.com/carstenbauer/hwlocviz.jl
Last synced: about 1 month ago
JSON representation
Visualizing the system topology based on Hwloc.jl
- Host: GitHub
- URL: https://github.com/carstenbauer/hwlocviz.jl
- Owner: carstenbauer
- License: mit
- Created: 2021-03-29T22:30:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-04T00:35:26.000Z (over 3 years ago)
- Last Synced: 2024-10-13T22:32:35.641Z (2 months ago)
- Language: Julia
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HwlocViz.jl
[![Build Status](https://github.com/crstnbr/HwlocViz.jl/workflows/CI/badge.svg)](https://github.com/crstnbr/HwlocViz.jl/actions)
[![Coverage](https://codecov.io/gh/crstnbr/HwlocViz.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/crstnbr/HwlocViz.jl)# Usage
## Plotting the system topology
```julia
julia> using HwlocVizjulia> plot_topology() # show in external window
julia> plot_topology("topology.png") # save to file
```![topology](https://user-images.githubusercontent.com/187980/112912936-029c8280-90f9-11eb-890c-021de0a79f09.png)
## Printing the system topology
```julia
julia> print_topology()
Machine
└─ Package
└─ L3Cache
├─ L2Cache
│ └─ L1Cache
│ └─ Core 0
│ ├─ PU 0
│ └─ PU 1
├─ L2Cache
│ └─ L1Cache
│ └─ Core 1
│ ├─ PU 2
│ └─ PU 3
├─ L2Cache
│ └─ L1Cache
│ └─ Core 2
│ ├─ PU 4
│ └─ PU 5
├─ L2Cache
│ └─ L1Cache
│ └─ Core 3
│ ├─ PU 6
│ └─ PU 7
├─ L2Cache
│ └─ L1Cache
│ └─ Core 4
│ ├─ PU 8
│ └─ PU 9
└─ L2Cache
└─ L1Cache
└─ Core 5
├─ PU 10
└─ PU 11
```# Ideas
Eventually we probably want something similar to https://www.open-mpi.org/projects/hwloc/lstopo.png.
* Try Makie?
* Or Luxor?