A migration performance testing framework
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesNew
- v16 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Rebased to git master
- Added missing S-o-B
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | scripts: add __init__.py file to scripts/qmp/scripts/ | +0 | 0 replies | |
| 2/6 | scripts: add a 'debug' parameter to QEMUMonitorProtocolscripts/ | +11 | 0 replies | |
| 3/6 | scripts: refactor the VM class in iotests for reusescripts/ scripts/ tests/ | +240 | 0 replies | |
| 4/6 | scripts: set timeout when waiting for qemu monitor connectionscripts/ | +1 | 0 replies | |
| 5/6 | scripts: ensure monitor socket has SO_REUSEADDR setscripts/ | +1 | 0 replies | |
| 6/6 | tests: introduce a framework for testing migration performanceconfigure tests/ tests/ +14 more | +2330 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/6] A migration performance testing framework
This is a followup to:
v1: https://lists.gnu.org/archive/html/qemu-devel/2016-05/msg00701.html
This series of patches provides a framework for testing migration performance characteristics. The motivating factor for this is planning that is underway in OpenStack wrt making use of QEMU migration features such as compression, auto-converge and post-copy. The primary aim for OpenStack is to have Nova autonomously manage migration features & tunables to maximise chances that migration will complete. The problem faced is figuring out just which QEMU migration features are "best" suited to our needs. This means we want data on how well they are able to ensure completion of a migration, against the host resources used and the impact on the guest workload performance.
The test framework produced here takes a pathelogical guest workload (every CPU just burning 100% of time xor'ing every byte of guest memory with random data). This is quite a pessimistic test because most guest workloads are not giong to be this heavy on memory writes, and their data won't be uniformly random and so will be able to compress better than this test does.
Changed in v2:
- Rebased to git master
- Added missing S-o-B
Daniel P. Berrange (6):
scripts: add __init__.py file to scripts/qmp/
scripts: add a 'debug' parameter to QEMUMonitorProtocol
scripts: refactor the VM class in iotests for reuse
scripts: set timeout when waiting for qemu monitor connection
scripts: ensure monitor socket has SO_REUSEADDR set
tests: introduce a framework for testing migration performance
configure | 2 + scripts/qemu.py | 202 +++++++++++ scripts/qmp/__init__.py | 0 scripts/qmp/qmp.py | 15 +- scripts/qtest.py | 34 ++ tests/Makefile.include | 12 + tests/migration/.gitignore | 2 + tests/migration/guestperf-batch.py | 26 ++ tests/migration/guestperf-plot.py | 26 ++ tests/migration/guestperf.py | 27 ++ tests/migration/guestperf/__init__.py | 0 tests/migration/guestperf/comparison.py | 124 +++++++ tests/migration/guestperf/engine.py | 439 ++++++++++++++++++++++ tests/migration/guestperf/hardware.py | 62 ++++ tests/migration/guestperf/plot.py | 623 ++++++++++++++++++++++++++++++++ tests/migration/guestperf/progress.py | 117 ++++++ tests/migration/guestperf/report.py | 98 +++++ tests/migration/guestperf/scenario.py | 95 +++++ tests/migration/guestperf/shell.py | 255 +++++++++++++ tests/migration/guestperf/timings.py | 55 +++ tests/migration/stress.c | 367 +++++++++++++++++++ tests/qemu-iotests/iotests.py | 135 +------ 22 files changed, 2583 insertions(+), 133 deletions(-) create mode 100644 scripts/qemu.py create mode 100644 scripts/qmp/__init__.py create mode 100644 tests/migration/.gitignore create mode 100755 tests/migration/guestperf-batch.py create mode 100755 tests/migration/guestperf-plot.py create mode 100755 tests/migration/guestperf.py create mode 100644 tests/migration/guestperf/__init__.py create mode 100644 tests/migration/guestperf/comparison.py create mode 100644 tests/migration/guestperf/engine.py create mode 100644 tests/migration/guestperf/hardware.py create mode 100644 tests/migration/guestperf/plot.py create mode 100644 tests/migration/guestperf/progress.py create mode 100644 tests/migration/guestperf/report.py create mode 100644 tests/migration/guestperf/scenario.py create mode 100644 tests/migration/guestperf/shell.py create mode 100644 tests/migration/guestperf/timings.py create mode 100644 tests/migration/stress.c
Signature · 1 line
2.5.5