etcd benchmarking tool VM operator

Canonical Publisher

Platform:

Ubuntu
24.04
Channel Revision Published Runs on
3.6/edge 2 18 Nov 2026
Ubuntu 24.04
3.6/edge 1 18 Nov 2026
Ubuntu 24.04
juju deploy etcd-benchmark --channel 3.6/edge

Learn about configurations >

  • clients | int

    Default: 1

    Total number of gRPC clients to use during the test.

  • connections | int

    Default: 1

    Total number of gRPC connections to open during the test.

  • duration | int

    Duration of the test in seconds, at the end of which it must auto terminate. In case both are set, the test will terminate as per whichever condition is met sooner. If both are unset (default=0), the test goes on indefinitely until the stop action is run. Note that you can still use the stop action to terminate the test gracefully, ahead of time.

  • key-size | int

    Default: 8

    Size of the keys to set in bytes.

  • key-space-size | int

    Default: 1000

    Maximum possible keys. Controls entropy during key generation. | 1 would mean a single key keeps getting overwritten. 100000, on the other hand, would mean an append-heavy workload.

  • limit | int

    Default: 1000

    Read operation range result limit.

  • rate | int

    Maximum transactions per second. 0, which is the default, means no limit.

  • report-interval | int

    Default: 10

    Interval, in seconds, to report performance metrics collected.

  • rw-ratio | float

    Default: 1.0

    Read/write ratio. For example, if set to 4, it will execute 4 times more read requests than write requests.

  • test-name | string

    Default: etcd-benchmark

    Name of the test. Each benchmark run will also be given a unique ID, but this is a human-friendly config option.

  • total-transactions | int

    Total transactions to be run as part of a benchmark run, at the end of which test must auto terminate. In case both are set, the test will terminate as per whichever condition is met sooner. If both are unset (default=0), the test goes on indefinitely until the stop action is run. Note that you can still use the stop action to terminate the test gracefully, ahead of time.

  • value-size | int

    Default: 8

    Size of the values to set in bytes.