HWLOC-DUMP-HWDATA(1)

πŸ’… HWLOC-DUMP-HWDATA πŸ’…

okay so bestie, this is a page from the hwloc manual set, and it's all about a tiny little tool called hwloc-dump-hwdata πŸŽ€

✨ NAME ✨

hwloc-dump-hwdata β€” dumps topology and locality info straight out of your hardware tables, no cap 🫢

🌸 SYNOPSIS 🌸

hwloc-dump-hwdata [options]

πŸ’– OPTIONS πŸ’–

  • -o <dir> β€” writes the output files into <dir> instead of the default /usr/var/run/hwloc/ (that default was baked in at configure time, fyi).
lowkey you probably also wanna set the HWLOC_DUMPED_HWDATA_DIR environment variable, so the hwloc library goes looking for the dumped files in that same directory you just picked. otherwise it's giving mismatched vibes 😭
  • --version β€” reports the version and dips out. periodt.
  • -h --help β€” shows the help message and exits. iconic behavior honestly.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” hwloc can lowkey thrive on some locality and topology info that lives in SMBIOS or ACPI tables. on Linux you can reach those from raw hardware files under directories like /sys/firmware/dmi/ or /sys/firmware/acpi/. the catch? those files are usually only accessible to root, and they only exist when the Linux kernel has dmi-sysfs support in it. πŸ™ˆ

enter hwloc-dump-hwdata, our main character πŸ’… β€” it takes the useful contents of those files and dumps them into human-readable and world-accessible files. the whole plan is: run the tool once during boot, and then let the main (non-privileged) hwloc library gather info from those human-readable files. slay, delegation πŸ”₯

ngl, hwloc-dump-hwdata is currently only useful for Intel Xeon Phi processors (Knights Landing and Knights Mill). that's just the vibe right now ✨

the current list of dumped info is:

  • Intel Xeon Phi processor memory, cache and clustering configuration β€” gathered from specific SMBIOS entries such as /sys/firmware/dmi/entries/14-* and /sys/firmware/dmi/entries/160-*, and saved in the file knl_memoryside_cache. πŸ’Ύ

πŸ‘‘ SEE ALSO πŸ‘‘

hwloc(7), lstopo(1)


ok that's the whole page bestie, go forth and dump πŸ’–

version 2.15.0 🌈 dated Sep 23, 2026 β€” mwah, that's a wrap, catch you in the next manpage πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from