From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qGkaMw7q52H/OQEAgWs5BA (envelope-from ) for ; Wed, 19 Jan 2022 11:38:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sPGmLw7q52F2AwEAauVa8A (envelope-from ) for ; Wed, 19 Jan 2022 11:38:06 +0100 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 80B6C32391 for ; Wed, 19 Jan 2022 11:38:06 +0100 (CET) Received: from localhost ([::1]:42102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nA8Lt-0000oT-7P for larch@yhetil.org; Wed, 19 Jan 2022 05:38:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA8CD-0001Fh-SS for guix-patches@gnu.org; Wed, 19 Jan 2022 05:28:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nA8CA-0000KW-ET for guix-patches@gnu.org; Wed, 19 Jan 2022 05:28:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nA8CA-0008Rq-0z for guix-patches@gnu.org; Wed, 19 Jan 2022 05:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53121] [PATCH] gnu: ceres: Update to 2.0.0. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jan 2022 10:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53121 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Felix Gruber Cc: 53121-done@debbugs.gnu.org Received: via spool by 53121-done@debbugs.gnu.org id=D53121.164258802632397 (code D ref 53121); Wed, 19 Jan 2022 10:28:01 +0000 Received: (at 53121-done) by debbugs.gnu.org; 19 Jan 2022 10:27:06 +0000 Received: from localhost ([127.0.0.1]:52417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA8BF-0008QT-N7 for submit@debbugs.gnu.org; Wed, 19 Jan 2022 05:27:05 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA8BC-0008Pt-Sz for 53121-done@debbugs.gnu.org; Wed, 19 Jan 2022 05:27:05 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6DFC3195; Wed, 19 Jan 2022 11:26:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id trzvLTA9YBzl; Wed, 19 Jan 2022 11:26:55 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0AEFF3B6; Wed, 19 Jan 2022 11:26:54 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220107220217.15305-1-felgru@posteo.net> <87a6g2t7fw.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?UTF-8?Q?Niv=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 19 Jan 2022 11:26:54 +0100 In-Reply-To: (Felix Gruber's message of "Tue, 18 Jan 2022 12:39:42 +0000") Message-ID: <87y23caump.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 6DFC3195 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642588686; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=nQX7SFdUseuoph0vGg+ludy8goyMJofGAzbgJ9fiCJA=; b=FKsSMtQwGZ/Lpf/fY/EJBvjyxRdt/rDCyf8B2kq6Gd4H4PpxsEhvMs3QXJkV9vH33k+hIh HtLvfqAFJHlf6O9tt87vhuN3P8BF7nOqJLGB3ORJeCBlII3zcRWccwde40CIPMTSn265+3 DfVMbzAVK2p1fggVF6IWprdDFTwyLzieiJdz9KOOIqLMz0fFYvyjpDIRSTY9xuE8M4bz5S NFEb8Pc/opELwzRTU4/wXlZ3MMFXS3KL1tD7EoW9zJim1sYrj1HgIY5LB4tj4DJgHb3/IM V+zHtLX2SaWndN6grARvT4SDnJiXAKVu/irqQx7nztaOrlhH0Qto2Nr3lrygjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642588686; a=rsa-sha256; cv=none; b=uHyxRJ4sHl2dUDcNSiJTnJDkADobCRaAbSF9IIQdy9rb5VTMsLlOF3Uj0z4cGtj/lIOCnK XU0UWvOlUw2b5L11aLnh3hFoojqLqin3FcZusCV/Z3uHcqe/HbagM4nff77Eb1CD7gYj7I EEkXPsCDbMoHypbDeIlF4UeUsDN1Nd/mwXcY58KgN/IYz79gpgNgcHJCwHyKHGD8gOexb3 AZlAit7oWYvYGoBhUwCYyG3GgWLcmaYOJupO8pbicXTQcE8YYlv5zKFWFzR8ZD6jMKKbL9 fKl1PmjY0UnYLN/oKksjWybaG454nhS5o0NQVYGv8JTC3/aT70rTIElEjSPsfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 80B6C32391 X-Spam-Score: -3.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: PmONAxTgpTBD Hi, Felix Gruber skribis: > Unfortunately, I'm getting mixed results for the benchmarks. In most > cases, I got slight (<10%) improvements in runtime, but there are also=20 > some benchmarks that were worse with the --tune flag. I'm wondering > whether the compiler flags set by the --tune option are correctly used=20 > by the custom 'build phase of the ceres-solver-benchmarks package. I > didn't have the time to look closer into it as I'm currently in the=20 > middle of moving to another country. OK. > Anyways, I've attached the results of benchmark runs that I've > generated using guix commit 7f779286df7e8636d901f4734501902cc934a72f > once untuned and once tuned for broadwell CPUs. > My laptop on which I ran the tests has a Quad Core AMD Ryzen 7 PRO > 2700U CPU with 2200 MHz. Could it be that =E2=80=98znver3=E2=80=99 or something works better on thos= e CPUs? > In the attachments you find > * a script run_benchmarks.sh used to run the benchmarks in tuned and > untuned guix shells, > * text files ending in `-tuned` or `-untuned` which contain the > results of those benchmark runs, > * a script compare.sh which calls a Python script compare-results.py > to generate files ending in `-diff` that contain the relative change=20 > between untuned and tuned benchmarks (negative time and CPU > percentages mean the tuned benchmark was faster, while for the number > of iterations, positive percentages mean the tuned benchmark had run > more iterations). Interesting, thanks for taking the time to run these benchmarks. It=E2=80=99s hard to draw conclusions. I wonder how noisy these measuremen= ts are and whether the differences we=E2=80=99re seeing are significant. Food= for thoughts! Ludo=E2=80=99.