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 ms1.migadu.com with LMTPS id oGjaMBxOVGaWoAAAqHPOHw:P1 (envelope-from ) for ; Mon, 27 May 2024 11:10:52 +0200 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 oGjaMBxOVGaWoAAAqHPOHw (envelope-from ) for ; Mon, 27 May 2024 11:10:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="b/9sxYY9"; dmarc=pass (policy=none) header.from=riseup.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716801052; 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=wVZrWhovYdkIHkx2NbG5Tw9QV7biF8362De6DWQAfo8=; b=bS+Jq1gY4D/uHA/AQj84Ubgaz/ponjuEq93eEWZUF2yhwFPU4Fh5zsBlg5QuFzKHNgxl9P dZZuKRbEbuqaFTQxObWIfiECGQMXRzvbLuOmSzpnbP4qqnyh172L1ezBqen4JYqi7BM/wb rOGOt6muUsKwZ9JwlZvsrAQuCaLQb1IjvU9U6OFV9ZcSgZJ3vGQe+IDxYSA7zUDzIMebn4 nUYz3g8gi0m/yNxpTTz80crz7Nl494pmOVUX2jPoqDVbJ56Dbf/yDIybbMAzcrKp2zQVBS ddRz7u37nt0ZDz3lelDL6c3h9RKjmZs0GtEFLyUgNop1yG0ZNow+w/jpPEbp2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716801052; a=rsa-sha256; cv=none; b=i+UhTfsWDoihcwMr2R9fcgrUqFaQYl+j7e+Cesg590Nnq0vatXykuMb2aM73mnSt5QLGPX Kdo7sG/zqYtQ/Y0jlwAwJPJceBL8/MwPJd/uL00iSsjQD3fv+CYqE8/OTS7SSEHtw3TYvs Dnut2JR3zPggky+Lixw5juVc3H7yxnON6VGUFvrfw9FWhMUUwGRiv33S6l1sn+j8qI3f0D orIXsKaduMZLPaRBoyxKhpQNumF2r59oaMiz/qh2mqiW74YFNctFky5Ij4ceqXimwSK7lx ZQj6kWxrVIaDC8hKFq8nkKh6px+vpR6KXqm7W9YVUnX8PkqHyeg3pGSyVWiiLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="b/9sxYY9"; dmarc=pass (policy=none) header.from=riseup.net; 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" 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 A375E3DEB7 for ; Mon, 27 May 2024 11:10:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBWMs-0005xR-Iz; Mon, 27 May 2024 05:10:10 -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 1sBWMq-0005xF-EZ for guix-devel@gnu.org; Mon, 27 May 2024 05:10:08 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBWMo-0000ZM-ES for guix-devel@gnu.org; Mon, 27 May 2024 05:10:08 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4Vnqbv3bD3zDqLx; Mon, 27 May 2024 09:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1716801003; bh=T6DA/AAlWay41a77QiszVdx8z6O8aM/kgemF3xAmjpE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=b/9sxYY9jS0oXGoA5kdZ5rWorCM4XntzFtM0YYhZ9K5tvYPx1qos03gdJr/qTeifH MXa6mWTJRxeqSrviGoSRev2uCC8k6wDD88hkgfPbZYD21xI4gpP5Xv8f8+YBfWF8+W OM3AqU7VfWpsCcMWL8GUngn+axDz0ju9q/yF8TWE= X-Riseup-User-ID: E1CFBEFA9AACBFDB6875120518CF7956886E4D435F7B5940F3ABDED66AB4F4E9 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Vnqbv2dwTzJqSw; Mon, 27 May 2024 09:10:03 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 27 May 2024 09:10:03 +0000 From: raingloom@riseup.net To: Felix Lechner Cc: guix-devel@gnu.org Subject: Re: Are 'guix gc' stats exaggerated? In-Reply-To: <87bk4stjpi.fsf@lease-up.com> References: <87bk4stjpi.fsf@lease-up.com> Message-ID: <4d85d1ead6809afc24c8296bef058f96@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.92 X-Spam-Score: -6.92 X-Migadu-Queue-Id: A375E3DEB7 X-Migadu-Scanner: mx11.migadu.com X-TUID: uSa9nq/kAKQU On 2024-05-26 22:13, Felix Lechner via "Development of GNU Guix and the GNU System distribution." wrote: > Hi, > > Today I ran 'guix gc' on equipment with an ext4 root partition. It had > these space characteristics beforehand: > > Filesystem Size Used Avail Use% Mounted on > /dev/dm-3 309047680 157252980 138126064 54% / > > or for human eyes: > > /dev/dm-3 295G 150G 132G 54% / > > After the run, the drive showed: > > /dev/dm-3 309047680 88267956 207111088 30% / > > or for human eyes: > > /dev/dm-3 295G 85G 198G 30% / > > By my math, about 65.8 GiB were recovered. > > When 'guix gc' was done, it announced: > > [184389 MiB] deleting '/gnu/store/...' > deleting `/gnu/store/trash' > deleting unused links... > note: currently hard linking saves 59224.03 MiB > guix gc: freed 110,649.49 MiBs > > Seeing the 184389 MiB number, or 180 GiB, already made me suspicious. > It exceeded my drive usage by 30 GiB. Even the more conservative 110649 > MiB "freed," however, are off by a mile. That would have been 108 GiB, > or 42 GiB more than the space actually recovered. > > Am I looking at those numbers the wrong way? Thanks! > > Kind regards > Felix Are you using compression? (BTRFS, ZFS, etc)