BTRFS Drive Write usage reporting

Hi guys,

My BTRFS drive is seeing more write wear than i would like. For instance .2TB (200GB) yesterday even though i only had light usage and we browsing with no large downloads or installs.

Can you recomend a good tool to analise this usage and find out where its coming from?

My /etc/fstab looks normal and i have noatime.

1 - I’m using these options in fstab:
defaults,noatime,compress=zstd,ssd 0 0

2 - Installed and enabled btrfsmaintenance (defrag once a month, trim once a week and scrub once a month).
Disabled the fstrim.timer.

3 - Changed firefox behavior by using psd:
https://wiki.archlinux.org/title/Firefox/Tweaks#Turn_off_the_disk_cache
https://wiki.archlinux.org/title/Firefox/Profile_on_RAM
https://wiki.archlinux.org/title/Profile-sync-daemon

2 Likes

iotop perhaps.

2 Likes

IOTOP is pretty good. I use it with -Pokaoptions.

3 Likes

Running iotop -a since this thread was opened…
When you see that spotify is writing more than everything else…

# iotop -a

image

1 Like

thanks all sounds like a plan. I will report back anything interesting.

2 Likes