FYI: A Pine64+ 2GB thermal result during a -j4 buildworld's libllvm build on head -r338341

Mark Millard marklmi at yahoo.com
Wed Aug 29 15:58:30 UTC 2018


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 at cs.huji.ac.il> wrote:
> 
>> 
>> 
>>> On 29 Aug 2018, at 14:50, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>>> 
>>> On Wed, 29 Aug 2018 04:07:28 -0700
>>> Mark Millard via freebsd-arm <freebsd-arm at freebsd.org <mailto:freebsd-arm at 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 at 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 at 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 at 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)



More information about the freebsd-arm mailing list