Skip to main content

This utility comes to provide bird's-eye view of HCAs installed

Project description

regression

LSHCA

This utility comes to provide bird's-eye view of HCAs installed.
Other utilities can show deeper/better information in their small area, but LSHCA shows comprehensive information from many sources.
It's mainly intended for system administrators, thus defaults configured accordingly.

Main features

  • Supported HCA features
    • Socket Direct HCA
    • Bond
    • SRIOV
  • Elastic output - comes to reduce excessive information in human readable output
  • Protocol/feature oriented views: IB, RoCE, Cable, Traffic
  • Machine readable output: JSON
  • Doesn't requires 3rd party libraries
  • Supports Python 2.7 and 3.x

Limitations

  • requires root, this comes from lspci limitation to provide full information to non-root users

Examples

System view

ConnectX6 socket direct 200G and ConnectX5 100G HCAs.

---------------------------------------------------------------------------------------------------
Dev #1
 Desc: Mellanox Technologies MT28908 Family [ConnectX-6]
 PN: MCX654106A-HCAT  rev. A5
 PSID: MT_0000000228
 SN: MT185.......
 FW: 20.26.0282
 Tempr: 60
---------------------------------------------------------------------------------------------------
  PCI_addr   |  RDMA  | Net  | Numa | LnkStat | IpStat  | Link | Rate | LnkCapWidth | HCA_Type
---------------------------------------------------------------------------------------------------
0000:04:00.0 | mlx5_0 | ib0  |  0   |  actv   | up_ip4  |  IB  | 200  |   x16 G3    |  MT4123
0000:04:00.1 | mlx5_1 | ib1  |  0   |  down   |  down   |  IB  | 10*  |   x16 G3    |  MT4123
0000:82:00.0 | mlx5_4 | ib3  |  1   |  actv   | up_ip4  |  IB  | 200  |   x16 G3    |  MT4123
0000:82:00.1 | mlx5_5 | ib4  |  1   |  down   |  down   |  IB  | 10*  |   x16 G3    |  MT4123
---------------------------------------------------------------------------------------------------
Dev #2
 Desc: Mellanox Technologies MT27800 Family [ConnectX-5]
 PN: MCX556A-ECAT  rev. A3
 PSID: MT_0000000008
 SN: MT17........
 FW: 16.27.1016
 Tempr: 47
---------------------------------------------------------------------------------------------------
  PCI_addr   |  RDMA  | Net  | Numa | IpStat  | Link | Rate | LnkCapWidth | LnkStaWidth | HCA_Type
---------------------------------------------------------------------------------------------------
0000:81:00.0 | mlx5_2 | ib2  |  1   | up_ip4  |  IB  | 100  |   x16 G3    |   x8 >!<    |  MT4119
0000:81:00.1 | mlx5_3 | p2p2 |  1   | up_ip46 | Eth  | 100  |   x16 G3    |   x8 >!<    |  MT4119
---------------------------------------------------------------------------------------------------

IB view

----------------------------------------------------------------------------------------------------------------------------------------------------------
Dev #1
 Desc: Mellanox Technologies MT28908 Family [ConnectX-6]
 PN: MCX653105A-ECAT  rev. A6
 PSID: MT_0000000222
 SN: MT19......
 FW: 20.28.1002
----------------------------------------------------------------------------------------------------------------------------------------------------------
 RDMA  | Net | Numa | IpStat  | VrtHCA | PLid |      PGuid       |    IbNetPref     |      SMGuid      |      SwGuid      |         SwDescription
----------------------------------------------------------------------------------------------------------------------------------------------------------
mlx5_0 | ib0 |  0   | up_ip4  |  Phys  |  22  | b8599f0300d1f222 | fe80000000000000 | 248a0703003f1856 | b8599f0300e9062e | Quantum Mellanox Technologies
----------------------------------------------------------------------------------------------------------------------------------------------------------

For more information about LSHCA see wiki and extended help lshca -hh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lshca-3.8.tar.gz (47.4 kB view details)

Uploaded Source

File details

Details for the file lshca-3.8.tar.gz.

File metadata

  • Download URL: lshca-3.8.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for lshca-3.8.tar.gz
Algorithm Hash digest
SHA256 d8332fca6119d59708c2334bf5ec6051d17e0e77ad0a5e3eb5163d250f70d05a
MD5 6e8fdefa6f4dbafb321cc9dd30e1742e
BLAKE2b-256 282191614d3d558edc08cd1675b284ecc354a6d6f450b509ac6a4a6938c22019

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page