GNU bug report logs - #58035
sync-before-registering is false, possibly the cause of empty files in the store

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Maxime Devos <maximedevos@HIDDEN>; Keywords: moreinfo; dated Sat, 24 Sep 2022 01:36:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 18 Oct 2022 15:34:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 11:34:53 2022
Received: from localhost ([127.0.0.1]:53826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1okoc2-000897-3e
	for submit <at> debbugs.gnu.org; Tue, 18 Oct 2022 11:34:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35306)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1okobu-00088o-Ff
 for 58035 <at> debbugs.gnu.org; Tue, 18 Oct 2022 11:34:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52694)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1okobn-0000fg-Ql; Tue, 18 Oct 2022 11:34:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=FZFB2ulcELgjcRcpmG1jkYBcdUYOtCS7brzU8Icgpts=; b=iOK4Qp/t9uaeQ8fXa7jR
 CYZ7OuhNeea8lO4ndyVia25pRFOaZKSD20IUdjq2cNRVBqYYtPOhVpNHJ5PHRCq/j6eAPkJbchJQa
 9MPHIdcu3WNxLL1jYaem8K2j3oxiqyZdEwQR+mYc2qHJ4JtMMxCcmtPk+PFCChKV5qEkpCQooxmXr
 Di3LYP1464xEUApaLMlORiCiLBW81kzRREx85ylqp2jEEl5xWK2IJwrQE2oSAdQO0MPU2OAgOdp3g
 1lFY4F1uvlwpWNL31Tmr/SzTiKNuir13eBpJ9fKhXErf+4xdr/czkOVS8MVxXThDcghSih43PKwkJ
 z+L1s/ZDRk0iag==;
Received: from [193.50.110.209] (port=57296 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1okobl-0007Me-Cu; Tue, 18 Oct 2022 11:34:22 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: [bug#58035] sync-before-registering is false, possibly the
 cause of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN>
 <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN> <878rlel43z.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Septidi 27 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour du Piment
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: Tue, 18 Oct 2022 17:34:19 +0200
In-Reply-To: <878rlel43z.fsf@HIDDEN> (zimoun's message of "Mon, 17 Oct 2022
 20:03:28 +0200")
Message-ID: <87sfjlkux0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58035
Cc: Maxime Devos <maximedevos@HIDDEN>, 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

zimoun <zimon.toutoune@HIDDEN> skribis:

> 3x time slower with my hardware.  Closing?

Ouch!

> On mar., 04 oct. 2022 at 23:49, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
>> Maybe a good test would be to run a daemon on an =E2=80=9Caverage=E2=80=
=9D HDD with
>> sync-before-registering =3D true and to run =E2=80=98perf timechart reco=
rd=E2=80=99 while
>> it=E2=80=99s fetching a large number of substitutes.  That way we=E2=80=
=99d have
>> concrete data to talk about.
>
> + Comparison using the manifest below.
> + guix-daemon built using fd4cbcbed7; two flavors.
> + Guix revision f43a783.
> + Before the experiment, complete =E2=80=99guix gc=E2=80=99.
>
>   # test-58035/guix-daemon --build-users-group=3Dguixbuild
>   # perf timechart record
>   $ time guix build -m some-packages.scm
>   # perf timechart --highlight guix

OK.

> 1/ sync-before-registering =3D false
>
> real    6m24.215s
> user    0m10.627s
> sys     0m0.512s
>
> [ perf record: Woken up 1984 times to write data ]
> [ perf record: Captured and wrote 497.403 MB perf.data (5042727 samples)]
>
>
> 2/ sync-before-registering =3D true
>
> real    19m46.470s
> user    0m12.367s
> sys     0m0.557s=20=20=20=20=20=20
>
> [ perf record: Woken up 2625 times to write data ]
> [ perf record: Captured and wrote 658.066 MB perf.data (6712342 samples) ]

That speaks for itself.

Let=E2=80=99s keep the bug open in case Maxime or someone else comes up wit=
h a
more practical fix.

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 17 Oct 2022 18:51:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 14:51:49 2022
Received: from localhost ([127.0.0.1]:49977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1okVDJ-0005DO-M4
	for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 14:51:49 -0400
Received: from albert.telenet-ops.be ([195.130.137.90]:50430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1okVDH-0005DF-15
 for 58035 <at> debbugs.gnu.org; Mon, 17 Oct 2022 14:51:48 -0400
Received: from [192.168.75.79] ([188.188.1.40])
 by albert.telenet-ops.be with bizsmtp
 id Z6rj2800E0rnR8C066rjgE; Mon, 17 Oct 2022 20:51:45 +0200
Message-ID: <aa1f542d-9de6-41a0-4eec-2f4390950b7a@HIDDEN>
Date: Mon, 17 Oct 2022 20:51:43 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.3.1
Subject: Re: [bug#58035] sync-before-registering is false, possibly the cause
 of empty files in the store
Content-Language: en-US
To: zimoun <zimon.toutoune@HIDDEN>, =?UTF-8?Q?Ludovic_Court=c3=a8s?=
 <ludo@HIDDEN>
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN> <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN> <878rlel43z.fsf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <878rlel43z.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------NxpX7zJPw4CrUac79dMR5R0D"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1666032705; bh=lvqcbpXHcgDasXLdX2BDSNu1kZ7kWlNCUHrrJRYRQSk=;
 h=Date:Subject:To:Cc:References:From:In-Reply-To;
 b=cgrLN8xeIz/TP8XKVP1Rq/XrILsspO8AQqb94nuiMhK5iPHWE0tR7B950sAzpIhVx
 6OR/PVm6LJw7ctcjwmF4WKEEbqcZRSsa6jOETZR1aKe4DSTnwuUtPO3aru9M/+PRDC
 jwOOp/n3BFVFm35GAuDdaJWQeyw9d4kYOI86HWNoRbQ+bWqSbpgQro8oGgazILee2f
 N2fsbiyA0HFoVasVnnXHEILByd+tYaxTULtlX+TrDT593y7+y5gZm4/4QQs0xrJ/7Z
 BCNFXsPmlvSBGacT5sM1YBVBhXY7FKsXG20i7ILfTgkNkwR/629jv9T63lydySo9gl
 2rrUmyKXZpKiw==
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------NxpX7zJPw4CrUac79dMR5R0D
Content-Type: multipart/mixed; boundary="------------WR3WxPawRc7hU0MIkFlr8wM9";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>, =?UTF-8?Q?Ludovic_Court=c3=a8s?=
 <ludo@HIDDEN>
Cc: 58035 <at> debbugs.gnu.org
Message-ID: <aa1f542d-9de6-41a0-4eec-2f4390950b7a@HIDDEN>
Subject: Re: [bug#58035] sync-before-registering is false, possibly the cause
 of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN> <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN> <878rlel43z.fsf@HIDDEN>
In-Reply-To: <878rlel43z.fsf@HIDDEN>

--------------WR3WxPawRc7hU0MIkFlr8wM9
Content-Type: multipart/mixed; boundary="------------qjURFzGFdUeCG1kMfxq0h14c"

--------------qjURFzGFdUeCG1kMfxq0h14c
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQoNCk9uIDE3LTEwLTIwMjIgMjA6MDMsIHppbW91biB3cm90ZToNCj4gM3ggdGltZSBzbG93
ZXIgd2l0aCBteSBoYXJkd2FyZS4gIENsb3Npbmc/DQoNCkkgaGFkIGFuIGFsdGVybmF0aXZl
IHByb3Bvc2FsIHRvICdzeW5jLWJlZm9yZS1yZWdpc3RlcmluZyA9IHRydWUnIC0tIA0KbW9y
ZSB3b3JrIHRvIGltcGxlbWVudCwgYnV0IHBvdGVudGlhbGx5IGZhc3Rlciwgc28gSU1PIG5v
Lg0KDQpHcmVldGluZ3MsDQpNYXhpbWUuDQo=
--------------qjURFzGFdUeCG1kMfxq0h14c
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------qjURFzGFdUeCG1kMfxq0h14c--

--------------WR3WxPawRc7hU0MIkFlr8wM9--

--------------NxpX7zJPw4CrUac79dMR5R0D
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCY02kPwUDAAAAAAAKCRBJ4+4iGRcl7i80
AQD2yTmmaMfctLGxQQmmWUZC6pZyFte24nVmipReqPQ57gD/WEB+YvPRF/RRUcuz+5NZ6+paosJD
FYwM2PBafZ8TNg8=
=zTA3
-----END PGP SIGNATURE-----

--------------NxpX7zJPw4CrUac79dMR5R0D--




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 17 Oct 2022 18:03:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 14:03:39 2022
Received: from localhost ([127.0.0.1]:49915 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1okUSh-0001lt-7s
	for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 14:03:39 -0400
Received: from mail-wr1-f42.google.com ([209.85.221.42]:40473)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1okUSf-0001lg-Oj
 for 58035 <at> debbugs.gnu.org; Mon, 17 Oct 2022 14:03:38 -0400
Received: by mail-wr1-f42.google.com with SMTP id w18so19646809wro.7
 for <58035 <at> debbugs.gnu.org>; Mon, 17 Oct 2022 11:03:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=TSkj5AnC0mWICb+rYpg8w1HXXGMOrD/k+5YNfEM8Y4g=;
 b=GVpP8V2CxpT7Bit4BSe87RSyqXYiMOFTb9W06+OtCnoL5IA0kRuGTykhyIZTCzWKe2
 7q6lrnFVXc4KuEam3UElNiAnitIlyURU0gVE/Lq7ta41QCphIkIqSk/bBksTfr2Kp9yY
 2fSyLeiCYeiyfJeldFZnrvkKMXGQPWJkKa/FjVZJBuFGZSDtnMiN8t3eAI1U3jamq+a9
 bnt6jSIc/YqCGiC1ASCJmDokjGtjMFODQDLQeqWtT3g66CADEv+nbm0w8zcyQ0fLT2zw
 Kzi5roTKPRk1PxP1cksrsKfbmZBhGQIkJCf25aYozySrai76ABvxG3E5U5NnlZnL+44E
 tDMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=TSkj5AnC0mWICb+rYpg8w1HXXGMOrD/k+5YNfEM8Y4g=;
 b=c8Wvpw4MKHB05NEq516IDYxO253qNbxwjGZBIPbuFPBvzPDboszoeGfypFAFCz9IZH
 jwxTCgrm4V69A8B3/r11vPbORne2+YejZBBa5W0PrRNEQuiUXnBc0FdYQMPvREnosY+Q
 MVwU/YXhY9lW9o14w7wi3VUvtjsL4PoO//2mOkj6LQUn0vSwdAcBTg/4OVyEObkZrx9G
 XLvLoLnd3VqaVcCS0uoPcHdBGQi5t2aHjb2XVEnkpRscaoFu94hmg0sI92ariBGVe/u1
 KIh7JtYHwVSDZvHj/81XsVPgBcQIxeBGAIP3ps41+okPkRH2nSPpW0lDxO6cxfsJFAw4
 JSTQ==
X-Gm-Message-State: ACrzQf2PZ+6v0YatVGimLa+bgK/dDBUQq9UMalkgB2ZNNiZFZH0ts6wh
 uW4aKWuwIan7uaG8G53opGH9nXY4UXE=
X-Google-Smtp-Source: AMsMyM6LzGd3AFF/CKbUvc78kM04/yI4Qq4JYUqeCRkHvyqiphiPt2mqA9fTD8DgyeM2pTlwwpRxnQ==
X-Received: by 2002:a5d:59a3:0:b0:22e:4b62:7ceb with SMTP id
 p3-20020a5d59a3000000b0022e4b627cebmr7207060wrr.90.1666029811533; 
 Mon, 17 Oct 2022 11:03:31 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 bi20-20020a05600c3d9400b003b49ab8ff53sm10756923wmb.8.2022.10.17.11.03.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 17 Oct 2022 11:03:30 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Maxime Devos
 <maximedevos@HIDDEN>
Subject: Re: [bug#58035] sync-before-registering is false, possibly the
 cause of empty files in the store
In-Reply-To: <87zgebs1h5.fsf@HIDDEN>
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN> <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN>
Date: Mon, 17 Oct 2022 20:03:28 +0200
Message-ID: <878rlel43z.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

3x time slower with my hardware.  Closing?


On mar., 04 oct. 2022 at 23:49, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Maybe a good test would be to run a daemon on an =E2=80=9Caverage=E2=80=
=9D HDD with
> sync-before-registering =3D true and to run =E2=80=98perf timechart recor=
d=E2=80=99 while
> it=E2=80=99s fetching a large number of substitutes.  That way we=E2=80=
=99d have
> concrete data to talk about.

+ Comparison using the manifest below.
+ guix-daemon built using fd4cbcbed7; two flavors.
+ Guix revision f43a783.
+ Before the experiment, complete =E2=80=99guix gc=E2=80=99.

  # test-58035/guix-daemon --build-users-group=3Dguixbuild
  # perf timechart record
  $ time guix build -m some-packages.scm
  # perf timechart --highlight guix

1/ sync-before-registering =3D false

real    6m24.215s
user    0m10.627s
sys     0m0.512s

[ perf record: Woken up 1984 times to write data ]
[ perf record: Captured and wrote 497.403 MB perf.data (5042727 samples)]


2/ sync-before-registering =3D true

real    19m46.470s
user    0m12.367s
sys     0m0.557s=20=20=20=20=20=20

[ perf record: Woken up 2625 times to write data ]
[ perf record: Captured and wrote 658.066 MB perf.data (6712342 samples) ]


Well, the charts are really big.

    $ du -sh {1,2}-build-*.svg
    331M    1-build-false.svg
    599M    2-build-true.svg

Therefore, please find them using this link (alive for 15 days):

https://filesender.renater.fr/?s=3Ddownload&token=3D0e861286-ec0c-4815-bb49=
-2bce91b14462


Cheers,
simon


--8<---------------cut here---------------start------------->8---
(use-modules (guix build-system haskell)
             (guix build-system julia)
             (guix packages)
             (guix profiles)
             (gnu packages))

(manifest
 (map package->manifest-entry
      (fold-packages
       (lambda (package result)
         (if (or
              ;;(eq? (package-build-system package) haskell-build-system)
              (eq? (package-build-system package) julia-build-system))
             (cons package result)
             result))
       '())))
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
diff --git a/nix/libstore/globals.cc b/nix/libstore/globals.cc
index d4f9a46a74..5f8a3a3031 100644
--- a/nix/libstore/globals.cc
+++ b/nix/libstore/globals.cc
@@ -40,7 +40,7 @@ Settings::Settings()
     reservedSize =3D 8 * 1024 * 1024;
     fsyncMetadata =3D true;
     useSQLiteWAL =3D true;
-    syncBeforeRegistering =3D false;
+    syncBeforeRegistering =3D true;
     useSubstitutes =3D true;
     useChroot =3D false;
     impersonateLinux26 =3D false;
--8<---------------cut here---------------end--------------->8---




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 7 Oct 2022 09:44:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 05:44:30 2022
Received: from localhost ([127.0.0.1]:34385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ogju9-00021Y-RB
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2022 05:44:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46470)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ogju7-00021I-66
 for 58035 <at> debbugs.gnu.org; Fri, 07 Oct 2022 05:44:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45428)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ogjtz-0001vS-24; Fri, 07 Oct 2022 05:44:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=FiiLpuw9yI2aKyra2TIQ3AZ7IcIspzFgHe1xAaPqeGA=; b=FoNeotfqySuPUmE5s3lH
 8NE0ldCcUlmn6e/D1W+frZ+53wMV/uD3l38nL0u5VIthYFovzeDZ4/WYxOW9l8/wtJ40xQhUje/Le
 IXrhVz3j+FBBYVEn/7+Kw4eziv8DypiAXrhLDFn7CwDOb39o7yiozIKSc4KtNZvmKE5c3UEwiQ4r3
 r8jRmAbXmx0O/NCwofWP1BNdiq/tBTU37JzNWqn60OKqDHmnKXsePD/BY9ncIrJgbYvEe0PUZj3xh
 TBgoIcr8SIjR0Nv6Qrti7GjAoQ5tEkvGzzsrtvdGjFYM558VGzCKumXBNX6bznnriwTsaa68c2g5W
 6272vyNbaZunsQ==;
Received: from [193.50.110.253] (port=44070 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ogjty-0001HK-Gs; Fri, 07 Oct 2022 05:44:18 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: [bug#58035] sync-before-registering is false, possibly the
 cause of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN>
 <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN> <86ilkyzdsl.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Sextidi 16 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour de la Belle de nuit
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: Fri, 07 Oct 2022 11:44:17 +0200
In-Reply-To: <86ilkyzdsl.fsf@HIDDEN> (zimoun's message of "Wed, 05 Oct 2022
 13:54:18 +0200")
Message-ID: <87o7uoc6j2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58035
Cc: Maxime Devos <maximedevos@HIDDEN>, 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

zimoun <zimon.toutoune@HIDDEN> skribis:

> On Tue, 04 Oct 2022 at 23:49, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
>> Maybe a good test would be to run a daemon on an =E2=80=9Caverage=E2=80=
=9D HDD with
>> sync-before-registering =3D true and to run =E2=80=98perf timechart reco=
rd=E2=80=99 while
>> it=E2=80=99s fetching a large number of substitutes.  That way we=E2=80=
=99d have
>> concrete data to talk about.
>
> What is =E2=80=99perf timechart record=E2=80=99?

It=E2=80=99s a tool of Linux=E2=80=99s =E2=80=98perf=E2=80=99=E2=80=94see =
=E2=80=98guix install perf=E2=80=99.

HTH!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 7 Oct 2022 07:55:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 03:55:31 2022
Received: from localhost ([127.0.0.1]:34229 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ogiCh-0005Yv-16
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2022 03:55:31 -0400
Received: from mail-wm1-f47.google.com ([209.85.128.47]:38578)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1ogiCc-0005Yf-B8
 for 58035 <at> debbugs.gnu.org; Fri, 07 Oct 2022 03:55:30 -0400
Received: by mail-wm1-f47.google.com with SMTP id
 h189-20020a1c21c6000000b003bd44dc526fso491592wmh.3
 for <58035 <at> debbugs.gnu.org>; Fri, 07 Oct 2022 00:55:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date;
 bh=awl7vjyHhTct3z5AmV8NRGuZRPz5nemm8WTlln3769Q=;
 b=OPBmdRlZ/4Ah6YrEWIpdAAZS7bnXg7yO50Fy6WsmqySanZ5m/M+GlutG+C2/+r5BUr
 5KmoVj5osUaa6x5s+ed6i3PR/9OQPlu7KFcUJQVZPpL6lZBnmUSdx7If3UIV/JTIYH39
 zWIctdei5U7A2pXL3ZF5E26u/e/vyv3dQe4uwRQ6DNWHi9joSFrY9s49w9FZPCbIJwRq
 660bh2gLUWlfJ1+6DTdT4be8vEZOW/VT0U7U+JSyRW9glgilKAVF0Rd9mOd2xeONHGca
 nfj3MriMBrfTmDD1m7pXiTT1OnwxQA34pRYeIsyOQWObpQtcXO1prcxNLt1oFY4X4Jtf
 /myA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date;
 bh=awl7vjyHhTct3z5AmV8NRGuZRPz5nemm8WTlln3769Q=;
 b=cDzzlo/607GIcG1t59jHTIzuIcvzi2reVn4uoUhzy/92JiJyyw4T4ULSoP4kfLVa10
 VIwZrYvqoTqxorI5KWQMjTF/sXX05GEQrCgvCLomAKbNqCf/TTh8JVKErwLfe6KTOEBa
 ZB5IaD+EW3LNDKu6Jji5N9ogJcOPYG3NhZTNlDqObsAkqYJ5wgZMgk1UQ5ZL7tRLDSAZ
 K8qOcKidKS4l1G+Cd2/fg6bBRvMSdqB85eU3FrNLsb9ndmvssPskP2/twtTb5YF/O5O5
 6QFZA3PuH0kZIOCnQPZAynO9ywA5m5qi1HBM49xpdA5PT2oiXL5qyA+/U0RqsucH56lQ
 X3Hg==
X-Gm-Message-State: ACrzQf0dbTVF0KA4/kxqnlzOc0jqrNKbB1i48Bmi4909bALMhUH/kj++
 7heMltuq5zpMDiXEsopRz8rIromDuoU=
X-Google-Smtp-Source: AMsMyM7ZNpn3iR71yY8uEgShf3H1JlzZEm8Pb3EipwyVE5u3QMJzozLvs07Sg3Ne6ailaejx2RS9aQ==
X-Received: by 2002:a05:600c:21c7:b0:3bd:ef29:2d08 with SMTP id
 x7-20020a05600c21c700b003bdef292d08mr9205407wmj.177.1665129319369; 
 Fri, 07 Oct 2022 00:55:19 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-43.net.univ-paris-diderot.fr.
 [194.254.61.43]) by smtp.gmail.com with ESMTPSA id
 h4-20020a05600c350400b003c1a7ea3736sm1770041wmq.11.2022.10.07.00.55.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Oct 2022 00:55:18 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Maxime Devos
 <maximedevos@HIDDEN>
Subject: Re: [bug#58035] sync-before-registering is false, possibly the
 cause of empty files in the store
In-Reply-To: <87zgebs1h5.fsf@HIDDEN>
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN> <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN>
Date: Wed, 05 Oct 2022 13:54:18 +0200
Message-ID: <86ilkyzdsl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Hi,

On Tue, 04 Oct 2022 at 23:49, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Maybe a good test would be to run a daemon on an =E2=80=9Caverage=E2=80=
=9D HDD with
> sync-before-registering =3D true and to run =E2=80=98perf timechart recor=
d=E2=80=99 while
> it=E2=80=99s fetching a large number of substitutes.  That way we=E2=80=
=99d have
> concrete data to talk about.

What is =E2=80=99perf timechart record=E2=80=99?  I can take a look if no o=
ne beats me.



Cheers,
simon




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 5 Oct 2022 07:58:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 05 03:58:40 2022
Received: from localhost ([127.0.0.1]:55791 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofzIe-0001Po-Jr
	for submit <at> debbugs.gnu.org; Wed, 05 Oct 2022 03:58:40 -0400
Received: from laurent.telenet-ops.be ([195.130.137.89]:48476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1ofzIa-0001Pb-CA
 for 58035 <at> debbugs.gnu.org; Wed, 05 Oct 2022 03:58:39 -0400
Received: from [192.168.107.79] ([188.188.13.203])
 by laurent.telenet-ops.be with bizsmtp
 id U7ya280034Nrees017yaC9; Wed, 05 Oct 2022 09:58:35 +0200
Message-ID: <d5501c08-2972-c12f-ea06-f1320c84aba4@HIDDEN>
Date: Wed, 5 Oct 2022 09:58:18 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.3.0
Subject: Re: bug#58035: sync-before-registering is false, possibly the cause
 of empty files in the store
To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN>
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN> <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN>
Content-Language: en-US
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <87zgebs1h5.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------1DRkIIXbVDxZhA7taTeRXvaD"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1664956715; bh=b7CFXIjJg7ay1w/oDS2hXCfsrTDyOSaIiGzOfLd6yVQ=;
 h=Date:Subject:To:Cc:References:From:In-Reply-To;
 b=EWeLa8HR8aQbw0EzIHWGH+6ffetOVJ/3/OPNyvYRSbjdUc+2mixzVm8IipweJCY7u
 SECMvlHY0vydgprlaKPtM1t0XRvJJCWhFeANtQ8biCi0wh8nUw+gqZJsJHwBKqp3zk
 8XUGkB9Ae0SzVJRUI6+BuWu554mLPR6QXjS6smyP8kqvxuhJzscVWXS5d/5Fl3X1Gd
 r3kqkJujkNd1ixuzxdbfFDP1tkIKV2GlqCjr9zZeGFp+GQNAGWJuyrkH2xHGp8JSkM
 O3IPsIyYF60BpvP7HgcGFXKPrcrBZzFjh+yFlLWxGSHe74t2BdE+FlbyiRZCyf+coP
 tlEJpdv5SrlSg==
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------1DRkIIXbVDxZhA7taTeRXvaD
Content-Type: multipart/mixed; boundary="------------C7CF7xj08P6MRetlWz0nnAaF";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN>
Cc: 58035 <at> debbugs.gnu.org
Message-ID: <d5501c08-2972-c12f-ea06-f1320c84aba4@HIDDEN>
Subject: Re: bug#58035: sync-before-registering is false, possibly the cause
 of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN> <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
 <87zgebs1h5.fsf@HIDDEN>
In-Reply-To: <87zgebs1h5.fsf@HIDDEN>

--------------C7CF7xj08P6MRetlWz0nnAaF
Content-Type: multipart/mixed; boundary="------------3mPjXrYg7nhkc1xZuKZWl4pV"

--------------3mPjXrYg7nhkc1xZuKZWl4pV
Content-Type: text/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gdGhp
cyB0dXJucyBvdXQgdG8gYmUgYSBwcm9ibGVtLCB0aGVyZSBhcmUgc29tZSANCm9wdGlvbnMg
dG8gYXZvaWQgdGhpcyAoc2VlOiB0aGUgZGVsYXlpbmcgJ2ZzeW5jJyBvZiB0aGUgcHJldmlv
dXMgcmVzcG9uc2UpLg0KDQo+IE1heWJlIGEgZ29vZCB0ZXN0IHdvdWxkIGJlIHRvIHJ1biBh
IGRhZW1vbiBvbiBhbiDigJxhdmVyYWdl4oCdIEhERCB3aXRoDQo+IHN5bmMtYmVmb3JlLXJl
Z2lzdGVyaW5nID0gdHJ1ZSBhbmQgdG8gcnVuIOKAmHBlcmYgdGltZWNoYXJ0IHJlY29yZOKA
mSB3aGlsZQ0KPiBpdOKAmXMgZmV0Y2hpbmcgYSBsYXJnZSBudW1iZXIgb2Ygc3Vic3RpdHV0
ZXMuICBUaGF0IHdheSB3ZeKAmWQgaGF2ZQ0KPiBjb25jcmV0ZSBkYXRhIHRvIHRhbGsgYWJv
dXQuDQo+IA0KPiBBbnkgdGFrZXJzPyAgOi0pDQoNCkkgZG9uJ3QgaGF2ZSBhIEhERCB0byB0
ZXN0IHN5bmMtYmVmb3JlLXJlZ2lzdGVyaW5nPXRydWUgd2l0aC4NCg0KR3JlZXRpbmdzLA0K
TWF4aW1lLg0K
--------------3mPjXrYg7nhkc1xZuKZWl4pV
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------3mPjXrYg7nhkc1xZuKZWl4pV--

--------------C7CF7xj08P6MRetlWz0nnAaF--

--------------1DRkIIXbVDxZhA7taTeRXvaD
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYz05GgUDAAAAAAAKCRBJ4+4iGRcl7vMI
AQD8z1QS0SyDW6XkdKGtBKyWfGEmkiToxnAfDjyao2jirQD8CVxE8MIbbTuGbo6bN8q6tsKuQJXJ
ke2mSw5Ake7XdwY=
=ZuUK
-----END PGP SIGNATURE-----

--------------1DRkIIXbVDxZhA7taTeRXvaD--




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 4 Oct 2022 21:50:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 17:50:09 2022
Received: from localhost ([127.0.0.1]:55369 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofpnk-0000sr-Ok
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 17:50:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35220)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ofpni-0000sO-GL
 for 58035 <at> debbugs.gnu.org; Tue, 04 Oct 2022 17:50:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44028)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ofpnd-0002l7-09; Tue, 04 Oct 2022 17:50:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=VAm2QkXVFB3DQk/2yY0FGj3GmTfzyfsG6hwXnR3/VoA=; b=BkT/Rvaa0srVJAOHJkrt
 w7S9DKNbItu8KWUZixGUm5V04S3Kev/PW1Pe9/TL3cT4n9LBfCyxPAv7/wqXaa9kL87zFGQp84uuV
 LpEO3H3TBismAnAEWS3KeoiNZJpucwSLSX1BFZcLw2hyTh1HRWG13DwKoO3hCvGO479Yyp8vUA9Fv
 llUvAhtvr/v4kol58Kj4Q8m9/IolKpYa2iWNlnc5tAlLo+KpaCDI1l/1bMv/JpBKv21aKE6cCTpeI
 O2t4MLCgCR+RtyDci3EALtsPrtJCPTDJVoJ8TKaaVaxCLeCciBZCqlUfouuhbI46t0lc8YnyNMdSv
 NIQCXU5AquhctA==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50544
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ofpnc-0008QJ-Iy; Tue, 04 Oct 2022 17:50:00 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#58035: sync-before-registering is false, possibly the cause
 of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN>
 <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Tridi 13 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour du Potiron
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: Tue, 04 Oct 2022 23:49:58 +0200
In-Reply-To: <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN> (Maxime Devos's
 message of "Tue, 4 Oct 2022 16:04:29 +0200")
Message-ID: <87zgebs1h5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxime Devos <maximedevos@HIDDEN> skribis:

> On 04-10-2022 09:52, Ludovic Court=C3=A8s wrote:
>> Hi,
>> [...]
>>> However, currently sync-before-registering is set to 'false' AFAICT.
>>> I think this might be the cause of bugs like
>>> <https://issues.guix.gnu.org/58013> (=E2=80=98Can't use "guix pull"=E2=
=80=99), and
>>> maybe <https://issues.guix.gnu.org/57838> (=E2=80=98failing to boot, pr=
obably
>>> due to guix gc=E2=80=99).
>> It might be a factor, combined with the fact that the file system
>> was
>> not properly unmounted (power outage or similar).
>> However, calling sync(2) for each store item is going to be
>> expensive.
>> Recursive fsync/fdatasync calls are also likely to be too expensive (see
>> <https://issues.guix.gnu.org/55707> for a concrete example of the cost
>> on a spinning disk).
>> Thoughts?
>
> Debian uses fsync (going by https://wiki.debian.org/Teams/Dpkg/FAQ),
> and even though that according to that FAQ dpkg can be slow, in my
> experience it wasn't too bad.  Also, having to investigate store
> corruption and how to fix it is a form of slowness, especially when it
> fails or you don't have the technical expertise and consequentially
> you need to reinstall (losing old non-back-upped work).

Having not experience corruption issues as in the bug you mention, I=E2=80=
=99m
tempted to minimize the problem, but it=E2=80=99s true that we get such rep=
orts
from time to time.

> 'sync' seems relatively inexpensive to me, compared to the time
> required for building a package and even more inexpensive compared to
> the cost of debugging store corruption:

That=E2=80=99s not a fair comparison.  :-) Imagine, you run reconfigure/upg=
rade;
that downloads tens to hundreds of store items.  Calling sync(2) after
each item may be hardly noticeably on an SSD, but I bet it=E2=80=99s going =
to be
super expensive on an HDD.  (In the syslogd case, each fsync(2) call=E2=80=
=94not
even sync(2)=E2=80=94would cause pauses of several 100s of ms.)

Maybe a good test would be to run a daemon on an =E2=80=9Caverage=E2=80=9D =
HDD with
sync-before-registering =3D true and to run =E2=80=98perf timechart record=
=E2=80=99 while
it=E2=80=99s fetching a large number of substitutes.  That way we=E2=80=99d=
 have
concrete data to talk about.

Any takers?  :-)

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 4 Oct 2022 14:04:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 10:04:41 2022
Received: from localhost ([127.0.0.1]:54872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofiXI-0007vW-MZ
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 10:04:41 -0400
Received: from baptiste.telenet-ops.be ([195.130.132.51]:40802)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1ofiXC-0007vI-PC
 for 58035 <at> debbugs.gnu.org; Tue, 04 Oct 2022 10:04:38 -0400
Received: from [192.168.42.79] ([213.251.113.159])
 by baptiste.telenet-ops.be with bizsmtp
 id Tq4W280083SQUj101q4XHg; Tue, 04 Oct 2022 16:04:33 +0200
Message-ID: <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
Date: Tue, 4 Oct 2022 16:04:29 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Content-Language: en-US
To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN>
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#58035: sync-before-registering is false, possibly the cause
 of empty files in the store
In-Reply-To: <874jwkvxdt.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------CICtvJHpdlRBLTViO92n53UT"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1664892273; bh=e/4ZmD5qqc3Wi++Ech8fJUvsYxBfLIgKoYFX9HwkqtU=;
 h=Date:To:Cc:References:From:Subject:In-Reply-To;
 b=nn4qhtg9UMyQQsxXUO1GUl4/NjhTCL1yS6RQq64p642hIjXGMIsyObOqnEGcsVxNM
 xt1WCqrigkHaKNDX195iXojyHvFJ193ihxzvtWSUK0T3xCs8iD8duSD1F1CAcQ6Zhi
 FKQBSubIWLJpfmdfhbCptKcjS4TF3mm/iw07lVn74b9uaYe52syN2vO+3xsIBXg4dO
 bZfVj1qSkYPHq0Ym6DnHqIWlN+Vfy9GhfJQljH9BY50vhWRkGICduK1ANS8HsP+SBy
 Yyos1tM5po5xiH1u9cccKTwTji2bzF8U3GAYCxbZa3UboG0IM38VkIwjkNQZh4wupH
 B4U3eB1bYqM8Q==
X-Spam-Score: -2.5 (--)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.5 (---)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------CICtvJHpdlRBLTViO92n53UT
Content-Type: multipart/mixed; boundary="------------ZIckaafTNMOsQLxCf5l0qlH9";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN>
Cc: 58035 <at> debbugs.gnu.org
Message-ID: <6bd60f0b-ffac-dcc8-5225-df4b765522c5@HIDDEN>
Subject: Re: bug#58035: sync-before-registering is false, possibly the cause
 of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
 <874jwkvxdt.fsf@HIDDEN>
In-Reply-To: <874jwkvxdt.fsf@HIDDEN>

--------------ZIckaafTNMOsQLxCf5l0qlH9
Content-Type: multipart/mixed; boundary="------------agifQk8P4dk8CByb7GzRM2WU"

--------------agifQk8P4dk8CByb7GzRM2WU
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQoNCk9uIDA0LTEwLTIwMjIgMDk6NTIsIEx1ZG92aWMgQ291cnTDqHMgd3JvdGU6DQo+IEhp
LA0KPiANCj4gWy4uLl0NCj4+IEhvd2V2ZXIsIGN1cnJlbnRseSBzeW5jLWJlZm9yZS1yZWdp
c3RlcmluZyBpcyBzZXQgdG8gJ2ZhbHNlJyBBRkFJQ1QuDQo+PiBJIHRo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Ghlb3JldGljYWwpDQoNCkdyZWV0
aW5ncywNCk1heGltZS4NCg==
--------------agifQk8P4dk8CByb7GzRM2WU
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------agifQk8P4dk8CByb7GzRM2WU--

--------------ZIckaafTNMOsQLxCf5l0qlH9--

--------------CICtvJHpdlRBLTViO92n53UT
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYzw9bQUDAAAAAAAKCRBJ4+4iGRcl7hxW
AP91YRWeVLHgzE2OmBDIkBCmfz30iyQHJceItOovQ5lqHQEA4S96yV+r+iUeOqmu9c45b6YS1sgQ
qw599cv37U0tEgQ=
=SKP5
-----END PGP SIGNATURE-----

--------------CICtvJHpdlRBLTViO92n53UT--




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at 58035 <at> debbugs.gnu.org:


Received: (at 58035) by debbugs.gnu.org; 4 Oct 2022 07:52:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 03:52:46 2022
Received: from localhost ([127.0.0.1]:52334 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofcjO-0005QC-Cn
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 03:52:46 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51360)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ofcjI-0005Pt-L5
 for 58035 <at> debbugs.gnu.org; Tue, 04 Oct 2022 03:52:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34974)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ofcjC-0005o6-8q; Tue, 04 Oct 2022 03:52:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=062zEkue/TI7nj6zce56UK/wWAJt7wCwK7YT6+mN/Ig=; b=MCm4o3Y5va0QgVxKLPLy
 ngXNZdFuMsGx0rwSpcA3hX40Mm8xUDh96cfm/CPdS78AAuqPwTZ4JBW/7CZFhtQAzQKdVTMw80LzN
 SMZsm3QRPNNYu/64UV3BDTHMoZut10+7VHIPsLyRH/Jo+C/4CMoqxnBzSbeX4ZlAY2ZzrzEsGE5O5
 SAR0IlE0IuStsUWl/XPSaQt15CE3qag1aEqNii2pBk3Z7hOdwLYBQvi1cPDWLZ6sei8isnzrQZpDb
 ga33ZLfEcJvTc9SUmDVH+yJDv0YNc26NvSqi+uF1UdgpkABtEQPKjBl6NQ2spAIsrYajuAODla1IT
 yNBPcuH9Rfg16A==;
Received: from [193.50.110.164] (port=43408 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1ofcjB-00065t-Qp; Tue, 04 Oct 2022 03:52:34 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>
Subject: Re: bug#58035: sync-before-registering is false, possibly the cause
 of empty files in the store
References: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
Date: Tue, 04 Oct 2022 09:52:30 +0200
In-Reply-To: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN> (Maxime Devos's
 message of "Sat, 24 Sep 2022 03:35:01 +0200")
Message-ID: <874jwkvxdt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58035
Cc: 58035 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxime Devos <maximedevos@HIDDEN> skribis:

> libstore/local-store.cc has the following comment:
>
> void LocalStore::registerValidPaths(const ValidPathInfos & infos)
> {
>     /* SQLite will fsync by default, but the new valid paths may not
>     be fsync-ed.
>      * So some may want to fsync them before registering the validity,
>        at the
>      * expense of some speed of the path registering operation. */
>     if (settings.syncBeforeRegistering) sync();
>
>     [...]
> }
>
> However, currently sync-before-registering is set to 'false' AFAICT.
> I think this might be the cause of bugs like
> <https://issues.guix.gnu.org/58013> (=E2=80=98Can't use "guix pull"=E2=80=
=99), and
> maybe <https://issues.guix.gnu.org/57838> (=E2=80=98failing to boot, prob=
ably
> due to guix gc=E2=80=99).

It might be a factor, combined with the fact that the file system was
not properly unmounted (power outage or similar).

However, calling sync(2) for each store item is going to be expensive.
Recursive fsync/fdatasync calls are also likely to be too expensive (see
<https://issues.guix.gnu.org/55707> for a concrete example of the cost
on a spinning disk).

Thoughts?

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Sep 2022 01:35:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 23 21:35:15 2022
Received: from localhost ([127.0.0.1]:41976 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obu4Y-00062c-UE
	for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 21:35:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:57960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1obu4X-00062S-08
 for submit <at> debbugs.gnu.org; Fri, 23 Sep 2022 21:35:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59628)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1obu4W-0005Xs-K1
 for guix-patches@HIDDEN; Fri, 23 Sep 2022 21:35:12 -0400
Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:41506)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1obu4U-0007Fj-13
 for guix-patches@HIDDEN; Fri, 23 Sep 2022 21:35:12 -0400
Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]
 ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16])
 by laurent.telenet-ops.be with bizsmtp
 id Pdb12800Y20ykKC01db2ua; Sat, 24 Sep 2022 03:35:02 +0200
Message-ID: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
Date: Sat, 24 Sep 2022 03:35:01 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Content-Language: en-US
To: "guix-patches@HIDDEN" <guix-patches@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Subject: sync-before-registering is false, possibly the cause of empty files
 in the store
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------jz7BR072RPIBL9qc0xUj8f81"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1663983302; bh=8rJr88/DJ+g0PknswznCqKwzkvlKy36KboGP8CsvgtU=;
 h=Date:To:From:Subject;
 b=croYdpiqhBXJPJVUDiwqPzrAlNm5tn4UFOYmF4Aj6Dq71FY+ly6V1fvlAQ8jIbpnm
 ro6Yi1M4mlzvCe12gyqzDTnMDmuJSQT1Q4/qLAjWh1PQiydkXqik3kL+bfyteHOLAj
 iBKlcvMb96RVQUpN+evP+FnByPr/XnjLWcT+Pt1vNDS3yI4/oDEndmVrwa0sJxpbVM
 VH5cuf+MbCDTWJ+wvFnzNfpzPrlDAGEAkMwyRm3pd9BAXHCh5Y1qZ1lSWNCAzm0CbJ
 TZZuq/2zIAf2ElY2gRQKCYRtRMZiHLrSl4jCl8l/i2jksB+I8eLzq8JwuPY3tY1kSG
 4o2aYsZWJJIIQ==
Received-SPF: pass client-ip=2a02:1800:110:4::f00:19;
 envelope-from=maximedevos@HIDDEN; helo=laurent.telenet-ops.be
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------jz7BR072RPIBL9qc0xUj8f81
Content-Type: multipart/mixed; boundary="------------68KQe7IM0lKhDmBlVvTU2RvF";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: "guix-patches@HIDDEN" <guix-patches@HIDDEN>
Message-ID: <0530a80e-0a93-5a3a-ef98-5ba3683e810d@HIDDEN>
Subject: sync-before-registering is false, possibly the cause of empty files
 in the store

--------------68KQe7IM0lKhDmBlVvTU2RvF
Content-Type: multipart/mixed; boundary="------------VtR2DE5rtvs05g10uFf6FvzX"

--------------VtR2DE5rtvs05g10uFf6FvzX
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

bGlic3RvcmUvbG9jYWwtc3RvcmUuY2MgaGFzIHRoZSBmb2xsb3dpbmcgY29tbWVudDoNCg0K
dm9pZCBMb2NhbFN0b3JlOjpyZWdpc3RlclZhbGlkUGF0aHMoY29uc3QgVmFsaWRQYXRoSW5m
b3MgJiBpbmZvcykNCnsNCiAgICAgLyogU1FMaXRlIHdpbGwgZnN5bmMgYnkgZGVmYXVsdCwg
YnV0IHR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MgbGlrZSBkaXNhYmxpbmcgdGhl
ICdmc3luYy9zeW5jJyBmb3IgbW9zdCB0ZXN0cykuDQoNCihVbnZlcmlmaWVkIGlmIHRoaXMg
c29sdmVzIHRob3NlIGlzc3VlcywganVzdCBhbiBpZGVhIC4uLikNCg0KR3JlZXRpbmdzLA0K
TWF4aW1lLg0K
--------------VtR2DE5rtvs05g10uFf6FvzX
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------VtR2DE5rtvs05g10uFf6FvzX--

--------------68KQe7IM0lKhDmBlVvTU2RvF--

--------------jz7BR072RPIBL9qc0xUj8f81
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYy5exQUDAAAAAAAKCRBJ4+4iGRcl7uNr
AP99p1JBCxMehagOgyLOtsWzqMKRNNaUfdrieU0Mx/zG7wD9Gy+LILzFIqsXz6r0OjLXmS5zrVyC
q70dcJGRH5LNbwY=
=2RDZ
-----END PGP SIGNATURE-----

--------------jz7BR072RPIBL9qc0xUj8f81--




Acknowledgement sent to Maxime Devos <maximedevos@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#58035; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Nov 2022 15:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.