From: Stephane Chazelas <stephane_chazelas@yahoo.fr>
To: helmut@hullen.de
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs balancing start - and stop?
Date: Sun, 3 Apr 2011 19:53:41 +0100 [thread overview]
Message-ID: <20110403185341.GA11024@yahoo.fr> (raw)
In-Reply-To: <Bj0jd3Ey1uB@helmut.hullen.de>
2011-04-01 21:26:00 +0200, Helmut Hullen:
> Hallo, Stephane,
Hi Helmut,
> Du meintest am 01.04.11:
>
> >> balancing about 2 TByte needed about 20 hours.
> > [...]
>
> > I've got a balance running since Monday on a 9TB volume (3.5 of which
> > are used, 3.2 allegedly free), showing no sign of finishing soon.
> > Should I be worried?
>
> > Using /proc/sys/vm/block_dump, I can see it's seeking all over the
> > place, which is probably why throughput is not high. I can also see
> > it writing several times to the same sectors.
>
>
> Hugo has explained the limits of regarding
>
> dmesg | grep relocating
>
> or (more simple) the last lines of "dmesg" and looking for the
> "relocating" lines. But: what do these lines tell now? What is the
> (pessimistic) estimation when you extrapolate the data?
>
> (please excuse my gerlish)
[...]
$ dmesg | grep reloc | sed -e 1b -e '$!d'
[370178.209571] btrfs: relocating block group 5612075220992 flags 20
[546163.062739] btrfs: relocating block group 3923616202752 flags 20
So, if it's to go down to zero:
$ echo $((3923616202752*(546163.062739-370178.209571)/(5612075220992-3923616202752)/86400))
4.7332292856705722
4.7 more days to go. And I reckon it will have written about 9
TB to disk by that time (which is the total size of the volume,
though only 3.8TB are occupied).
--
Stephane
next prev parent reply other threads:[~2011-04-03 18:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 11:14 btrfs balancing start - and stop? Struan Bartlett
2011-04-01 11:59 ` Hugo Mills
2011-04-05 16:06 ` Struan Bartlett
2011-04-01 12:12 ` Helmut Hullen
2011-04-01 13:22 ` Konstantinos Skarlatos
2011-04-01 13:36 ` Helmut Hullen
2011-04-01 13:52 ` Hugo Mills
[not found] ` <20110401133736.GB2984@carfax.org.uk>
2011-04-01 14:24 ` Konstantinos Skarlatos
2011-04-01 18:33 ` Stephane Chazelas
2011-04-01 19:26 ` Helmut Hullen
2011-04-03 18:53 ` Stephane Chazelas [this message]
2011-04-03 19:35 ` Helmut Hullen
2011-04-04 19:07 ` Stephane Chazelas
2011-04-06 11:43 ` Stephane Chazelas
2011-04-11 8:42 ` Stephane Chazelas
2011-04-11 9:14 ` Helmut Hullen
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=20110403185341.GA11024@yahoo.fr \
--to=stephane_chazelas@yahoo.fr \
--cc=helmut@hullen.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.