From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KKwnDhQdcGYHFgEAqHPOHw:P1 (envelope-from ) for ; Mon, 17 Jun 2024 11:25:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KKwnDhQdcGYHFgEAqHPOHw (envelope-from ) for ; Mon, 17 Jun 2024 13:25:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=aazbzyIo; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718623508; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=K1i1rGPidKQPKRm7q6IabQN9kpW/p8bZ8xOFNyRvtCU=; b=QB692XI1Zx8mkN6QbCbN/teq56ckPFh487hblF3RQ5pv+npe+4vBdd/N0KTz7GQCeAimj2 I+vy3TghMqMvnKg7gAPGfr2JSmBIS2bmGx6pWwOh1g5nFw9Zz9mNxClgW7kiIgVQLfwRRJ an+tfPXsr5k5QY+MpoCXyJrmD0FsE0CcgqK/4v3h+P8stKLxmzvJv1Wu/6vcSWMpTRFlIN fI8Nn512PFJPd/ihIT3HMkCGIMIdoSVmYp45cdlFuDqjsmK1bmUTUH2kyBxTze0aaiQDC1 8E8o81YXf5dSM7os9x12QDJqFeyWzCr9PUJygaL25mkgp84mR42IL1jDf11kVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=aazbzyIo; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718623508; a=rsa-sha256; cv=none; b=an4rtuJj3LVSXWuIgDSx6ywhb2xGYnXfS05CdIREfdk8Pl/kI3/I7pnOOFisNEkv5+/RpE nDPqfV47RFu57dzLiRMHVaVM9pQeWO+zqQvClWjFiwakLxJhIMr/zooDcFxD9l+lIZeOXU fDqo4/1tUBiihhEGX4ahSAmjb5PZwkWzKrEzPQ/wNhTo74VZLhgahhH3DxWGTzgG5ezwJp VDbIKk9qS/ljK+YLxghaj0GAK3itlxKIAqlhLSCVH7hSrCq9DJRnSK83ORQiB05mv3oLUq E+dVZ2GwPA0+JRgW1OH7J5DfBHDocQqTXdte+LumuQDRIfeT579xc0RFbp2Inw== 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 D1E6E7F1EE for ; Mon, 17 Jun 2024 13:25:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJATk-0000JT-Me; Mon, 17 Jun 2024 07:24:52 -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 1sJATi-0000J3-Pc for guix-devel@gnu.org; Mon, 17 Jun 2024 07:24:50 -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 1sJATi-0002R9-06; Mon, 17 Jun 2024 07:24:50 -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=K1i1rGPidKQPKRm7q6IabQN9kpW/p8bZ8xOFNyRvtCU=; b=aazbzyIoPgfWvHdReC8S 9UOCGs+2/03ZeqXopTumN/eFrCNbLZ+A9Py4rYe/h0tDnftVCWuPzOnhr1Btlq6csPJL1q+v7Ml+J xUGQpbTOUEld2INx42tGwUU2oT2J7cKOhbCcwybf0zx0Zy0YpFpDws9Fw0V6GUm0ZkI2iG0vuciB0 yqw9xowpTeNlepg+beK8536auOpsx3WnXWWTTN88KqAnOo8NlCPXX6utZXVxn+T/9z1oXXMjMMJ5q JgL2CvLL7+dcvFmnIinQqt9vmjgK63FSVJT8N6MFkC5UTvB0SYryBa3aCa7jPJorT6+lyZaZIpLnw WK+DsZkjfFHE+g==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andreas Enge Cc: Felix Lechner , "Felix Lechner via Development of GNU Guix and the GNU System distribution." Subject: Re: Are 'guix gc' stats exaggerated? In-Reply-To: (Andreas Enge's message of "Sun, 9 Jun 2024 11:30:33 +0200") References: <87bk4stjpi.fsf@lease-up.com> <87a5k5oczg.fsf@lease-up.com> <87tti640kw.fsf@gnu.org> <877cf1amu3.fsf@lease-up.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 30 Prairial an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Chariot 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: Mon, 17 Jun 2024 13:24:44 +0200 Message-ID: <87r0cvak1v.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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -10.01 X-Migadu-Queue-Id: D1E6E7F1EE X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.01 X-TUID: D1/3y1K7+x0e Andreas Enge skribis: > In my experience on ext4 (also not backed by looking at the code), "guix = gc" > always deletes substantially less than what I ask for. I always thought it > just counted hard linked files even when the link count does not go to 0 > and the file is not actually deleted. Yes, that=E2=80=99s also my experience. I did look at the code several tim= es, I even thought 7033c7692ccbbbad8f7b9952015de071a5588e87 in 2020 would fix that estimate, but it didn=E2=80=99t. I guess I=E2=80=99m bad at maths and= logic, we should give another look at that part of the code! (Note that creation of sparse files will be another source of discrepancy, though there will be few of them.) Ludo=E2=80=99.