From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yJTnOFbBama4GgEAqHPOHw:P1 (envelope-from ) for ; Thu, 13 Jun 2024 09:52:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yJTnOFbBama4GgEAqHPOHw (envelope-from ) for ; Thu, 13 Jun 2024 11:52:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ihIKdJ4d; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718272342; 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:dkim-signature; bh=yb7cd4qMDPIjVFLdzGJeJrk6ZR56xWaGyznjx+6zrgY=; b=mJ/cA4TXSa+5FDqWbzpgJG8PZ+QXd+Krc/bcSs9spV11jI2UYK1vS9/hL1TdYw4SJACmw8 VJ/Cy43fO1Ld9ybKqyda99+tknn5yldnlfwZoxzRgBkfag+WSoij1ok7Zzh51vKhRP3RrJ UPAo4HrvsEAq4VIpJI9PmKytGp+NF4oqidGGpZdEeLiLNPV6nYsMB1ZY+iyNmOZinOW+FN hoQiZt1/YbDm6K/En1/Ev46Rqe8F5SIKlRtStzEgi+nrDM1qvxpvZvUhI6t089Wlw2kz6q GAC0XnJIEED7YHtu7oo39OgthHcaSZJbzW5sF93CO4rmvXusMh4lnKS6P7PHnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718272342; a=rsa-sha256; cv=none; b=ccn8S4ljl4jXYr2giasHDYgy4jBit6RVGWGKuHNq1i+bxvGS2Pa34R35QlM+eDzcV6gZrj gi/yQzg0BVTWl/WeYIXV8KTEPn3KqUXcdhwx9YBTv9rQk2UAknA6uI+srVqo1r/QWgLYkq jTNXXJPYYrNpWw6vRpcGageOO376HOHAWHtB27Ps9LW+ekXU0GirWapunkvcliL+M7vtE7 ATwuh/I3sNQO7g58QNUX6eRYgFqVAWeihpDk3A+fGgu+Bqxy0TTW1ofLCVrVne23EK7kxt P2vta2HPnKQ/rVrlmOhjOEIwRWP09J5EL6kkMEwGPIjGDnns0EWjcf8+WahO6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ihIKdJ4d; 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" 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 42FA765A94 for ; Thu, 13 Jun 2024 11:52:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHh7l-0006cP-8I; Thu, 13 Jun 2024 05:52:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHh7j-0006bg-RR for guix-patches@gnu.org; Thu, 13 Jun 2024 05:52:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHh7j-0002Qa-JB for guix-patches@gnu.org; Thu, 13 Jun 2024 05:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sHh7i-0001vC-St for guix-patches@gnu.org; Thu, 13 Jun 2024 05:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71357] [PATCH] substitute: =?UTF-8?Q?Don=E2=80=99t?= keep cache entries more than a few days. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2024 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71357 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 71357@debbugs.gnu.org, Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Andreas Enge , Christopher Baines Received: via spool by 71357-submit@debbugs.gnu.org id=B71357.17182722687243 (code B ref 71357); Thu, 13 Jun 2024 09:52:02 +0000 Received: (at 71357) by debbugs.gnu.org; 13 Jun 2024 09:51:08 +0000 Received: from localhost ([127.0.0.1]:39301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHh6q-0001sZ-2G for submit@debbugs.gnu.org; Thu, 13 Jun 2024 05:51:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHh6m-0001rq-Eu for 71357@debbugs.gnu.org; Thu, 13 Jun 2024 05:51:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHh6e-0002GA-8j; Thu, 13 Jun 2024 05:50:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=yb7cd4qMDPIjVFLdzGJeJrk6ZR56xWaGyznjx+6zrgY=; b=ihIKdJ4djhYOJyzedO6d UzTFazTyaB4TZt8C0jcuvt+u2C0xzBD80S0LPHXK1kojgHO4enVRBtgcdqBB1GMTsR3lVFSBSwWM7 KTobFZhS2PZRaXldPG5SeeQsOByhLyEltFsW6OyYtZLxwv8xclEAhUl4lcirzeZwxhJiMW3EqkCMh +wnd2oaSp2pamTpCFmPMfOMhqrDp6mAEbHpsPCIyqmzl5LY8I20evqMTS3i2XiugGxI7ax+1F6pW/ zfplBSIpVO0+dK5FcurWNvuFgyubagxMmJ1WmddGESM0O0RntN0LmFH6PB7dVzbuIlpUh5zcQM4Lh ItnaA1XKDI/5EA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87bk49c8n7.fsf@cbaines.net> (Christopher Baines's message of "Mon, 10 Jun 2024 12:57:48 +0100") References: <40bd5a0087d54531aabe2d0ce8d0cd2a6bd7e547.1717487258.git.ludo@gnu.org> <87bk49c8n7.fsf@cbaines.net> Date: Thu, 13 Jun 2024 11:50:29 +0200 Message-ID: <87sexhi32y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.74 X-Spam-Score: -2.74 X-Migadu-Queue-Id: 42FA765A94 X-Migadu-Scanner: mx11.migadu.com X-TUID: EC3tcktQvxlJ Hi, Christopher Baines skribis: > This sounds good to me. Thanks, pushed as 7e00fb9f31f51ac2f9fa67b71a3eb8aaa23efdb6. I=E2=80=99ll u= pdate the =E2=80=98guix=E2=80=99 package soonish. > I think one of the problems on bayfront is that each substitute process > looks and decides it's time to remove the expired cache entries. For > every new process that starts and decides to join it, it probably slows > them all down. This is very similar to a "thundering herd" since the > processes trip over each other trying to delete the same files. Oh right. I=E2=80=99m not sure if this is what I was seeing, but it can definitely be a problem on build machines. We should change (guix cache) to avoid that. Thanks! Ludo=E2=80=99.