Re: laptop cpu high temperature while idle

2020-08-13 Thread olve
"Due to the way in which thermal information is reported on Intel
processors, the temperature may be off by exactly +/-15 degrees C."
man 4 cpu
http://man.openbsd.org/cpu#BUGS

This must be my case.
Thanks for participating to Stefan Hagen and John aka j.
Topic closed.

Sadly, temperature output is not accompanied by warning of known bugs.
That would add clarity and save time for users,
e.g. it was not obvious to me that
man 4 cpu
http://man.openbsd.org/cpu#BUGS
needs to be read.
Although that would add complexity to the code
and take time from developers, sadly.




Re: laptop cpu high temperature while idle

2020-08-11 Thread j

o...@mailo.com wrote:


$ sysctl hw.sensors | grep temp
hw.sensors.cpu0.temp0=95.00 degC
hw.sensors.acpitz0.temp0=79.00 degC (zone temperature)


I have an old (of course) IBM/Lenovo X60 with a similar issue.  Once it
gets to 80 or 90C, the CPU goes into thermal runaway, emits a "exceeded
 128C" syslog error and autoshuts down.

I tried replacing the CPU paste, with little effect.

So now it has:

 $ cat /etc/sysctl.conf
 hw.setperf=1

and the cpu runs at 1GHz instead of 1.6GHz and seems
to stay cool even when working the CPU and graphics hard.


John



Re: laptop cpu high temperature while idle

2020-08-11 Thread olve
>> $ sysctl hw.sensors | grep temp
>> hw.sensors.cpu0.temp0=95.00 degC
>> hw.sensors.acpitz0.temp0=79.00 degC (zone temperature)

> This seems hot for doing nothing. Does it run cooler on Linux?

1. Linux live usb, right after reboot from OpenBSD:
$ sensors
coretemp-isa-
Adapter: ISA adapter
Core 0:   +79.0°C  (high = +85.0°C, crit = +85.0°C)
Core 1:   +78.0°C  (high = +85.0°C, crit = +85.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:+76.0°C  (crit = +119.0°C)

nouveau-pci-0100
Adapter: PCI adapter
GPU core: +0.90 V  (min =  +0.90 V, max =  +1.17 V)
temp1:+85.0°C  (high = +95.0°C, hyst =  +3.0°C)
   (crit = +105.0°C, hyst =  +2.0°C)
   (emerg = +110.0°C, hyst =  +5.0°C)

2. Linux live usb, soon after reboot from OpenBSD:
$ sensors
coretemp-isa-
Adapter: ISA adapter
Core 0:   +75.0°C  (high = +85.0°C, crit = +85.0°C)
Core 1:   +75.0°C  (high = +85.0°C, crit = +85.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:+73.0°C  (crit = +119.0°C)

nouveau-pci-0100
Adapter: PCI adapter
GPU core: +0.90 V  (min =  +0.90 V, max =  +1.17 V)
temp1:+81.0°C  (high = +95.0°C, hyst =  +3.0°C)
   (crit = +105.0°C, hyst =  +2.0°C)
   (emerg = +110.0°C, hyst =  +5.0°C)

3. Linux live usb, idle for longer time:
$ sensors
coretemp-isa-
Adapter: ISA adapter
Core 0:   +72.0°C  (high = +85.0°C, crit = +85.0°C)
Core 1:   +72.0°C  (high = +85.0°C, crit = +85.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:+70.0°C  (crit = +119.0°C)

nouveau-pci-0100
Adapter: PCI adapter
GPU core: +0.90 V  (min =  +0.90 V, max =  +1.17 V)
temp1:+78.0°C  (high = +95.0°C, hyst =  +3.0°C)
   (crit = +105.0°C, hyst =  +2.0°C)
   (emerg = +110.0°C, hyst =  +5.0°C)

4. Linux live usb, idle for long time, outdoors:
$ sensors
coretemp-isa-
Adapter: ISA adapter
Core 0:   +63.0°C  (high = +85.0°C, crit = +85.0°C)
Core 1:   +64.0°C  (high = +85.0°C, crit = +85.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:+62.0°C  (crit = +119.0°C)

nouveau-pci-0100
Adapter: PCI adapter
GPU core: +0.90 V  (min =  +0.90 V, max =  +1.17 V)
temp1:+69.0°C  (high = +95.0°C, hyst =  +3.0°C)
   (crit = +105.0°C, hyst =  +2.0°C)
   (emerg = +110.0°C, hyst =  +5.0°C)


> I also wonder if the reading is correct. Does the fan speed up further
> than under linux? If the CPU has 95 degrees, you should be able to feel
> a pretty hot airflow and hear the fan spinning high.

I can not definitely confirm that OpenBSD fan airflow is hotter than
Linux one, maybe yes, but it is within the margin of error of my sense
of touch and I am not equipped with a meter.
In both cases airflow is hot.
 
I also can not definitely confirm that fan speed is further.
I have been using this laptop for months with Linux and fan behavior
seems indistinguishable, whatever load is.
I suppose, it is always at its max.


> Did you enable automatic frequency scaling?

I had enabled apmd but had not set the -A flag.
After your reply I added -A and rebooted, result:
91 degC - log in temperature
87 degC - after a while, and not dropping

screenshot:
https://i.postimg.cc/rpVF1QSx/IMG-20200811-163108.jpg


>> Also, it takes several seconds for xterm to redraw itself
>> from top to bottom on my 1280x800 display.
>> Is it because of NVIDIA graphics?

> Stay away from Nvidia if possible (disable it in the BIOS if you have
> hybrid graphics). Nvidia cards will be driven by the vesa / framebuffer
> module, which is pretty slow on any hardware.

Only discrete NVIDIA is installed, no hybrid-graphics,
so if the reading is correct, this is another reason why I am
unfortunate to be incapable of running an OpenBSD desktop on this laptop...


> If the machine has never been serviced and the temperature seems to be
> high on any OS, then cleaning the heat sink and replacing the thermal
> compound may help.

It certainly has to be done.


Thank you, Stefan.


Current summary:
OpenBSD is still too hot - 87 degC cpu temperature while idle




Re: laptop cpu high temperature while idle

2020-08-11 Thread Stefan Hagen
o...@mailo.com wrote:
> CPU: 100% idle
> load averages: 0.04, 0.06, 0.04

100% idle means "100% doing nothing". This is normal for a CPU that
does nothing.

> $ sysctl hw.sensors | grep temp
> hw.sensors.cpu0.temp0=95.00 degC
> hw.sensors.acpitz0.temp0=79.00 degC (zone temperature)

This seems hot for doing nothing. Does it run cooler on Linux?

I also wonder if the reading is correct. Does the fan speed up further
than under linux? If the CPU has 95 degrees, you should be able to feel
a pretty hot airflow and hear the fan spinning high.

If this is not the case, I assume the reading is not correct.

Did you enable automatic frequency scaling?

$ cat /etc/rc.conf.local
apmd_flags=-A

> Also, it takes several seconds for xterm to redraw itself
> from top to bottom on my 1280x800 display.
> Is it because of NVIDIA graphics?

Stay away from Nvidia if possible (disable it in the BIOS if you have
hybrid graphics). Nvidia cards will be driven by the vesa / framebuffer
module, which is pretty slow on any hardware.

> Has it something to do with high temperature?

No.

If the machine has never been serviced and the temperature seems to be
high on any OS, then cleaning the heat sink and replacing the thermal
compound may help.

Best Regards,
Stefan