kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
553 stars 242 forks source link

Scrub and ionice, warnings, recommendations and workarounds #305

Open kdave opened 3 years ago

kdave commented 3 years ago

The ionice (parameter -c) used to limit IO impact on the system stopped working when CFQ io scheduler wast dropped and replaced by mq-deadline. The latter does not implement it at all and this resulted as significant performance loss, noticed by many users. The docs have been updated but we could do more:

Forza-tng commented 3 years ago

I believe that BFQ supports ionice as well as scheduling through cgroups.

https://documentation.suse.com/sles/15-SP2/html/SLES-all/cha-tuning-io.html#cha-tuning-io-schedulers-blkmq

rklemme commented 3 years ago

Also generally mention about dependency of -c and -n on the IO scheduler used in man pages.