Sample CPU and Shelly power every second for energy runs

This commit is contained in:
Steffen committed 2026-10-08 12:41:48 +02:00
1 parent 79bb6a11cd
commit 17f3b0dbd3
10 files changed
+13 -12

No files matched your search

+3 -3
View File
@@ -41,7 +41,7 @@ Concurrency means resident simulated users, including their idle/thinking time.
All six plans contain **jp@gc – PerfMon Metrics Collector**, including idle.
The listener connects over TCP to the agent on the target (default port 4444),
samples every five seconds, and writes `perfmon.csv` directly on this computer
samples every second, and writes `perfmon.csv` directly on this computer
through JMeter during the run. No server log transfer is needed. In GUI mode the
listener shows live graphs; use CLI mode for actual energy experiments.
@@ -53,7 +53,7 @@ an idle host do not establish their accuracy. Compare the readings against Linux
utilities before treating the agent as a validated measurement instrument.
The runner checks agent access/metric availability before starting. It records
`--perfmon-host`, `--perfmon-port` and `--perfmon-interval-ms` (default 5000) in
`--perfmon-host`, `--perfmon-port` and `--perfmon-interval-ms` (default 1000) in
`run.json`; by default the agent host matches `--host`. Failed, missing or widely
spaced measurements invalidate monitoring. `perfmon-measured.csv` excludes warmup,
decodes the plugin's synthetic `elapsed` field into metric values/units, and retains
@@ -76,7 +76,7 @@ The validation fixture uses this switch and does not connect to the NUC.
## Live Shelly power in JMeter
Every scenario, including idle, contains one **Shelly live power** thread. It polls
`http://192.168.1.44/rpc/Switch.GetStatus?id=0` every five seconds directly from
`http://192.168.1.44/rpc/Switch.GetStatus?id=0` every second directly from
JMeter, independently of simulated users. There is no cloud dependency and no
post-run network transfer. No switch/set/reset commands are sent.