From: Josef Bacik <jbacik@fb.com>
To: <russell@coker.com.au>, Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Balance performance problem with 3.14.1
Date: Thu, 8 May 2014 12:10:07 -0400 [thread overview]
Message-ID: <536BAC5F.60803@fb.com> (raw)
In-Reply-To: <201405081950.23922.russell@coker.com.au>
On 05/08/2014 05:50 AM, Russell Coker wrote:
> I've got a server/workstation (KDE desktop and file server) running kernel
> 3.14.1 from the Debian package 3.14-trunk-amd64.
>
> It was running well until I decided to do a full balance of the BTRFS RAID-1
> array of 3TB SATA disks (which hadn't been balanced before due to previous
> kernels performing badly with scrub or balance). I canceled the balance after
> about 5 days when it had been claiming to be about 65% done for a day while
> doing a lot of disk IO.
>
Can I see dmesg/messages for the time that this was running for so long?
> After canceling the balance the performance of the array has been poor. It
> has a cron job that runs twice a week to rsync data from a Maildir based mail
> server that currently has 2401473 Inodes in use according to ZFS on the mail
> server (unfortunately BTRFS won't tell me how many Inodes are in use). The
> cron job does an "rsync -va" type backup WITHOUT the -c option, so we're
> basically doing a recursive stat on all files and then transferring new files
> (Dovecot index files are excluded so files tend never to change). After the
> rsync is complete "cp -rl" is used to make a backup of the tree.
>
> The cp -rl usually takes something less than 30 minutes (not long enough for
> me to even notice) but today cp has been running for 5.5 hours and seems to be
> about 3/5 done (9000/15000 subdirectories linked).
>
Sysrq+w while it's running, just one and then wait a while and then
another. Thanks,
Josef
next prev parent reply other threads:[~2014-05-08 16:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-08 9:50 Balance performance problem with 3.14.1 Russell Coker
2014-05-08 15:07 ` Duncan
2014-05-08 16:10 ` Josef Bacik [this message]
2014-05-12 2:17 ` Russell Coker
-- strict thread matches above, loose matches on Subject: below --
2014-05-08 11:47 Tomasz Chmielewski
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=536BAC5F.60803@fb.com \
--to=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=russell@coker.com.au \
/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;
as well as URLs for NNTP newsgroup(s).