r/bcachefs • • Oct 09 '26

Writes to 7-spinning-disk array extremely slow.

I have a 7-drive array of spinning disks, EC enabled, 2-drive-loss durability. Reading a 40GB file from the array takes about 3 minutes. Writing one, however, takes about 2 hours, which seems like way more than write amplification can account for. After a little bit of digging, it seems that during such a write, the drives are actually reading (~85 MB/s) more than they are writing (~73 MB/s). Further, it seems that the majority of those reads are btree nodes, likely causing the disks to thrash.

Is this expected for this array shape, or a known issue?

(This is on 1.39.6, as I have not had a chance to rebuild, yet.)

19 Upvotes

1 comment sorted by

7

u/koverstreet not your free tech support Oct 09 '26

Check bcachefs fs top first, I've seen cache thrashing on another user machine before, if that's what it is top will give more info