Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2018 08:58:17 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        Daniel Braniss <danny@cs.huji.ac.il>, Mark Millard via freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FYI: A Pine64+ 2GB thermal result during a -j4 buildworld's libllvm build on head -r338341
Message-ID:  <5B6E0726-2ACA-4051-8692-8D8A901BBF91@yahoo.com>
In-Reply-To: <20180829151201.e3acdd8f65a60e861987489f@bidouilliste.com>
References:  <4FB22C52-44DF-4868-B30F-5E07DE9F2198@yahoo.com> <20180829135057.742947ba512467bd82671cf0@bidouilliste.com> <C72097A5-931B-4420-8336-EB9B1366165C@cs.huji.ac.il> <20180829151201.e3acdd8f65a60e861987489f@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2018-Aug-29, at 6:12 AM, Emmanuel Vadot <manu at bidouilliste.com> wrote:

> On Wed, 29 Aug 2018 15:41:32 +0300
> Daniel Braniss <danny@cs.huji.ac.il> wrote:
> 
>> 
>> 
>>> On 29 Aug 2018, at 14:50, Emmanuel Vadot <manu@bidouilliste.com> wrote:
>>> 
>>> On Wed, 29 Aug 2018 04:07:28 -0700
>>> Mark Millard via freebsd-arm <freebsd-arm@freebsd.org <mailto:freebsd-arm@freebsd.org>> wrote:
>>> 
>>>> This head -r338341 based Pine64+ 2GB has a case, heatsinks,
>>>> and a fan.
>>>> 
>>>> # sysctl -a | grep therm
>>>> dev.aw_thermal.0.gpu2: 28C
>>>> dev.aw_thermal.0.gpu1: 29C
>>>> dev.aw_thermal.0.cpu: 31C
>>>> dev.aw_thermal.0.%parent: simplebus0
>>>> dev.aw_thermal.0.%pnpinfo: name=thermal_sensor@1c25000 compat=allwinner,sun50i-a64-ths
>>>> dev.aw_thermal.0.%location: 
>>>> dev.aw_thermal.0.%driver: aw_thermal
>>>> dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller
>>>> dev.aw_thermal.%parent: 
>>>> 
>>> 
>>> That seems very very low.
>> mine (Friendlyarm/allwinner/a64)is too cold to believe:
>> 
>> dev.aw_thermal.0.gpu2: 17C
>> dev.aw_thermal.0.gpu1: 17C
>> dev.aw_thermal.0.cpu: 15C
>> dev.aw_thermal.0.%parent: simplebus0
>> dev.aw_thermal.0.%pnpinfo: name=thermal_sensor@1c25000 compat=allwinner,sun50i-a64-ths
>> dev.aw_thermal.0.%location: 
>> dev.aw_thermal.0.%driver: aw_thermal
>> dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller
>> dev.aw_thermal.%parent:
> 
> Indeed it does. Do you have the big ass heatsink + fan on it ?
> https://www.friendlyarm.com/index.php?route=product/product&path=82&product_id=133
> 
> On my pine64 (Not LTS so A64), when it's idle the three sensors are
> ~22C. My IR thermometer reports a max temp of 33C when I 'scan' the
> chip.
> 
> Could you sysctl dev.aw_sid.0.ths-calib ?

The buildworld is doing libclang compiles now:

# sysctl dev.aw_sid.0.ths-calib dev.aw_thermal
dev.aw_sid.0.ths-calib: 820788078307
dev.aw_thermal.0.gpu2: 27C
dev.aw_thermal.0.gpu1: 28C
dev.aw_thermal.0.cpu: 30C
dev.aw_thermal.0.%parent: simplebus0
dev.aw_thermal.0.%pnpinfo: name=thermal_sensor@1c25000 compat=allwinner,sun50i-a64-ths
dev.aw_thermal.0.%location: 
dev.aw_thermal.0.%driver: aw_thermal
dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller
dev.aw_thermal.%parent: 

> I'll try to test on my NanoPi 64 with the heatsink.
> 
>> and it?s summer here.
>> 
>> danny
>> 
>>> 
>>> With 4 cpuburn-a53 process running I easily get to ~60C for cpu and
>>> ~55C for the gpus sensor.
>>> https://people.freebsd.org/~manu/cpuburn-a53 <https://people.freebsd.org/~manu/cpuburn-a53>;

It will be a notable before the buildworld completes
(if it finishes normally).

>>>> This was during a -j4 buildworld's:
>>>> 
>>>> Building /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/libllvm/CodeGen/MachineBranchProbabilityInfo.o
>>>> Building /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/libllvm/CodeGen/MachineCSE.o
>>>> Building /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/libllvm/CodeGen/MachineCombiner.o
>>>> Building /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/libllvm/CodeGen/MachineCopyPropagation.o
>>>> 
>>>> No HDMI is plugged in. Ethernet is in use. The serial console
>>>> is in use. A USB powered hub with a USB drive is plugged in
>>>> to provide the swap partition. The UFS root file system is on
>>>> a microsdhc card in the microsd slot and it has TRIM enabled.
>>>> Nothing else other than the power cord is connected.
>>>> 
>>>> (The microsd card use with TRIM was requested by someone.
>>>> I normally use a root filesystem on a USB device because
>>>> booting from an e.MCC on an sdcard adapter that is put in
>>>> the sdcard slot does not work these days and I normally
>>>> avoid microsd cards for much beyond loading the kernel.)
> 


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B6E0726-2ACA-4051-8692-8D8A901BBF91>