From owner-freebsd-arm@freebsd.org Sun Jan 3 18:58:11 2021 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 6EB114DA723 for ; Sun, 3 Jan 2021 18:58:11 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D87Lp5h3qz3pC2 for ; Sun, 3 Jan 2021 18:58:10 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=51800 helo=[10.0.30.30]) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92.3) (envelope-from ) id 1kw8Zp-0006Yu-Ga for freebsd-arm@freebsd.org; Sun, 03 Jan 2021 18:58:09 +0000 To: freebsd-arm@freebsd.org From: Andy McClements Subject: RPi4b 13.0-Current, big performance hit with HDMI connected Message-ID: <654ae9bb-012a-ccfe-3656-7bb100bca6a0@ip-ether.net> Date: Sun, 3 Jan 2021 18:58:05 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 0 X-Spam-Status: No, score=-0.1 X-Rspamd-Queue-Id: 4D87Lp5h3qz3pC2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ajm@ip-ether.net designates 2a00:1098:0:82:1000:0:2:1 as permitted sender) smtp.mailfrom=ajm@ip-ether.net X-Spamd-Result: default: False [-3.32 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1098:0:82:1000:0:2:1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[ip-ether.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1098:0:82:1000:0:2:1:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; NEURAL_HAM_SHORT(-0.82)[-0.817]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 18:58:11 -0000 This may not be news to folks around here but it suprised me. I was just doing some very quick performance checks having got my RPi4b to boot from SSD. I wanted to verify CPU frequency scaling was working so did a quick net and disk throughput check. Any insights on this would be most welcome. Results: HDMI connected ============== root@generic:~ # iperf3 -c 10.0.30.30 Connecting to host 10.0.30.30, port 5201 [ 5] local 10.0.30.130 port 60995 connected to 10.0.30.30 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.01 sec 75.0 MBytes 625 Mbits/sec 0 209 KBytes [ 5] 1.01-2.00 sec 76.2 MBytes 641 Mbits/sec 0 209 KBytes [ 5] 2.00-3.00 sec 76.7 MBytes 645 Mbits/sec 0 209 KBytes root@generic:~ # diskinfo -t /dev/da0 Transfer rates: outside: 102400 kbytes in 0.694994 sec = 147339 kbytes/sec middle: 102400 kbytes in 0.692708 sec = 147826 kbytes/sec inside: 102400 kbytes in 0.692531 sec = 147863 kbytes/sec HDMI disconnected ================= root@generic:~ # iperf3 -c 10.0.30.30 Connecting to host 10.0.30.30, port 5201 [ 5] local 10.0.30.130 port 60384 connected to 10.0.30.30 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 113 MBytes 946 Mbits/sec 0 208 KBytes [ 5] 1.00-2.00 sec 113 MBytes 947 Mbits/sec 0 208 KBytes [ 5] 2.00-3.00 sec 113 MBytes 947 Mbits/sec 0 208 KBytes [ 5] 3.00-4.00 sec 113 MBytes 947 Mbits/sec 0 208 KBytes root@generic:~ # diskinfo -t /dev/da0 Transfer rates: outside: 102400 kbytes in 0.541603 sec = 189068 kbytes/sec middle: 102400 kbytes in 0.468219 sec = 218701 kbytes/sec inside: 102400 kbytes in 0.473097 sec = 216446 kbytes/sec