34
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 05 Aug 2025
34 points (100.0% liked)
Linux
57058 readers
872 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
You could try deduplication on the flatpak folder. With any luck that consolidates what can be shared between the dependencies.
No idea how flatpak or snap works here (I want my rpm:s dammit) but I bet someone started adding compression to something at some point.
You can’t deduplicate already compressed data, except in theory. If you want deduplication, do that first, then compress the data. (i.e. use ZFS. Friends don’t let friends use subpar filesystems.)
I've got 4.6GB of flatpaks installed on their own subvolume and compression only reduces that to 4.1GB. I would guess that it's mostly compressed already. The same compression settings reduced my root subvolume from 23GB to 8.4GB.
And even then, zfs dedup is a WHOLE can of worms.
Yup. Apparently got much better last year, but don’t turn it on unless you know what you ate doing.
I'd imagine that BTRFS dedup works the same. Any other way would be stupid. Of course if the stuff is compressed by flatpak already there's nothing either FS can do.
Everytime someone says something positive about BTRFS I’m compelled to verify whether RAID6 is usable.
Alas, no. The Arch wiki still contains the same quote, and friends don’t let friends store data without parity.
So in the end, the best BTRFS can do right now is running RAID10 for a storage efficiency of 50%. Running dedup on that feels a bit wasteful…
(Sidenote: actually, ZFS runs dedup after per block compression, so it can only dedup blocks that are identical. Still works though, unlike when people do user level .tar.gz-style compression. The it’s game over.)