From owner-freebsd-arm@freebsd.org Thu Aug 30 08:56:34 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 A3C6E1099143 for ; Thu, 30 Aug 2018 08:56:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-22.consmr.mail.ne1.yahoo.com (sonic315-22.consmr.mail.ne1.yahoo.com [66.163.190.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F79A77F49 for ; Thu, 30 Aug 2018 08:56:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: R9h9PtQVM1nR.XNq5lSmXWTnIL_gPO1niEpT7ew5ZywQhsWoei.WLy8dEQ.E1lY ojyR2TDnmuGkka18eIpFlVAzxgPcI9a5FCvnVN7700nB0NRh0Enu8R8hnkqyaUCvhhgpIvHGguqn vWgQ2JpRSgmvqZT9xBXRGb73UzeFJ7TH_HMzbaSw6hnriTgUdVq.uhFTXuYKyMi8KsWLbt2k9GWG 9wtCx_Sy.7WPCaGXnEijJfxwHlChzHkGfpsPm2YZMYImZwjK6_O2zFri_e0nDAWSv.xvYoIw4QCw 4lYmiYN8TnEKGKPPkDJby.P053XG9jtNRFQ1soHzuekCDRpZ5wvMQ6zSmsrdxKtUzOps.MemMaaK g6n_zwgatETpsCTbnVYPCM70kqwYNm9HqlUDAazZyrvEsj4SB3zTtf2m7aSWZ6f5Hr1LSHPGJ_hX SiBWM3XWJqS6XNabVGkopF6gzhRaBqUOsy8NMuAyCrchOhpr1IbwNSldU.KD7QRKn1TSXAsMnWMr SCrVqZg8PvUsNKhZ5G2x6CDqHhIu0hcnC11B.mUrnoub9Ps0JnGvKtm1tYBORFxR9cmLSmYorVbx 7JCwAdS_C8IY7KlUaa1QlxPEiXG0ij0dMObCSNjqi4PoXp0wO5POcc9E04wa5uGexLRl8LVtixDi yAlyqvWpQuY9MbxOjbxIwgeEf7I4Ja.dCtzTbyuNx4ChJc3nqrq8Z5Q4ZKJisi6VxyuY4dizDQSc p8LmxTpMvDTSt0spsaTEv4NgqGXa4z1hJNzKt52Z0Ms_9bZ1uMgfw0Fuhdkn7UJLUE2G4cPDlojH WpX6bd.WXmccvXlsL5RfbgfMoeL3SLw649mLV44SO_.0wfoKpc8GR3MBBS.JU9xhZuATzoe_yoec lK.G.lPar2cu7MmuYsdx2qB7woIXbkCCyx0bls3gbjtrV_UZePd6gjMGuaSvRWaOHkfDeuI8mGcn sDtASa8xX7N9S.PEK6fyDyl1I7oI.HQYioQCIVFMM.eHgvappwDHUk3rxiVwbBy.9TDwOOH4oNB8 rMfjvqtpU8nvv Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 30 Aug 2018 08:56:27 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp422.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 1ae4eed6aee527fdbcc75706d35a73e1; Thu, 30 Aug 2018 08:56:25 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 From: Mark Millard In-Reply-To: <984F9F42-E8A0-4E01-9391-AADFA87A01D6@yahoo.com> Date: Thu, 30 Aug 2018 01:56:23 -0700 Cc: Daniel Braniss , Mark Millard via freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <4FB22C52-44DF-4868-B30F-5E07DE9F2198@yahoo.com> <20180829135057.742947ba512467bd82671cf0@bidouilliste.com> <20180829151201.e3acdd8f65a60e861987489f@bidouilliste.com> <5B6E0726-2ACA-4051-8692-8D8A901BBF91@yahoo.com> <984F9F42-E8A0-4E01-9391-AADFA87A01D6@yahoo.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3445.9.1) 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: Thu, 30 Aug 2018 08:56:34 -0000 [Adding figures for the Pine64+ 2GB being idle.] On 2018-Aug-29, at 11:48 AM, Mark Millard wrote: > [The build got past doing llvm library related builds and so is doing > less intense buildworld activity.] >=20 > On 2018-Aug-29, at 8:58 AM, Mark Millard wrote: >=20 >> On 2018-Aug-29, at 6:12 AM, 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 >>> 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 >> The buildworld is doing libclang compiles now: >>=20 >> # 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=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 >>> 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 >> It will be a notable before the buildworld completes >> (if it finishes normally). >>=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 >>=20 >=20 > During a less intense build stage it shows the likes > of: >=20 > # sysctl dev.aw_sid.0.ths-calib dev.aw_thermal > dev.aw_sid.0.ths-calib: 820788078307 > dev.aw_thermal.0.gpu2: 24C > dev.aw_thermal.0.gpu1: 24C > dev.aw_thermal.0.cpu: 26C > 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 > It is summer and the room temperature is above > 26 degC, more like 28.3 degC. >=20 > It does look like the figures are systematically low in > my context. >=20 > It will be some time before I'll get a figure for idle. The Pine64+ 2GB having been basically idle for hours (and still being basically idle): # sysctl dev.aw_sid.0.ths-calib dev.aw_thermal = = dev.aw_sid.0.ths-calib: = 820788078307 dev.aw_thermal.0.gpu2: 19C dev.aw_thermal.0.gpu1: 19C dev.aw_thermal.0.cpu: 18C 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 So: Well below room temperature and similar to Daniel B.'s results. It does suggest a delta of about 13 degC between idle and the -j4 libllvm example cpu figures --and about 10 degC for the gpus. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)