Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - maxus

#1
24.7, 24.10 Legacy Series / Re: 24.7 CPU Temps
August 27, 2024, 10:12:45 PM
Quote from: doktornotor on August 27, 2024, 09:30:10 PM
Well that simply is not true, as documented by the ticket I linked.
Whatever, it shows data returned by the on-die sensors and as read and provided by the kernel. I don't really know why people want to see incorrect readings just because they don't like the data shown. Anyway, this is the current dumpspace of these complaints..

And I wonder if my questions are perhaps really so misleading:
- Why the change in the processes (as in the picture in the last post)?
- Why the increase in temperatures after the update?
- The link you mentioned starts with October 2023. My discrepancies became visible with yesterday's update from 24.1 to 24.7.

If someone tells me: "Yes, we have changed something here and there (e.g. widget) so that the correct temperatures are now logged and more processes are also running", then that's totally ok, because that would be an answer.

I am quite sure that the problem you are talking about (Github link) has been occurring for some time. That doesn't mean that this is the case for me. I have already written that I have not changed anything in the widgets (e.g. number) or in OPNsense itself, nor have I changed my behavior (e.g. viewing the dashboard continuously for 24 hours), but only that I have done the system update. Something must have changed since the update, otherwise we wouldn't be discussing it here.

But maybe I just don't understand it...

Quote from: meyergru on August 27, 2024, 09:55:54 PM
Maybe part of the difference is from the fact that widget evaluation has changed because of the structural changes (like order of evaluation or complexity of other widgets).

Maybe you have an RRD database update / maintenance running after the upgrade that caused CPU spikes.

Whatever the reason, there is a github issue and probably it will be adressed if no issues exist that have higher priority (of which I know some...).

Thank you @meyergru for your answer.

Regarding the RRD database update / maintenance: How long could that really take? Temperature doesn't change in the RRD since the Update.
Do you think "Reset RRD Data" would change something (someone mentioned it before)?

D'accord that there are definitely bigger problems than this  ;D
My mini PC with N100 wasn't really "cold" even before and at first, when another 10 degrees are added on top (according to the RRD), you start to worry.
#2
24.7, 24.10 Legacy Series / Re: 24.7 CPU Temps
August 27, 2024, 09:19:29 PM
Quote from: doktornotor on August 27, 2024, 01:08:15 PM
No. There were exactly the same complaints about something being "too high" when compared to not staring at the dashboard. Like here.

Hy @doktornotor,

thank your for the information: It's not the case that I stare at the dashboard all day long ;)
This is my CPU overview before and after the upgrade. You can see that the "User" and "System" processes were previously in the milli range and are now 1 and 2 digits respectively. Why? Is it possible that this is why the temperature has risen?



I also ran several widgets (including the CPU temp graph) in the old GUI and never experienced such temperature spikes (even while staring at the dashboard).

I also removed all widgets except for the CPU temp display this afternoon. In the widget itself it looks like the temperature is no longer rising as high as before (~70-80°C), but nothing really changes in the RRD diagram.

I am certainly no expert, but the phenomenon only occurred after the update from 24.1 to 24.7. So I wonder what has changed? I just want to understand it.

Thank you.
#3
24.7, 24.10 Legacy Series / Re: 24.7 CPU Temps
August 27, 2024, 01:02:35 PM
Quote from: meyergru on August 27, 2024, 11:55:11 AM
@maxus and @yahyoh: Yes, we know all that. You probably should re-read the thread.

Franco already explained in detail what is going on:

The difference between the (current) GUI query and a query from the CLI is that the during the processing of the dashboard widgets (which include the temperature readouts), the CPU is being used, which in turn heats it up, resulting in an increased reading. You could probably reduce the difference by de-selecting all but the CPU temperature widget.

The granularity of modern CPUs temperature is so high that this matters, because the sensors now reside on the CPU die itself. The temperature can jump a few degrees in a few microseconds.

Franco also told you that this could only be fixed if the time of readout is shifted from the point in time that the GUI processes the widgets (so a background process is probably needed which decouples this).

Hi @meyergru,

Thank you for explaining it again :)
Sorry to ask, but were the temperature queries solved differently in the old GUI (24.1)?
#4
24.7, 24.10 Legacy Series / Re: 24.7 CPU Temps
August 27, 2024, 11:41:27 AM
Hi @all,

I'm new here and facing the same problem: I'm using an N100 Mini-PC which I've updated last evening from 24.1 to 24.7. Although the update process seemed to work fine, GUI shows much higher (~10°C) temperatures than the CLI output:


markus@opnsense:~ % sysctl -a | grep temperature && sysctl dev.cpu | grep temperature
hw.acpi.thermal.tz0.temperature: 27.9C
dev.cpu.3.temperature: 61.0C
dev.cpu.2.temperature: 59.0C
dev.cpu.1.temperature: 58.0C
dev.cpu.0.temperature: 57.0C
dev.cpu.3.temperature: 58.0C
dev.cpu.2.temperature: 58.0C
dev.cpu.1.temperature: 57.0C
dev.cpu.0.temperature: 57.0C




Also tried this solution, but nothing seems to have changed:
https://forum.opnsense.org/index.php?topic=42323.0