From ffd6b594724d7aadd2cd08782485ece9a2aa5331 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 17 Oct 2026 11:57:30 +0200 Subject: perf: sample everything always, not only while the page is open Per-core load, the network rate, VRAM and the fan used to run only while a PerfPanel existed, and closing the page cleared them. Opening the drawer therefore always showed a fresh first sample and an empty network graph, which made the page not very useful as a glance at what just happened. Everything now samples for the whole session, so the graph opens on the last minute of history. The cost is the VRAM fdinfo scan, ~14ms every 2s, now unconditional; a ponytail note beside it says to gate it on the panel again if that shows up. The LAN address and the public IP check run once at startup instead of on each page open. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/perf/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop/modules/perf/README.md') diff --git a/desktop/modules/perf/README.md b/desktop/modules/perf/README.md index dea5a7e..bd9ebfb 100644 --- a/desktop/modules/perf/README.md +++ b/desktop/modules/perf/README.md @@ -26,9 +26,9 @@ into the LAN depends on the ISP's fixed address. The fetch is `~/.cache/udt/pubip.txt`, the file conky's sampler used. A failed fetch is never a mismatch: the old value goes stale after 4 hours and shows as a dash. -CPU, RAM, temperatures and disks are sampled always. Per-core load, the -network rate, VRAM (a scan of every fdinfo, ~14ms) and the fan run only while -the page is open. The mount list, `br0`, the GPU name and the 12 GiB VRAM +Everything is sampled always, including per-core load, the network rate, +VRAM (a scan of every fdinfo, ~14ms every 2s) and the fan, so the page opens +on the last minute of network history instead of an empty graph. The mount list, `br0`, the GPU name and the 12 GiB VRAM size are constants in `Perf.qml`. The cache card runs `du -B1 -d1` once each time the page opens, 28ms over -- cgit v1.2.3