Files
ironic/tools/benchmark
Julia Kreger 60de53ea45 trivial: fix benchmark data generation script
While trying to create some fake data, I realized the randomizer
code was not running, nor were changes being committed, and largely
the code was still patterned on ipmi, when really we should be
patterning on fake. Also drops the number of nodes to create to 5000,
instead of 10,000, as we're ultimately going to create a fairly unhappy
fake ironic database with this model.

Using the fake interface *and* fake config, provides us an easy
path to begin to benchmark drastic changes to the conductor model
as part of removing eventlet.

Change-Id: I179c842d369eb9a3a60878556559746cca27bcaa
Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com>
2025-08-19 22:57:05 +00:00
..
2021-05-24 16:36:02 +00:00

This folder contains two files:

* do_not_run_create_benchmark_data.py - This script will destroy your
  ironic database. DO NOT RUN IT. You have been warned!
  It is is intended to generate a semi-random database of node data
  which can be used for benchmarks, instead of crafting a raw SQL file
  representing a test model

* generate-statistics.py - This is a utility some statistics to both
  aid in basic benchmarking of ironic operations *and* provide developers
  with conceptual information regarding a deployment's size. It operates
  only by reading the data present and timing how long the result take to
  return as well as isolating some key details about the deployment.