DOKK / manpages / debian 12 / lxd-tools / lxd-benchmark.1.en
LXD-BENCHMARK(1) User Commands LXD-BENCHMARK(1)

lxd-benchmark - LXD benchmark

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.

lxd-benchmark [command]

# Spawn 20 Ubuntu containers in batches of 4 lxd-benchmark launch --count 20 --parallel 4
# Create 50 Alpine containers in batches of 10 lxd-benchmark init --count 50 --parallel 10 images:alpine/edge
# Delete all test containers using dynamic batch size lxd-benchmark delete

Delete containers
Help about any command
Create containers
Create and start containers
Start containers
Stop containers

Print help
Number of threads to use (default -1)
Project to use (default "default")
Path to the CSV report file
Label for the new entry in the report [default=ACTION]
Print version number

Use "lxd-benchmark [command] --help" for more information about a command.

May 2023 lxd-benchmark 5.0.2