From owner-freebsd-arm@freebsd.org Sat Nov 23 22:26:26 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B489E1C11AB for ; Sat, 23 Nov 2019 22:26:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (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 47L7Dw4GdRz4X4k for ; Sat, 23 Nov 2019 22:26:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: tKRAXbgVM1nZ3fPUvc35FJgX5c2Rc0u.UHUqXEhlEyjy7kRhKbFDmRf8ao7iPNt _FBm1plj5sQeP6OgP.h4lyV_mf5l6UsF7cRiKlvUos281Wee1ty7MRSMkosDakTTPVBD5lpyQl8G a3Ho_6zgg3CNY7Nd7JrIb31OlntO8Oo.sJ3psuifWO.wsbwkHSXxDpz6DJ7BwTc001EObkgy2HGT OrEcpKxbcc.4NNYlisU3K_K5VH3Q6nf0qO11eHVV9v9O53_oyq.LJZHruXoDKwsGg1dedtK8r_.Z d13jx869.M0wvHKhQc9H0..na5RhXUiWLGde94mC7GfeEe_TiBMg3zS02p5JCWoKTbo4BDIZ5WPh EN.rXzRdEPLvy_okhqfvVEIiNnQ1.7Pnr7OcOcKIa5e0obbQ8FM82YZ.Wry5uj0iEXPoWjWYhsOw gVL5nSUmTIQ0dkrQsQwd7RcxFk3TGJVQb6kPPJMh1ARtTI.rUX3tdNGzVx82rk5cwh3nVc1t4YuK TOxS.AYEGF7mE4CPuELRkb61GO6vyvC4l.Fwc.xwNMTQI6.AIE6pvRO0MhSqxvMtB7CqSG59sLl7 XBgIk5dRe8MigsOjvSRFI0G.Z3Up6er_jllQ3.CvE3F4xeXfiIiui85cZ8mQ50D1UuibKF7G8eUY LVtW5UDPNxfjqk8ubqMzvv2Chlz2VHOPZHLRjV1Mp4ofI2XE5zUjL60QHK_ST0mloPaujzY.t0wd _dEjfoRPqFk82bb0lvF6p38ai8DvWJ8WDGAMpQ2VS7WGkcqGlkx_Fq7Ho9k6hewkgkW4e8rvQW_x v6DPC2GEd3.IM43QuXDgPSVTDkKHzTADYRwkiLOxkQiVSQNMTiBZ3_hzUNfSKcLRkrgVcC253TFO p4kwhu1CHflLEpZpjizoORGNtl2pKJK1hAL_oLX7eg9IuSN3Sgu7G3BsmgzeSVsvP69Rew99USPH M2VrhldlbOALXVlefbahpTXr.5wd56AXufzKuNRkOWXNtRaVQvlPh1jU7WJLHyFJm541RzCEWz7Y IPL.9CfgLbAakfEgv2Q_2fVoKOBqo60X4AMrTCdVx2SkxPaTRkahUFmIJ9wcHcfHOhjPP8k_nVQ9 wREFjeJNGYGGW3WY15nEwxn2XMq.S97EbJF3yW4ruia5DUmlZBW.vKqbDJ5d_F1YKJ4fGZABUcc0 LI.0f_QVvLOV_fo8ovR.Dcgeu2Sr1MKtpYPimpiJW0nv.WQ5NxUzB2QKwS.i8j1ESJCr2hmYm9bw QBynBFFk3c_B2CDUDzMx5ZqvT.fxgRaF7ykm43djE.Dep9BsFWw5SOZeUGZLw.nDHIobTqpX6Uky CD4qV4Ug.xbM54VvKxYabQuss9kxqtHfR3H0Nn_h5mSrvpBDmThRVnRiAlpAu9UCIFBKkZPD3Mh0 a_h6FUZQ6HpWSPYJt_fQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Sat, 23 Nov 2019 22:26:22 +0000 Received: by smtp428.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 94861fd2677e4505aef4e0f3d9aab373; Sat, 23 Nov 2019 22:26:18 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: head -r355027 on Rock64: CPU staying at 600 MHz? (based on ArchLinuxARM benchmark comparison) Message-Id: Date: Sat, 23 Nov 2019 14:26:17 -0800 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3601.0.10) References: X-Rspamd-Queue-Id: 47L7Dw4GdRz4X4k X-Spamd-Bar: + X-Spamd-Result: default: False [1.44 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.99), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.70), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.96)[0.963,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.982,0]; RCVD_IN_DNSWL_NONE(0.00)[31.69.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Nov 2019 22:26:26 -0000 I ran my C++ variation on the old HINT serial/threads benchmark on ArchLinuxARM (5.3.12 kernel) and FreeBSD -r355027 and got a surprise for the CPU/memory-cache dominated range. The benchmark explores from small problems dependent primarily on CPU speed (and memory cache speed) to sizes/patterns dominated by RAM speed (the access pattern makes caches far less effective). (I do not normally use it to explore sizes that would involve paging and have not done so here.) The RAM-speed dominated part is ball park similar, as expected. BUT: For the CPU/cache-speed dominated part FreeBSD is near a factor of 2 slower than for ArchLinuxARM. My guess is that the FreeBSD CPU frequency is staying at 600 MHz instead of going to the 1200MHz or 1296MHz that is listed as possible: dev.cpufreq_dt.3.freq_settings: 408/-1 600/-1 816/-1 1008/-1 1200/-1 1296/-1 dev.cpufreq_dt.3.%parent: cpu3 dev.cpufreq_dt.3.%pnpinfo: dev.cpufreq_dt.3.%location: dev.cpufreq_dt.3.%driver: cpufreq_dt dev.cpufreq_dt.3.%desc: Generic cpufreq driver dev.cpufreq_dt.2.freq_settings: 408/-1 600/-1 816/-1 1008/-1 1200/-1 1296/-1 dev.cpufreq_dt.2.%parent: cpu2 dev.cpufreq_dt.2.%pnpinfo: dev.cpufreq_dt.2.%location: dev.cpufreq_dt.2.%driver: cpufreq_dt dev.cpufreq_dt.2.%desc: Generic cpufreq driver dev.cpufreq_dt.1.freq_settings: 408/-1 600/-1 816/-1 1008/-1 1200/-1 1296/-1 dev.cpufreq_dt.1.%parent: cpu1 dev.cpufreq_dt.1.%pnpinfo: dev.cpufreq_dt.1.%location: dev.cpufreq_dt.1.%driver: cpufreq_dt dev.cpufreq_dt.1.%desc: Generic cpufreq driver dev.cpufreq_dt.0.freq_settings: 408/-1 600/-1 816/-1 1008/-1 1200/-1 1296/-1 dev.cpufreq_dt.0.%parent: cpu0 dev.cpufreq_dt.0.%pnpinfo: dev.cpufreq_dt.0.%location: dev.cpufreq_dt.0.%driver: cpufreq_dt dev.cpufreq_dt.0.%desc: Generic cpufreq driver dev.cpufreq_dt.%parent: dev.cpu.0.freq_levels: 1296/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.0.freq: 600 (The above was not from during a benchmark run: just showing the default and the alternatives listed.) Is the reversal of ordering of freq_settings vs. freq_levels also interesting? === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)