reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Mathieu Belanger <m@thieu.so>
Cc: doiggl@velocitynet.com.au, reiserfs-devel@vger.kernel.org
Subject: Re: Is it possible to speed up the command fsck.reiser4
Date: Fri, 20 Sep 2013 23:07:04 +0200	[thread overview]
Message-ID: <523CB8F8.1010200@gmail.com> (raw)
In-Reply-To: <20130920081132.Horde.Y-RztXjJvXUJYU-W3fifxw1@mail.thieu.so>

A real possibility to speed up fsck is supporting many storage trees per 
volume.

This feature has a special name "subvolumes": you marked some directories as
"subvolumes", so that (meta)data of their children will be stored in the 
respective
storage tree.

So, instead of processing one storage tree fsck will process many trees 
in parallel.

The old name of this feature is "ChunkFS": there were attempts to 
organize something
similar in ext3..

Thanks,
Edward.


On 09/20/2013 10:11 AM, Mathieu Belanger wrote:
>
> A build-fs probably read the whole disk to find what it need to 
> rebuild (I did not check inside but it sound like that). After, if you 
> add that for reading a fatty 2TB hard drive still go at the speed of a 
> 80GB drive, that will justify the time ;)
>
> So if fsck go read the nodes "one at a time" and that you have 
> something like a Western digital Grean 2TB, you end up with a nominal 
> transfer speed of 56.6MiB/s with is about half the max because you 
> miss one (slow)RPM of read, you end up with 609 minutes and so just to 
> read the STORAGES TREE nodes...
>
> If fsck read them "one at a time", it could be speed-up by doing a 
> sequential read of the whole disk and using the ram for buffer to scan 
> for theses nodes but it's not actually the priority (lot of thing are 
> more important than the speed of fsck, for exemple FITRIM to keep our 
> SSD fast).
> -- 
> To unsubscribe from this list: send the line "unsubscribe 
> reiserfs-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2013-09-20 21:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18 13:49 Is it possible to speed up the command fsck.reiser4 doiggl
2013-09-20  8:11 ` Mathieu Belanger
2013-09-20 21:07   ` Edward Shishkin [this message]

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=523CB8F8.1010200@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=doiggl@velocitynet.com.au \
    --cc=m@thieu.so \
    --cc=reiserfs-devel@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).