From owner-freebsd-arm@freebsd.org Wed Aug 29 14:04:56 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94AD7108B0DD for ; Wed, 29 Aug 2018 14:04:56 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10C748E3D9 for ; Wed, 29 Aug 2018 14:04:56 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bk.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1fv15U-0000nW-3x; Wed, 29 Aug 2018 17:04:48 +0300 From: Daniel Braniss Message-Id: Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FYI: A Pine64+ 2GB thermal result during a -j4 buildworld's libllvm build on head -r338341 Date: Wed, 29 Aug 2018 17:04:47 +0300 In-Reply-To: <20180829151201.e3acdd8f65a60e861987489f@bidouilliste.com> Cc: Mark Millard , Mark Millard via freebsd-arm To: Emmanuel Vadot References: <4FB22C52-44DF-4868-B30F-5E07DE9F2198@yahoo.com> <20180829135057.742947ba512467bd82671cf0@bidouilliste.com> <20180829151201.e3acdd8f65a60e861987489f@bidouilliste.com> X-Mailer: Apple Mail (2.3445.9.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2018 14:04:56 -0000 > On 29 Aug 2018, at 16:12, Emmanuel Vadot = wrote: >=20 > On Wed, 29 Aug 2018 15:41:32 +0300 > Daniel Braniss > = wrote: >=20 >>=20 >>=20 >>> On 29 Aug 2018, at 14:50, Emmanuel Vadot = wrote: >>>=20 >>> On Wed, 29 Aug 2018 04:07:28 -0700 >>> Mark Millard via freebsd-arm > wrote: >>>=20 >>>> This head -r338341 based Pine64+ 2GB has a case, heatsinks, >>>> and a fan. >>>>=20 >>>> # 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=3Dthermal_sensor@1c25000 = compat=3Dallwinner,sun50i-a64-ths >>>> dev.aw_thermal.0.%location:=20 >>>> dev.aw_thermal.0.%driver: aw_thermal >>>> dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller >>>> dev.aw_thermal.%parent:=20 >>>>=20 >>>=20 >>> That seems very very low. >> mine (Friendlyarm/allwinner/a64)is too cold to believe: >>=20 >> 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=3Dthermal_sensor@1c25000 = compat=3Dallwinner,sun50i-a64-ths >> dev.aw_thermal.0.%location:=20 >> dev.aw_thermal.0.%driver: aw_thermal >> dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller >> dev.aw_thermal.%parent: >=20 > Indeed it does. Do you have the big ass heatsink + fan on it ? > = https://www.friendlyarm.com/index.php?route=3Dproduct/product&path=3D82&pr= oduct_id=3D133 = >=20 the one with the 'too big ass ...' reports 17C when idling, a second with just the small heatsink reports 25 C for all three (gpu0/1 = nd cpu0) so I guess the fan does work, but still, room temperature is around 25C. > 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. >=20 > Could you sysctl dev.aw_sid.0.ths-calib ? >=20 > I'll try to test on my NanoPi 64 with the heatsink. >=20 >> and it?s summer here. >>=20 >> danny >>=20 >>>=20 >>> 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 = >>>=20 >>>> This was during a -j4 buildworld's: >>>>=20 >>>> Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/lib= llvm/CodeGen/MachineBranchProbabilityInfo.o >>>> Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/lib= llvm/CodeGen/MachineCSE.o >>>> Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/lib= llvm/CodeGen/MachineCombiner.o >>>> Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/lib/clang/lib= llvm/CodeGen/MachineCopyPropagation.o >>>>=20 >>>> 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. >>>>=20 >>>> (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.) >>>>=20 >>>> =3D=3D=3D >>>> Mark Millard >>>> marklmi at yahoo.com >>>> ( dsl-only.net went >>>> away in early 2018-Mar) >>>>=20 >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>>=20 >>>=20 >>> --=20 >>> Emmanuel Vadot > > >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing = list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm = >>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org = " >>=20 >=20 >=20 > --=20 > Emmanuel Vadot > = >