table of contents
LXD-BENCHMARK(1) | User Commands | LXD-BENCHMARK(1) |
NAME¶
lxd-benchmark - LXD benchmark
DESCRIPTION¶
Description:¶
- Benchmark performance of LXD
- This tool lets you benchmark various actions on a local LXD daemon.
- It can be used just to check how fast a given LXD host is, to compare performance on different servers or for performance tracking when doing changes to the LXD codebase.
- A CSV report can be produced to be consumed by graphing software.
Usage:¶
- lxd-benchmark [command]
EXAMPLES¶
- # Spawn 20 Ubuntu containers in batches of 4 lxd-benchmark launch --count 20 --parallel 4
- # Create 50 Ubuntu Minimal 22.04 containers in batches of 10 lxd-benchmark init --count 50 --parallel 10 ubuntu-minimal:22.04
- # Delete all test containers using dynamic batch size lxd-benchmark delete
Available Commands:¶
Flags:¶
- -h, --help
- Print help
- -P, --parallel
- Number of threads to use (default -1)
- --project string
- Project to use (default "default")
- --report-file
- Path to the CSV report file
- --report-label
- Label for the new entry in the report [default=ACTION]
- --version
- Print version number
Use "lxd-benchmark [command] --help" for more information about a command.
August 2024 | lxd-benchmark 5.0.2+git20231211.1364ae4 |