From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35533) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMdYp-0006TA-RQ for guix-patches@gnu.org; Thu, 09 Apr 2020 16:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMdYo-0000Vq-Nk for guix-patches@gnu.org; Thu, 09 Apr 2020 16:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jMdYo-0000Vk-Kx for guix-patches@gnu.org; Thu, 09 Apr 2020 16:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jMdYo-0002aU-H3 for guix-patches@gnu.org; Thu, 09 Apr 2020 16:14:02 -0400 Subject: [bug#40236] [PATCH] doc: Suggest Btrfs with compression instead of ext4 for root partition. Resent-Message-ID: Date: Thu, 9 Apr 2020 23:12:44 +0300 From: Efraim Flashner Message-ID: <20200409201244.GR1518@E5400> References: <20200326083524.20275-1-mail@ambrevar.xyz> <87h7y5z3x0.fsf@gmail.com> <87lfnesxp6.fsf@gnu.org> <87pncqbbp5.fsf@ambrevar.xyz> <87zhbuqpns.fsf@gnu.org> <87y2rc6nuk.fsf@gmail.com> <87r1x0welb.fsf@ambrevar.xyz> <87o8s3wz7d.fsf@ambrevar.xyz> <87o8s2k6lr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i7PFf0A+xzvFOD9h" Content-Disposition: inline In-Reply-To: <87o8s2k6lr.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Maxim Cournoyer Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Pierre Neidhardt , 40236@debbugs.gnu.org, Jonathan Brielmaier --i7PFf0A+xzvFOD9h Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 07, 2020 at 11:18:40PM -0400, Maxim Cournoyer wrote: > Hello, >=20 > Pierre Neidhardt writes: >=20 > > Jonathan Brielmaier writes: > > > >> No, I did run openSUSE on btrfs, there was no Guix involved at all. But > >> btrfs seemed to be the root case of all my troubles (performance, > >> hang-ups etc). >=20 > I have yet to encounter this kind of problem on the 3 Guix Systems I've > installed with root Btrfs file systems. It's been rock stable, even > under heavy use (I have a Guix machine configured as a Jenkins slave at > work that builds Yocto projects -- it churns through GiB of files > daily). >=20 > [...] >=20 > >> Snapshots did fill up my disk. >=20 > Snapshots only fill up the disk when we use them (and leave them behind > for enough time that the content they refer to has been mostly > rewritten. >=20 > >> So maybe create a config for the OSes of tomorrow: btrfs, wireguard, > >> rust etc :P > > > > In the end, what I'm suggesting is this issue is merely a > > recommendation. > > > > Currently Guix is very annoying to use on small Ext4 partitions, e.g. a > > 64 GiB SSD. With compression on, you suddenly get 3x more space for > > your /gnu/store :) >=20 > I agree that compression is a nice feature.. It also speeds sequential > disk reads and writes. On an old laptop that has a 64 GiB SSD and uses > ext4, I have to 'guix gc' too often, and worry a lot about spaces > (there's literally not much else than Guix on the drive, but it manages > to fill it up quite easily :-). >=20 (ins)efraim@E5400 ~$ sudo compsize -x /gnu/store/ Password: Processed 3158140 files, 737675 regular extents (2467369 refs), 1335101 inl= ine. Type Perc Disk Usage Uncompressed Referenced TOTAL 74% 51G 69G 180G none 100% 32G 32G 86G lzo 51% 19G 36G 93G My understanding of this is that I have 36GB of files that are compressed at 51% to 19GB, and overall due to the deduplication in the store I have references to what would otherwise be 180GB total taking up only 51G. So compression saves me 26% ([69-51]/69), and deduplication saves me 62% ([180-69]/180). --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --i7PFf0A+xzvFOD9h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6PgbkACgkQQarn3Mo9 g1EwYQ/7BugCQ95p43ZUV57bwTaGCBa40ZRU1K1pv7lNeKZlIvRXd28eEbrQJsDI zLdZzROLFOvF2mUXBmEI+9+c+4SmyQRzeT5JjVkB8u9y4h/ulMRk+2bB9UtzCgLk vdsoleaFfH5TOModhr9QpbMkOpnCBznKukMG8pmzbtL8YDip+q+Ifn12YXQLTK1/ 82TjDV0211uKRNZm2Mn/Kz/38J7N1KfFYjgT+++VGTX3ZL4jl2PgxGLjToribtAu 5MKORgc7FcCGi9RLfFwkVVLr0tv4yP9WJxbLyQlxYauCyQTvFBGuFqELN1bW/qOp c754T0O5wAIpHUJxZe8d2Nig3ljAlrPIEEMeodzWgXkCGEEYDwvKrsWA/iiswqfz w44SKn0qq3zPnczCg4kFl2O/JRKkrOzp0M5TIneLEnyls8SrKMiCspyTpvst9o6y tZP0ZdlRXyaJ/MwmlN0EYTga9YUppg4ArfQ5rlupBxO4xfCSq8uXZD0Omd7hGL/I nJagLqERNJk2mmh4TyItNRFjnl1IJX5hyVfvfcyQoLpIZ97nIM0aRauZ99VoHhiN qMbcBC7YrTcEQh8aT4P12eopc9VD9ItitIENm+K9HRRzJYc5savuwyE6b2/S9KF1 YxaMglMV1TARhfIlMfxIbZmQuOfjocg2vJImUZFIDAwKdO3aZUI= =N+fz -----END PGP SIGNATURE----- --i7PFf0A+xzvFOD9h--