Report aligned per-second CPU power requests latency and errors
This commit is contained in:
1 parent
17f3b0dbd3
commit
743674a022
5 files changed
+201
No files matched your search
@@ -284,3 +284,38 @@ python3 tools/energy-jmeter/verify-perfmon.py --host 192.168.1.125 --output tool
|
||||
This verifies that JMeter saves readings while it is still running, then checks
|
||||
metric coverage and decoding. A monitoring-only check succeeded against the NUC;
|
||||
comparison with independent Linux readings is still needed to validate accuracy.
|
||||
|
||||
## Time-aligned graphs and one-second request reporting
|
||||
|
||||
Every finished run generates `report.html` (interactive), `report.png`, `report.svg`
|
||||
and `per-second.csv`. The plotting dependency is Matplotlib, already installed on
|
||||
this computer. If setting up another load generator, install Matplotlib there.
|
||||
All panels share UTC timestamps and experiment-relative one-second intervals,
|
||||
starting at the recorded warmup start. Warmup is shaded; measurement begins after
|
||||
the exact configured warmup duration.
|
||||
|
||||
CPU, RAM, power, disk and network values are averaged only when multiple samples
|
||||
fall into a second; missing readings stay blank and create graph gaps. Application
|
||||
requests and failed requests are counted individually per second. Mean/p95/max
|
||||
latency is grouped by request start time, with p95 using the nearest-rank definition.
|
||||
Requests spanning the measurement end are excluded from measured application figures,
|
||||
matching `run.json`. Meter requests and internal timing samples never count as
|
||||
application traffic. Seconds without requests have zero request/error counts and
|
||||
no response-time value. The graph keeps every one-second bin; a wide full-run view
|
||||
can visually compress points. Use the interactive range controls to inspect seconds.
|
||||
|
||||
For a running experiment, generate a snapshot or keep refreshing its artifacts:
|
||||
|
||||
```bash
|
||||
python3 tools/energy-jmeter/report.py tools/energy-jmeter/results/RUN_FOLDER
|
||||
python3 tools/energy-jmeter/report.py tools/energy-jmeter/results/RUN_FOLDER --follow
|
||||
```
|
||||
|
||||
`--follow` refreshes artifacts every minute, using one-second data, and generates the
|
||||
final report when the run finishes. Open `report.html` locally and use **Refresh
|
||||
snapshot** to load new data. It provides a shared cursor across panels and a measured-
|
||||
window selection. The latest seconds of a running snapshot are provisional because
|
||||
JMeter writes request samples after their responses arrive. Missing future seconds
|
||||
are not plotted as zeros. Report creation runs on the load generator.
|
||||
|
||||
Verify aggregation with `python3 tools/energy-jmeter/verify-report.py`.
|
||||
Reference in new issue
Block a user