From: Phillip Susi <psusi@cfl.rr.com>
To: Andreas Dilger <adilger@dilger.ca>
Cc: linux-ext4@vger.kernel.org
Subject: Re: 64bit filesystem questions
Date: Fri, 10 Jun 2011 13:45:20 -0400 [thread overview]
Message-ID: <4DF25830.3030609@cfl.rr.com> (raw)
In-Reply-To: <3D6EAD75-AD40-4761-91E4-9245B26536C7@dilger.ca>
On 6/10/2011 1:29 PM, Andreas Dilger wrote:
> On 2011-06-10, at 11:14 AM, Phillip Susi wrote:
>> On 6/10/2011 12:19 PM, Andreas Dilger wrote:
>>> I think in the presence of flex_bg this issue is moot.
>>
>> What is the issue without flex_bg?
>
> No "issue" really, just that the block/inode bitmaps are spread all over
> the filesystem. The original discussion was about whether there could be
> "larger bitmaps that addressed more than 32768 blocks", which is essentially
> what the flex_bg feature provides. With flex_bg the bitmaps for different
> groups will be allocated adjacent to each other on disk, and allow addressing
> more than 32768 blocks without any seeking.
>
> On large filesystems without flex_bg, the distribution of the bitmaps without
> flex_bg means that a seek is needed to read each one, and given that spinning
> disks have stayed at about 100 seeks/sec for decades it means 10+ minutes just
> to read all of the bitmaps.
>
> On my 2TB 5400 RPM SATA drive, e2fsck time went from ~20 minutes to ~3 minutes
> by copying the data to a new ext4 filesystem with flex_bg + extents. For a
> fair comparison, I then reformatted the original (identical) disk without
> flex_bg or extents and copied the data back, so that there wasn't any unfair
> comparison between the newly-formatted filesystem and the old fragmented one.
I know what flex_bg is; what I don't understand is what it has to do
with the limit on the size of a block group. Whether the block bitmaps
are stored in their native block group, or clustered up with flex_bg
does not seem to have anything to do with whether or not the size of the
bitmap can exceed 32k blocks.
next prev parent reply other threads:[~2011-06-10 17:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-09 14:36 64bit filesystem questions Phillip Susi
2011-06-10 0:08 ` Andreas Dilger
2011-06-10 15:19 ` Phillip Susi
2011-06-10 16:19 ` Andreas Dilger
2011-06-10 17:14 ` Phillip Susi
2011-06-10 17:29 ` Andreas Dilger
2011-06-10 17:45 ` Phillip Susi [this message]
2011-06-10 20:37 ` Andreas Dilger
2011-06-10 21:21 ` Phillip Susi
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=4DF25830.3030609@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=adilger@dilger.ca \
--cc=linux-ext4@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).