On Mon, Jul 24, 2017 at 3:12 PM, waxhead <waxh...@dirtcellar.net> wrote: > > > Chris Murphy wrote: >> >> On Mon, Jul 24, 2017 at 5:27 AM, Cloud Admin <ad...@cloud.haefemeier.eu> >> wrote: >> >>> I am a little bit confused because the balance command is running since >>> 12 hours and only 3GB of data are touched. >> >> That's incredibly slow. Something isn't right. >> >> Using btrfs-debug -b from btrfs-progs, I've selected a few 100% full >> chunks. >> >> [156777.077378] f26s.localdomain sudo[13757]: chris : TTY=pts/2 ; >> PWD=/home/chris ; USER=root ; COMMAND=/sbin/btrfs balance start >> -dvrange=157970071552..159043813376 / >> [156773.328606] f26s.localdomain kernel: BTRFS info (device sda1): >> relocating block group 157970071552 flags data >> [156800.408918] f26s.localdomain kernel: BTRFS info (device sda1): >> found 38952 extents >> [156861.343067] f26s.localdomain kernel: BTRFS info (device sda1): >> found 38951 extents >> >> That 1GiB chunk with quite a few fragments took 88s. That's 11MB/s. >> Even for a hard drive, that's slow. I > > This may be a stupid question , but are your pool of butter (or BTRFS pool) > by any chance hooked up via USB? If this is USB2.0 at 480mitb/s then it is > about 57MB/s / 4 drives = roughly 14.25 or about 11MB/s if you shave off > some overhead. >
Nope, USB 3. Typically on scrubs I get 110MB/s that winds down to 60MB/s as it progresses to the slow parts of the disk. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html