# Install sysbench with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

System performance benchmark tool. Version 1.0.20 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:sysbench
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sysbench
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sysbench
```

  Evidence: MacPorts ports tree: benchmarks/sysbench/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sysbench
```

  Evidence: Alpine Linux edge package indexes: sysbench from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sysbench
```

  Evidence: Debian stable package indexes: sysbench from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sysbench
```

  Evidence: Fedora Rawhide package metadata: sysbench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sysbench
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sy/sysbench/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sysbench
```

  Evidence: Arch Linux sync databases: sysbench from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install sysbench
```

  Evidence: openSUSE Tumbleweed package metadata: sysbench from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:sysbench
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sysbench>
- **Version:** 1.0.20
- **Source summary:** System performance benchmark tool
- **Homepage:** <https://github.com/akopytov/sysbench>
- **Repository:** <https://github.com/akopytov/sysbench>
- **Upstream docs:** <https://github.com/akopytov/sysbench#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/akopytov/sysbench/archive/refs/tags/1.0.20.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- sysbench (cli)
- sysbench (alias)

## Dependencies

- libpq
- luajit
- mariadb-connector-c

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Uses from macOS

- vim

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.20
- Local data: ok
- Upstream repository: https://github.com/akopytov/sysbench
- Upstream latest detected: 1.0.20 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

sysbench is a scriptable multi-threaded benchmark CLI, best known in package-manager culture as a quick way to install repeatable CPU, memory, file I/O, thread, mutex, and database benchmark workloads.

### Project history

The official README describes sysbench as a LuaJIT-based, scriptable, multi-threaded benchmark tool. Although it is frequently used for database benchmarks, upstream explicitly presents it as a general workload engine that can create complex benchmarks without a database server.

The 1.0 release series, visible in the official GitHub releases page, turned sysbench into a regularly packaged upstream with release notes that repeatedly mention CI, Linux distribution packaging, macOS build fixes, and compatibility with PostgreSQL and MySQL versions.

### Adoption history

Upstream documents binary installation through packagecloud repositories for Debian/Ubuntu, RHEL/CentOS, and Fedora, and also points Arch Linux users to `pacman -Suy sysbench`.

The input package facts list sysbench across apk, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch, Ubuntu, and zypper ecosystems, which matches its role as a standard benchmark utility carried by many Unix-like package managers.

### How it is used

Typical CLI usage is `sysbench [options]... [testname] [command]`, with bundled workloads such as `oltp_*.lua`, `fileio`, `cpu`, `memory`, `threads`, and `mutex`.

Database users commonly install sysbench to generate OLTP-like load, while systems users use the same command to compare machines, virtual instances, storage, or packaging choices with a small reproducible benchmark.

### Why package nerds care

sysbench matters to package nerds because it is both a package and a measuring stick for packages: it is often installed to compare hardware, kernels, database builds, filesystem behavior, or VM/container performance.

Its LuaJIT scripting model makes it more flexible than a fixed microbenchmark while staying easy to ship as a single command-line tool.

### Timeline

- 2018-04-01: sysbench 1.0.14 release notes included JSON stats reporter fixes.
- 2018-12-16: sysbench 1.0.16 release notes included packaging matrix updates and SQL/API fixes.
- 2019-10-21: sysbench 1.0.18 release notes included Debian Buster, CentOS 8, Fedora 30, and macOS Mojave build-related work.
- 2020-04-24: sysbench 1.0.20 was released with CI and packaging updates including arm64 and Ubuntu Focal.

### Related projects

- LuaJIT is central to sysbench's scripting model.
- MySQL, PostgreSQL, and other SQL servers are common benchmark targets through sysbench's bundled OLTP workloads.
- packagecloud is used by upstream for binary package repositories.

### Sources

- <https://github.com/akopytov/sysbench#readme>
- <https://github.com/akopytov/sysbench/releases>
- <https://packagecloud.io/akopytov/sysbench/install>
- input source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sysbench
- **Version Scheme:** 0
- **Revision:** 7
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - sysbench - 1.0.20+ds-7: normalized package name match | Debian stable package indexes: sysbench from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | multi-threaded benchmark tool for database systems | https://github.com/akopytov/sysbench
- Nix - sysbench: normalized package name match | nixpkgs package indexes: pkgs/by-name/sy/sysbench/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sysbench - 1.0.20+ds-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sysbench from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | multi-threaded benchmark tool for database systems | https://github.com/akopytov/sysbench
- apk - sysbench - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sysbench from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Scriptable database and system performance benchmark | https://github.com/akopytov/sysbench
- apk - sysbench-dev - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sysbench-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Scriptable database and system performance benchmark (development files) | https://github.com/akopytov/sysbench
- apk - sysbench-doc - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sysbench-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Scriptable database and system performance benchmark (documentation) | https://github.com/akopytov/sysbench
- dnf - sysbench - 1.0.20-20.fc44: normalized package name match | Fedora Rawhide package metadata: sysbench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | System performance benchmark | https://github.com/akopytov/sysbench/
- pacman - sysbench - 1.0.20-2: normalized package name match | Arch Linux sync databases: sysbench from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Scriptable multi-threaded benchmark tool for databases and systems | https://github.com/akopytov/sysbench
- zypper - sysbench - 1.0.20-1.27: normalized package name match | openSUSE Tumbleweed package metadata: sysbench from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A MySQL benchmarking tool | https://github.com/akopytov/sysbench
- MacPorts - sysbench: normalized package name match | MacPorts ports tree: benchmarks/sysbench/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Runtime dependency declared by Homebrew.
- [luajit](https://www.automicvault.com/pkg/brew/luajit/) - Runtime dependency declared by Homebrew.
- [mariadb-connector-c](https://www.automicvault.com/pkg/brew/mariadb-connector-c/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [fio](https://www.automicvault.com/pkg/brew/fio/) - Shares av.db curated category or tags: benchmark, benchmarking, cli, performance, system.
- [mbw](https://www.automicvault.com/pkg/brew/mbw/) - Shares av.db curated category or tags: benchmark, benchmarking, cli, performance, system.
- [phoronix-test-suite](https://www.automicvault.com/pkg/brew/phoronix-test-suite/) - Shares av.db curated category or tags: benchmarking, cli, performance, system.
- [stress](https://www.automicvault.com/pkg/brew/stress/) - Shares av.db curated category or tags: benchmarking, cli, system.
- [stress-ng](https://www.automicvault.com/pkg/brew/stress-ng/) - Shares av.db curated category or tags: benchmarking, cli, system.
- [asitop](https://www.automicvault.com/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, performance, system.
- [fuc](https://www.automicvault.com/pkg/brew/fuc/) - Shares av.db curated category or tags: cli, performance, system.
- [ioping](https://www.automicvault.com/pkg/brew/ioping/) - Shares av.db curated category or tags: cli, performance, system.

## Combined YAML source

View the package source record on GitHub. [combined/sysbench.yml](https://github.com/automic-vault/db/blob/main/combined/sysbench.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
