26
submitted 6 days ago by [email protected] to c/[email protected]

This might be very specific but I got tired of diving into fstab and sorting out my btrfs pool every distro hop so I made a script to take care of it. It's based on bazzite's file structure and Flatpak permissions.

top 7 comments
sorted by: hot top new old
[-] [email protected] 12 points 6 days ago

If you were curious what the gaming optimized options were, here is the snippet from the script.

TRUE noatime "Do not update access times (speeds up reads)" \
  TRUE ssd "Enable SSD optimizations" \
  TRUE space_cache=v2 "Improved space cache" \
  TRUE discard=async "Asynchronous TRIM" \
  FALSE compress=zstd:1 "Zstandard compression (space-saving, may slow access)"
[-] [email protected] 4 points 6 days ago

Yeah nothing ground breaking these just gave my pool the best benchmarks with fio

[-] [email protected] 3 points 6 days ago

Asynchronous trim is interesting to see in a performance optimized config. I remember it actually being slower at deleting files and causing more ware on SSDs that periodic trim.

[-] [email protected] 2 points 6 days ago

I somehow misread the title and thought, you made a game about btrfs.

[-] [email protected] 2 points 6 days ago

Now there's an idea

[-] [email protected] 2 points 6 days ago

Talk of the devil, is btrfs still wearing SSDs a lot?

[-] [email protected] 5 points 6 days ago

What does "a lot" mean? I've been using btrfs for 5 years on a couple of m2ssds and haven't noticed any degredation.

this post was submitted on 03 Jul 2025
26 points (96.4% liked)

Linux Gaming

19874 readers
714 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS