btrfs compression

Hello! I freshly installed Bazzite and then installed a few games. I checked Btrfs compression by running sudo compsize ./ From what I can see, Btrfs is not compressing my Steam games. Is this normal, or did I do something wrong? (I chose automatic partitioning.) In the command output, I see that all my games are located in the none section for some reason.
No description
5 Replies
Lixo
Lixo3w ago
it's probably just a lot of incompressible game assets/files
Azema Viator
Azema Viator3w ago
normally game files are unique binary assets, that most of the time basic compression would not work on in the first place as they rarely have repeating data. Game textures for example have very custom compression formats that only work because they know what the data is and can leverage how gpus load the data to keep it fast in the render pipeline. Filesystem compression mainly only does something with text or repeating data.
termdisc
termdisc3w ago
For gaming, you're going to see the most compression benefits on the prefixes especially across multiple games
an9949an
an9949anOP3w ago
Thank you!
Beteigeuze
Beteigeuze3w ago
you can check how compression is configured for example by looking in the /etc/fstab file "nano /etc/fstab" there you can see the mount options for the partitions like [...],compress-force=zstd:1,[...] and zstd:1 is very very low compression. you could change it (sudo nano /etc/fstab) up to like 20 iirc but thats not recommended. you could try maybe up to 7 because of the cpu usage. compression takes cpu ressources, not much but it does and after the change it dos not compress already written data ofc

Did you find this page helpful?