linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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: Wed, 6 Apr 2011 12:43:50 +0100	[thread overview]
Message-ID: <chaz20110406114350.GA20568@seebyte.com> (raw)
In-Reply-To: <20110404190753.GC9371@yahoo.fr>

2011-04-04 20:07:54 +0100, Stephane Chazelas:
[...]
> > > 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).
> > 
> > Yes - that's the pessimistic estimation. As Hugo has explained it can  
> > finish faster - just look to the data tomorrow again.
> [...]
> 
> That may be an optimistic estimation actually, as there hasn't
> been much progress in the last 34 hours:
[...]

The rate is going down. It's now down to about 14kB/s

[658654.295752] btrfs: relocating block group 3919858106368 flags 20
[671932.913235] btrfs: relocating block group 3919589670912 flags 20
[686189.296126] btrfs: relocating block group 3919321235456 flags 20
[701511.523990] btrfs: relocating block group 3919052800000 flags 20
[718591.316339] btrfs: relocating block group 3918784364544 flags 20
[725567.081031] btrfs: relocating block group 3918515929088 flags 20
[744415.011581] btrfs: relocating block group 3918247493632 flags 20
[762365.021458] btrfs: relocating block group 3917979058176 flags 20
[780504.726067] btrfs: relocating block group 3917710622720 flags 20

Even though it is reading and writing to disk at a much higher
rate. Here stats every second:

--dsk/sda-----dsk/sdb-----dsk/sdc--
 read  writ: read  writ: read  writ
   0     0 : 540k    0 :  12k    0
   0     0 : 704k    0 :  20k    0
   0     0 :1068k    0 :  24k    0
   0     0 : 968k    0 :   0     0
   0     0 : 932k    0 :4096B    0
   0     0 : 832k  880k: 152k 1320k
  60k 4096B: 880k  140k:   0    28M
  68k    0 : 308k    0 :4096B 9240k
   0    48k:   0     0 :   0  7852k
   0     0 : 576k 6192k:4096B   26M
   0     0 : 100k   18M:   0     0
   0     0 :  28k   10M:   0     0
   0     0 :   0  7020k:   0     0
   0     0 :  52k   13M:   0     0
   0    12k: 528k   17M:   0    12k
   0     0 : 884k    0 :8192B    0
   0     0 :1068k    0 :  20k    0
   0     0 : 660k    0 :   0     0
   0    40k: 776k    0 :4096B    0
   0     0 : 576k    0 :   0     0
   0     0 : 596k    0 :8192B    0
1096k   28k: 664k    0 :4096B    0
   0     0 : 660k    0 :   0     0
   0     0 : 592k    0 :8192B    0

At this rate, the balancing would be over in about 8 years.

Since the start of the balance:
Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
sda              10.04         1.56         1.57    1228286    1237359
sdc             396.24         1.77         3.95    1397015    3115057
sdb             421.17         1.87         3.95    1473759    3115093

I think that's the end of my attempt to transfer that FS to
another machine (see other thread). I'll have to ditch that copy
and try again from scratch with another approach.

Before I do that, is there anything I can do to help investigate
the problem?

regards,
Stephane

  reply	other threads:[~2011-04-06 11:43 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
2011-04-03 19:35         ` Helmut Hullen
2011-04-04 19:07           ` Stephane Chazelas
2011-04-06 11:43             ` Stephane Chazelas [this message]
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=chaz20110406114350.GA20568@seebyte.com \
    --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 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).