From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oEmtJ4M5DV9MCAAA0tVLHw (envelope-from ) for ; Tue, 14 Jul 2020 04:50:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ILSUI4M5DV88FQAAB5/wlQ (envelope-from ) for ; Tue, 14 Jul 2020 04:50:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DA93F940368 for ; Tue, 14 Jul 2020 04:50:10 +0000 (UTC) Received: from localhost ([::1]:35874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvCtM-0003op-T4 for larch@yhetil.org; Tue, 14 Jul 2020 00:50:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvCtG-0003oj-1t for bug-guix@gnu.org; Tue, 14 Jul 2020 00:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvCtF-0004bi-Oz for bug-guix@gnu.org; Tue, 14 Jul 2020 00:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvCtF-0006nW-Lw for bug-guix@gnu.org; Tue, 14 Jul 2020 00:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40626: Poor performance on low-end ARMv7 devices Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Jul 2020 04:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40626 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 40626-submit@debbugs.gnu.org id=B40626.159470214826067 (code B ref 40626); Tue, 14 Jul 2020 04:50:01 +0000 Received: (at 40626) by debbugs.gnu.org; 14 Jul 2020 04:49:08 +0000 Received: from localhost ([127.0.0.1]:49930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvCsO-0006mL-5c for submit@debbugs.gnu.org; Tue, 14 Jul 2020 00:49:08 -0400 Received: from cyberdimension.org ([80.67.179.20]:42120 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvCsL-0006mC-Qz for 40626@debbugs.gnu.org; Tue, 14 Jul 2020 00:49:06 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id c0da11dd; Tue, 14 Jul 2020 04:47:14 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 698a7363; Tue, 14 Jul 2020 04:47:14 +0000 (UTC) Date: Tue, 14 Jul 2020 06:39:59 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20200714063959.19196a53@primarylaptop.localdomain> In-Reply-To: <87ft9vr12g.fsf@gnu.org> References: <87a73exj5v.fsf@inria.fr> <20200703015725.11a6515c@primarylaptop.localdomain> <87ft9vr12g.fsf@gnu.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zD7benGhrppGhhjBGIlqW3s"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40626@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: hy+5xbkn5VIP --Sig_/zD7benGhrppGhhjBGIlqW3s Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 13 Jul 2020 15:34:15 +0200 Ludovic Court=C3=A8s wrote: > Hi, >=20 > Denis 'GNUtoo' Carikli skribis: >=20 > > Many ARM Single Board Computers are commonly used with microSD for > > storage, and some microSD cards are extremely slow (and sometimes > > unreliable when they are old). > > > > Could the performance issues be related to storage device I/Os? >=20 > It could be the reason; it=E2=80=99s definitely the case on the board I w= as > using here. >=20 > Still I wonder what could be done on our side to improve on this. I guessed that was the intent. A way to deal with that could be to validate if it's actually the case, for instance by installing an SSD, and doing performance comparison with the time command. Then if it helps a lot, we probably need to trace the filesystem access and optimize it somehow. Maybe that can be done with BPF or gprof, but I never looked into obtimizing I/O performances, so I'm unsure if that's the right approach. Guile may have profiling tools too. As for benchmarking the CPU, I've patched phoronix-test-suite in a very quick and dirty way in Parabola, so we could at least have some benchmarks. For now we only have "compilation" benchmarks with source code that should be FSDG compliant. With it I've found that the compilation performances can vary a lot between different ARM and x86 boards: - An I.MX6 Quad with 2G of RAM is about 4.5x faster than the AM335x of a Beaglebone Green with 512M of RAM. - A Lime2 A20 is about 1.7x faster than the Beaglebone Green and 2.5x slower than the board with the I.MX6 Quad. - My smartphone (Galaxy SIII GT-I9300) is about 2x faster than my server (PC Engines APU1) for compilation. Denis. --Sig_/zD7benGhrppGhhjBGIlqW3s Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAl8NNyAACgkQX138wUF3 4mPm7hAAlyGuNNBHykJhMYi8Zs4PUV4lNWRrvMfc0aO4JufCTJJgqfMooZppiFoe U5bbMB5I4bkdp5DfxUdkTQU+mq2zy4QoX3OhjyBUrgQJUfIkIsdMNOih96rjnI+J St3tLK7rnTLzNCOYCOUpXCFQD9lESkTZwgkF/nsuoCU3L1YbQpub/JZHANef9FFA iR9/UzpVIvLCr06U8vDKVt/RV8Xw5ZBlxHtAQhWENOc/o4ljTGCLbhsGhx0Ee9Az c27U0YUUcg/8X67n1u2Wr/idSmOHzqgnUuO9fRQlwRAI02o4lqe10ALrScWmD0U5 lBPUMCseL//HQWCM+raUeh/Ya/fRiBhm6WkxNv8xeACS5w+82zPR9PUc5OzJ8LOz 0hogEPmvqRpyfqHB+et5CiL+Y16gyof42wnNVIeGsbXrMMUTuPofBqI4ric6EUKL Uj/H+PrthFJF+v2qpuOGHFv0Sb2OkFMdJfNj0ZfTVdM4olmGRXPBzV+F9f+cxVOC ReTmE1WbfNXOpekrSQ+ez/v9JJfVBvd3G6CGmRbJJMRn9qHfsgQndzN/hb8wyE/t 4K+32vItRvqC7/I/pRzP4GrVtOhRJCczoFNG04eyCVpW4VtymLPTPpxjmbY5Rmse CV/9ClF1JdhPdCJODtx1/O7797uZxFDMi4pVjU+HpUncKbYbTD0= =vYYm -----END PGP SIGNATURE----- --Sig_/zD7benGhrppGhhjBGIlqW3s--