From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2KewHzKYU2b0HQEAe85BDQ:P1 (envelope-from ) for ; Sun, 26 May 2024 22:14:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2KewHzKYU2b0HQEAe85BDQ (envelope-from ) for ; Sun, 26 May 2024 22:14:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=hlFtRr9L; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1716754482; a=rsa-sha256; cv=none; b=jEJ35z0IW2EGB+gmFwrivFT7+JpKH+0Dq8nwhA0G2Q5tp+9Yi0w8ft5r9l7bfdgiIGRvNd Ub5ik92/lRrpkNXEm+7sZOyRG/V8rSx0GrPdZt6PPpEHxKJzJbkIs17VRmO45f1h52krma ggyqQyGfXHScs7TAIW0ILIcQIUHAmWCBaWTYWpFhof8vAwp+qc6FjVamqgkwg5AiQi2ya8 AOv36DVJBFQ2sEtTbgTXIPBbonaC03xzsRY5eowfu0i+pnLz8jWmo/E2QundIkzs+lR+8W CcwVEL+Y47F/pkkr3jsg1Bm/BznZYJzsT0o/hwMpVMbGSuYL8BEy8/upDxks2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=hlFtRr9L; dmarc=pass (policy=none) header.from=gnu.org; 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=1716754482; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Oqq8YwD9wV15YoV/3ttyvmW8BMKTLsZaNw0e1JjMty4=; b=V+pB7UuwdCarX0R2reg1LGY6f5HVVJHwAEYl4s2YuI4hDOfrE3YDTS5zgqkFoGtTFkjyq7 tCB4GRk6NQO68U+PJPoR2HnJRlg/9wOciX0+qL6nUxURus1nb8GlijZcK9dWH2Nqd/V/z6 Rs6Pi+dCVzYcmHIAtaOMmiPF8eziomBxBdYl2Nr49zO99dnaiSpHsTvR8dZqLkblKgto59 uALzcyJ+mVicPjuMIdH4ddlwP9uwmspaJVpg7jzG3s5jLBbeQnKX5UBXj7nZR0B0y4HU3S MHeOMrRUBagEjB0oVAV1rtuzMKm1mgH1OSTM28F6OxTN/EzX7k6nwEfID9gqkw== 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 5C2451EFEF for ; Sun, 26 May 2024 22:14:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBKFf-0005MO-OO; Sun, 26 May 2024 16:13:55 -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 1sBKFe-0005M1-AR for guix-devel@gnu.org; Sun, 26 May 2024 16:13:54 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sBKFb-0005q3-K6 for guix-devel@gnu.org; Sun, 26 May 2024 16:13:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=KYuslSKFBgbDydm TEJudZQG8rX4McgUCGSDCWo59lhg=; h=date:subject:cc:to:from; d=lease-up.com; b=hlFtRr9Lby4YfsHrClQVIQOU7fQh8dm+PUvhRMIA2yhlwNW7eKzt BCTqHqBD620+td2/7exiRZurXOQym5DcvFBLZ1pnlFvChQmiH7K+9t2DqRYY95zndfndR5 5nw/m8HVjUnTSqOxGLpC/tozWJC8tGJSpNg7mqABuxKCdRok4= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 327870e7 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Sun, 26 May 2024 20:13:46 +0000 (UTC) To: guix-devel@gnu.org Cc: Subject: Are 'guix gc' stats exaggerated? Date: Sun, 26 May 2024 13:13:45 -0700 Message-ID: <87bk4stjpi.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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: , Reply-to: Felix Lechner From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." 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-Migadu-Queue-Id: 5C2451EFEF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.84 X-Spam-Score: -5.84 X-TUID: NTFXox+yvg0p 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