# Glossary (stress-ng Long Run)

> The terms used in the docs of the stress-ng-longrun 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

### AWS

**Amazon Web Services**: The cloud computing platform of Amazon, launched in 2006 and the largest public cloud by market share. It offers hundreds of services, from virtual machines (EC2) and object storage (S3) to managed databases and machine learning. See [AWS](https://aws.amazon.com/).

## 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).

### CPU-credit throttling

A limit on burstable cloud server types, which earn CPU credits while they run below a baseline CPU usage and spend them to run above it. When the credits run out, the provider throttles the server to its baseline, so sustained load runs slower than a short burst. See [AWS burstable instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html).

## G

### GCP

**Google Cloud Platform**: The cloud computing platform of Google. It offers virtual machines (Compute Engine), object storage, managed databases, Kubernetes and machine learning services, among others. See [Google Cloud](https://cloud.google.com/).

## H

### Hetzner Cloud

The cloud platform of Hetzner Online, a German hosting company founded in 1997. Launched in 2018, it offers VMs with shared or dedicated vCPUs on AMD64 or Arm64 CPUs, block storage, and networking, from data centers in Germany, Finland, the United States, and Singapore. See [Hetzner Cloud](https://www.hetzner.com/cloud).

## N

### `nice`

A Unix command that runs a program with a changed scheduling priority, from -20 (highest) to 19 (lowest). Raising a process's priority above the default needs the `CAP_SYS_NICE` capability, which root has. See [man page](https://man7.org/linux/man-pages/man1/nice.1.html).

### noisy neighbor

A server or tenant that shares physical hardware, such as CPU cores, caches, memory bandwidth, or disks, with others and slows them down with its own load. On shared cloud hosts, it makes the performance of a server vary with the load of the other servers on the same host, which can change by time of day. See [Azure Architecture Center](https://learn.microsoft.com/en-us/azure/architecture/antipatterns/noisy-neighbor/noisy-neighbor).

## 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

### shared-core

Describes a cloud server type whose vCPUs share physical cores with other servers, often with a guaranteed baseline of only a fraction of a core. Such server types are cheaper, but their CPU performance can vary with the load of neighboring servers or be limited by CPU credits. See [Google Cloud shared-core machine types](https://cloud.google.com/compute/docs/general-purpose-machines#sharedcore).

### stderr

The standard error stream of a process, one of the three standard streams with stdin and stdout. Programs write logs, progress, and error messages to it, so that they stay separate from the output on stdout when the output is redirected to a file or another program. See [Wikipedia](https://en.wikipedia.org/wiki/Standard_streams).

### 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).

### `stress-ng`

An open-source tool that loads a computer in selectable ways, with hundreds of stress tests (stressors) that exercise the CPU, memory, file systems, and kernel interfaces. With `--metrics`, it reports each stressor's throughput in bogo ops/s. See [stress-ng on GitHub](https://github.com/ColinIanKing/stress-ng).

### stress-ng bogo ops/s

**bogus operations per second**: The throughput metric of `stress-ng`: how many times a stressor completes its own unit of work per second. Each stressor defines that unit differently, so the values compare only within one stressor and one `stress-ng` version. See [stress-ng man page](https://manpages.ubuntu.com/manpages/noble/man1/stress-ng.1.html).

### stress-ng bogo ops/s (real time)

The stress-ng bogo ops/s for a run, measured over wall-clock (real) time and summed across all workers. This differs from the rate measured over the workers' CPU time. It is the `bogo-ops-per-second-real-time` field of the stress-ng YAML report and the headline result of this benchmark.

### stress-ng div16 method

A method of the `stress-ng` `cpu` stressor, selected with `--cpu-method div16`, in which each operation runs 50,000 16-bit unsigned integer divisions. Integer division takes many CPU cycles and depends little on memory, so it loads the core's arithmetic units directly. See [stress-ng man page](https://manpages.ubuntu.com/manpages/noble/man1/stress-ng.1.html).

### stress-ng stressor

One stress test of `stress-ng`, such as `cpu`, `memcpy`, or `fork`, selected with a command-line option of the same name and run by one or more worker processes. See [stress-ng man page](https://manpages.ubuntu.com/manpages/noble/man1/stress-ng.1.html).

### stress-ng YAML report

A file in which `stress-ng` writes a run's results in YAML. The `-Y <file>` or `--yaml <file>` option specifies the file. The report has two sections. The `system-info` section describes the run and the system, including the `stress-ng` version, the time, and the CPU count. The `metrics` section holds the bogo ops count, the bogo ops/s, and the times of each stressor. See [stress-ng man page](https://manpages.ubuntu.com/manpages/noble/man1/stress-ng.1.html).

## Y

### YAML

**YAML Ain't Markup Language**: A human-readable text format for structured data, built from indented key-value mappings and lists. It is a superset of JSON, and is widely used for configuration files and for exchanging data between programs. See [YAML specification](https://yaml.org/spec/).
