Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: kjansen387 <kjansen387@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: btrfs raid1 balance slow
Date: Mon, 20 Jan 2020 23:08:40 +0100	[thread overview]
Message-ID: <6bc329d9-6dc5-a4bc-e7c4-eccd377823eb@gmail.com> (raw)

Hello,

I had a btrfs raid1 with 2 4TB SATA 5400RPM disks . Regular disk I/O is 
about 2MB/sec per drive, ~40IOPS, mostly write. I had ~150GB free and 
added one 2 TB disk and started the balance:

btrfs device add -f /dev/sdb /export
btrfs filesystem balance /export

It's now running for 24 hours, 70% remaining:

# btrfs balance status -v /export
Balance on '/export' is running
1057 out of about 3561 chunks balanced (1058 considered),  70% left
Dumping filters: flags 0x7, state 0x1, force is off
   DATA (flags 0x0): balancing
   METADATA (flags 0x0): balancing
   SYSTEM (flags 0x0): balancing

I have searched for similar cases, but, I do not have quotas enabled, I 
do not have compression enabled, and my CPU supports sse4_2 . CPU 
(i7-8700K) is doing fine, 80% idle (average over all threads).

Is this normal ? I have to repeat this process 2 times (adding more 2TB 
disks), any way I can make it faster ?

Thanks!
Klaas


             reply	other threads:[~2020-01-20 22:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 22:08 kjansen387 [this message]
2020-01-20 22:13 ` btrfs raid1 balance slow Hugo Mills
2020-01-20 23:59 ` Qu Wenruo
2020-01-21  9:51 ` kjansen387
2020-01-22  8:18   ` kjansen387

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6bc329d9-6dc5-a4bc-e7c4-eccd377823eb@gmail.com \
    --to=kjansen387@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox