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 kGZcAsStDV9mXQAA0tVLHw (envelope-from ) for ; Tue, 14 Jul 2020 13:06:12 +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 QPnNOcOtDV/dCAAAB5/wlQ (envelope-from ) for ; Tue, 14 Jul 2020 13:06: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 843BC9404C9 for ; Tue, 14 Jul 2020 13:06:11 +0000 (UTC) Received: from localhost ([::1]:52500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvKdO-000327-Ic for larch@yhetil.org; Tue, 14 Jul 2020 09:06:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvKdG-00031l-MP for bug-guix@gnu.org; Tue, 14 Jul 2020 09:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvKdG-0004rZ-Dg for bug-guix@gnu.org; Tue, 14 Jul 2020 09:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvKdG-0006Gx-7c for bug-guix@gnu.org; Tue, 14 Jul 2020 09:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40626: Poor performance on low-end ARMv7 devices Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Jul 2020 13:06:02 +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: Denis 'GNUtoo' Carikli Received: via spool by 40626-submit@debbugs.gnu.org id=B40626.159473195224089 (code B ref 40626); Tue, 14 Jul 2020 13:06:02 +0000 Received: (at 40626) by debbugs.gnu.org; 14 Jul 2020 13:05:52 +0000 Received: from localhost ([127.0.0.1]:50409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvKd6-0006GT-FX for submit@debbugs.gnu.org; Tue, 14 Jul 2020 09:05:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvKd3-0006G8-1i for 40626@debbugs.gnu.org; Tue, 14 Jul 2020 09:05:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58568) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvKcx-0004kW-FN; Tue, 14 Jul 2020 09:05:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37176 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jvKcw-0008So-O6; Tue, 14 Jul 2020 09:05:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a73exj5v.fsf@inria.fr> <20200703015725.11a6515c@primarylaptop.localdomain> <87ft9vr12g.fsf@gnu.org> <20200714063959.19196a53@primarylaptop.localdomain> Date: Tue, 14 Jul 2020 15:05:41 +0200 In-Reply-To: <20200714063959.19196a53@primarylaptop.localdomain> (Denis Carikli's message of "Tue, 14 Jul 2020 06:39:59 +0200") Message-ID: <87ft9umel6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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.01 X-TUID: R4TGyZeFAQVf Hi, Denis 'GNUtoo' Carikli skribis: > 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. Yeah, the profiles at suggest a couple of things to investigate in Guile. > 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. Interesting, thanks! Ludo=E2=80=99.