Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5205

Python • Re: very noisy SoC temperature measurement (RPi5)

$
0
0
I'd thought your mysterious pistat program samples temperature multiple times during every time slice.
It looks like (on my Pi) the temp in sysfs is updated around 150 times per second.
So it should be possible to read the temp a few times during an interval and smooth it. Even for
a once per second display:

Code:

Time         CPU    Core    Vcore    Temp....Min....Max  Health10:38:23     500     500    0.720      46     45     49    OK10:38:24     500     500    0.720      44     44     49    OK10:38:25     500     500    0.720      46     44     49    OK10:38:26     500     500    0.720      46     44     49    OK10:38:27     500     500    0.720      46     44     49    OK
As long as the overhead for the extra open/seek calls doesn't trigger the CPU scaling governor - giving false CPU freq readings!

Statistics: Posted by jahboater — Wed Feb 07, 2024 11:02 am



Viewing all articles
Browse latest Browse all 5205

Trending Articles