🍺 BREW Explorer

← all formulae

numactl

brew install numactl v2.0.19 GPL-2.0-only AND LGPL-2.1-only AND LicenseRef-Homebrew-public-domain AND LicenseRef-Homebrew-cannot-represent

Linux command-line tool and shared library for NUMA memory and CPU affinity control.

Why you might care

Use numactl to bind processes or threads to specific NUMA nodes on multi-socket systems, optimizing memory locality and latency-sensitive workloads. Includes the libnuma library for programmatic NUMA policy control and utilities like numastat for memory allocation statistics. Primarily useful as a build/runtime dependency for HPC and database software targeting NUMA-aware systems.

Categories

Alternatives

taskset cgroups hwloc
3.9k
30-day installs · #706
14.3k
90-day · #667
27.7k
365-day · #920
497
★ GitHub stars · updated 3mo ago

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "taskset",
    "cgroups",
    "hwloc"
  ],
  "build_dependencies": [],
  "categories": [
    "sysadmin",
    "library",
    "benchmark"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "NUMA support for Linux",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:02+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "numactl",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-02-24T16:32:21Z",
  "github_readme_excerpt": "# numactl\n\n![build test](https://github.com/numactl/numactl/workflows/Makefile%20CI/badge.svg)\n\nSimple NUMA policy support. It consists of a numactl program to run other\nprograms with a specific NUMA policy and a libnuma shared library (\"NUMA API\")\nto set NUMA policy in applications.\n\nThe libnuma binary interface is supposed to stay binary compatible.\n\nIncompatible changes will use new symbol version numbers.\n\nIn addition there are various test and utility programs, like `numastat` to\ndisplay NUMA allocation statistics and `memhog`.\n\nIn `test/` there is a small regression test suite.\n\nNote that `regress` assumes an unloaded machine with memory free on each node.\nOtherwise you will get spurious failures in the non-strict policies (preferred,\ninterleave.)\n\nSee the manpages [`numactl.8`](https://linux.die.net/man/8/numactl) and\n[`numa.3`](https://linux.die.net/man/3/numa) for details.\n\n# License, Copyrights, Acknowledgements\n\n`numactl` and the demo programs are under the GNU General Public License, v.2.\n\n`libnuma` is under the GNU Lesser General Public License, v2.1.\n\nThe manpages are under the same license as the Linux manpages (see the files.)\n\n`numademo` links with a library derived from the C version of STREAM by John D.\nMcCalpin and Joe R. Zagar for one sub benchmark. See `stream_lib.c` for the\nlicense. In particular when you publish `numademo` output you might need to pay\nattention there or filter out the STREAM results.\n\nIt also uses a public domain Mersenne Twister implementation from Michael\nBrundage.\n\nVersion 2.0.10-rc2: (C)2014 SGI\n\nAuthor:\nAndi Kleen, SUSE Labs\n\nVersion 2.0.0 by Cliff Wickman (`cpw@sgi.com`), Christoph Lameter\n(`clameter@sgi.com`) and Lee Schermerhorn (`lee.schermerhorn@hp.com`).\n\nVersion 2.0.16+ by Andi Kleen and Luo Chunsheng, as well as various contributors.\n\n",
  "github_repo": "numactl/numactl",
  "github_stars": 497,
  "github_topics": [],
  "homepage": "https://github.com/numactl/numactl",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 3901,
  "installs_365d": 27706,
  "installs_90d": 14329,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-only AND LGPL-2.1-only AND LicenseRef-Homebrew-public-domain AND LicenseRef-Homebrew-cannot-represent",
  "llm_generated_at": "2026-06-20T23:46:31+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "numactl",
  "oldnames": [],
  "one_liner": "Linux command-line tool and shared library for NUMA memory and CPU affinity control.",
  "optional_dependencies": [],
  "rank_30d": 706,
  "rank_365d": 920,
  "rank_90d": 667,
  "raw_hash": "75d07621fa2707e2",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/n/numactl.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.0.19",
  "versioned_formulae": [],
  "why_use_this": "Use numactl to bind processes or threads to specific NUMA nodes on multi-socket systems, optimizing memory locality and latency-sensitive workloads. Includes the libnuma library for programmatic NUMA policy control and utilities like numastat for memory allocation statistics. Primarily useful as a build/runtime dependency for HPC and database software targeting NUMA-aware systems."
}