linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.ru>
To: "krzf83@gmail.com " <krzf83@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs and load (sys)
Date: Wed, 23 Nov 2011 20:56:16 +0600	[thread overview]
Message-ID: <20111123205616.73b4d0a7@natsu> (raw)
In-Reply-To: <CAJ1PRSnhqo3yU4b0sbcYLfByb_pTDuAOL2xo4fryiEoacr8iYg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]

On Wed, 23 Nov 2011 15:43:14 +0100
"krzf83@gmail.com " <krzf83@gmail.com> wrote:

> I've been using btrfs for two months now. Every day between 02:00 and
> 08:00 I rsync some 300GB data (milions of files) to btrfs device and
> then make snapshot. Next day i rsync again 300GG little changed (rsync
> "in place"). First days it worked perfectly. Then loadavg (sys load)
> started to rise. Now, after 60 days of rsync+shapshots sys load is so
> high that whole server becames quite unresponsive betweend 02:00 and
> 08:00. I never deleted any shapshot (yet) to its not rebalancing
> thing.

Hello,

I employ the same scenario, except that my rsync-(actually mirrordir-) destination btrfs device is only mounted briefly for the copy-then-snapshot operation, and unmounted during the rest of the time. Haven't noticed any performance problems yet, but even though I have about 2 TB of data there, it's probably not millions of files.

Have you tried unmounting the FS and then mounting it again, to see if it solves the performance problem (at least for a while)? Or just keeping it mostly unmounted, I suppose what you have is a partition with backups, so keeping it mostly offline is better reliability-wise.


-- 
With respect,
Roman

~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Stallman had a printer,
with code he could not see.
So he began to tinker,
and set the software free."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-11-23 14:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 14:43 btrfs and load (sys) krzf83@gmail.com 
2011-11-23 14:56 ` Roman Mamedov [this message]
2011-11-23 15:08   ` krzf83@gmail.com 
2011-11-23 15:17     ` krzf83@gmail.com 
2011-11-24  1:00     ` Chris Samuel
2011-11-24  1:11       ` Fajar A. Nugraha
2011-11-25  4:40       ` Chris Samuel
2011-11-23 17:01 ` Phillip Susi
2011-11-24  0:42   ` krzf83@gmail.com 
2011-12-02  4:14   ` krzf83@gmail.com 
2011-12-02  4:27     ` Chris Samuel

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=20111123205616.73b4d0a7@natsu \
    --to=rm@romanrm.ru \
    --cc=krzf83@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;
as well as URLs for NNTP newsgroup(s).