# Glossary (Hardware Info)

> The terms used in the docs of the hwinfo image.

Acronyms and terms used on this image's pages. See the [site-wide glossary](https://docs.sparecores.com/glossary.md) for all terms.

## A

### AMD64

The 64-bit version of the x86 instruction set architecture, introduced by AMD in 2003 and also implemented by Intel, which runs most cloud servers. Linux distributions and Docker name it `amd64` or `x86_64`. See [Wikipedia](https://en.wikipedia.org/wiki/X86-64).

### Arm64

The 64-bit execution state of the Arm architecture, also called AArch64, used by server CPUs such as AWS Graviton, Ampere Altra, and Google Axion. Linux distributions and Docker name it `arm64` or `aarch64`. See [Wikipedia](https://en.wikipedia.org/wiki/AArch64).

## C

### CPU

**Central Processing Unit**: The general-purpose processor of a computer, which runs the operating system and programs. A CPU has one or more physical cores, and with SMT each core runs two or more hardware threads. See [Wikipedia](https://en.wikipedia.org/wiki/Central_processing_unit).

## D

### `dmidecode`

A command-line tool that reads a computer's SMBIOS tables and prints them in a human-readable form, one block per SMBIOS structure, such as the system's manufacturer and model, its processors, and its memory devices. It usually needs root privileges to read the tables. Its options select structure types, or single values such as the system's serial number. See [dmidecode](https://www.nongnu.org/dmidecode/).

## H

### harness

The code that runs a benchmark tool. It prepares the inputs, starts the tool with fixed settings, often several times or in parallel, checks and collects the tool's output, and prints the results in one format. Its settings, not the tool's defaults, decide what the benchmark measures. See [Wikipedia](https://en.wikipedia.org/wiki/Test_harness).

### hwloc

**Portable Hardware Locality**: An open-source library with command-line tools that detects a machine's hardware topology, including processor packages (sockets), NUMA (Non-Uniform Memory Access) nodes, caches, cores, and hardware threads, as well as attached devices. Parallel programs use it to place their threads and memory close to each other. See [hwloc](https://www.open-mpi.org/projects/hwloc/).

## J

### `jq`

A command-line JSON processor. It reads JSON, filters and transforms it with its own expression language, and prints the result, by default indented and colored for reading. See [jq](https://jqlang.org/).

### JSON

**JavaScript Object Notation**: A text format for structured data, built from objects (key-value pairs), arrays, strings, numbers, booleans, and null. Most languages and tools read and write it, which makes it a common format for API responses and benchmark output. See [JSON](https://www.json.org/).

## K

### KVM

**Kernel-based Virtual Machine**: The virtualization module of the Linux kernel, which lets Linux run VMs with the hardware virtualization extensions of Intel, AMD, and Arm64 CPUs. A server can run VMs with it only if its CPU exposes these extensions to the operating system, which many cloud VMs do not. See [Wikipedia](https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine).

## L

### LIKWID

**Like I Knew What I'm Doing**: A set of command-line tools for performance-oriented programmers on Linux, developed at the Erlangen National High Performance Computing Center. Its tools show the topology of a machine, pin threads to cores, read hardware performance counters, and run micro-benchmarks. See [LIKWID on GitHub](https://github.com/RRZE-HPC/likwid).

### `lsblk`

A Linux command of util-linux that lists block devices, such as disks and their partitions, with attributes such as size, type, and mount point. It can print a table or JSON, with sizes in bytes or in human-readable units. See [man page](https://man7.org/linux/man-pages/man8/lsblk.8.html).

### `lscpu`

A Linux command of util-linux that reports the CPU architecture of a system, such as the CPU model, the number of sockets, cores, and threads, the cache sizes, and the NUMA nodes. It can print a table or JSON. See [man page](https://man7.org/linux/man-pages/man1/lscpu.1.html).

### `lshw`

**Hardware Lister**: A Linux command that reports the hardware configuration of a machine, such as its CPUs, memory, firmware, buses, disks, and network adapters, as a tree of nodes. It reads sources such as `/proc`, `/sys`, and the DMI (Desktop Management Interface) tables, and prints text, XML, or JSON. It reports more details when run as root than when run as a normal user. See [Ubuntu man page](https://manpages.ubuntu.com/manpages/noble/man1/lshw.1.html).

### `lstopo`

The hwloc command that shows the topology of a machine, as a drawing or as text. It can also export the topology to a file, such as an XML file that other hwloc programs can load or a vector image. See [Ubuntu man page](https://manpages.ubuntu.com/manpages/noble/man1/lstopo.1.html).

## P

### `--privileged`

A `docker run` option that gives a container all Linux capabilities and access to all devices of the host, and lifts the restrictions that normally confine a container, such as the default seccomp profile. The container can then do almost everything that the host can, so use it only for workloads that need device or hardware access. See [Docker docs](https://docs.docker.com/reference/cli/docker/container/run/#privileged).

## R

### `resource-tracker`

An open-source Spare Cores tool that runs a command and samples resource usage while it runs, such as CPU, memory, disk, network, GPU, and GPU memory use. It can optionally stream the samples to the Spare Cores Sentinel platform, so that a run can be checked to see its aggregated and detailed resource utilization, e.g., whether it used all CPU or GPU cores as intended while running a Navigator benchmark workload. See [resource-tracker on GitHub](https://github.com/SpareCores/resource-tracker-rs).

## S

### SMBIOS

**System Management BIOS**: A standard for the tables in which a computer's firmware describes its hardware to the operating system, such as the system's manufacturer and model, its CPUs and memory modules, and the firmware version. It grew out of DMI, and on Linux, tools such as `dmidecode` read these tables. In a VM, the virtualization platform sets the values. See [DMTF SMBIOS standard](https://www.dmtf.org/standards/smbios).

### stdout

The standard output stream of a process, one of the three standard streams with stdin and stderr. Programs write their results to it; a shell can redirect it to a file or another program, such as `> results.jsonl`, while logs on stderr still reach the terminal. See [Wikipedia](https://en.wikipedia.org/wiki/Standard_streams).

## U

### util-linux

A standard package of Linux system utilities, maintained by the Linux kernel community and included in most distributions. Its commands cover disks and partitions, file systems, processes, and system information, such as `lsblk`, `lscpu`, and `mount`. See [util-linux on GitHub](https://github.com/util-linux/util-linux).

## X

### XML

**Extensible Markup Language**: A text format for structured documents and data, built from nested, named elements in angle brackets. See [W3C](https://www.w3.org/XML/).
