hwloc
« Back to VersTracker
Description:
Portable abstraction of the hierarchical topology of modern architectures
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: hardware topology hpc performance system-utility
Install: brew install hwloc
About:
Hwloc is a software library that provides a portable abstraction of the hierarchical topology of modern high-performance computing architectures. It gathers information from the operating system and hardware to identify NUMA nodes, cores, threads, and caches. This enables applications to optimize data placement and parallel execution for improved performance.
Key Features:
  • Displays hardware topology as a tree of objects (machine, NUMA, package, core, PU)
  • Supports multiple operating systems including Linux, macOS, and Windows
  • Provides graphical visualization tools like lstopo
  • Offers C and Python APIs for programmatic topology discovery
Use Cases:
  • Optimizing MPI process placement and memory binding
  • Debugging and understanding hardware topology on new systems
  • Designing cache-aware algorithms for high-performance computing
Alternatives:
  • numactl – numactl focuses on memory placement policies for Linux, whereas hwloc provides a cross-platform, detailed view of the entire hardware topology.
Version History
Detected Version Rev Change Commit
Feb 9, 2026 11:20am 0 REVISION_ONLY de7402c6
Sep 27, 2024 5:02pm 0 VERSION_BUMP 7ba1bfa6