From: "Jose R. Santos" <jrs@us.ibm.com>
To: Laurent Vivier <Laurent.Vivier@bull.net>
Cc: linux-ext4 <linux-ext4@vger.kernel.org>
Subject: Re: [RFC] BIG_BG vs extended META_BG in ext4
Date: Sat, 30 Jun 2007 23:40:11 -0500 [thread overview]
Message-ID: <20070630234011.38b4bb22@gara> (raw)
In-Reply-To: <D5D3223C-4EB0-413B-A81A-05F6DDC0FEEB@bull.net>
On Sat, 30 Jun 2007 11:06:16 -0400
Laurent Vivier <Laurent.Vivier@bull.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Le 29 juin 07 à 18:09, Jose R. Santos a écrit :
> Hi Jose,
Hi Laurent,
Seems like your emails are not making it to the mailing list. I got
them fine though.
> Thank you for the question ;-)
>
> BIG_BG allows to limit the number of groups (at least in the group
> counter).
> IMHO, I think it could be important in some cases.
Yes, I think bigger block groups will benefit extents a great deal
since not only can we have larger extents, but I believe that as the
filesystem ages the chances of getting large number contiguous block can
be reduce with small block groups.
> For instance, if we keep the same inode table allocation politic, we
> divide the total number of inode in the FS by the total number of
> groups.
> For the moment, number of inode < 2^32 and if we have number of block
> group > 2^32 the number of inode per group is 0.... is META_BG able
> to manage this case ?
Good point. It is a scenario that needs to be looked, although I
sincerely hope that we get 64-bit inodes implemented by the time
storage devices get that big. ;)
> With META_BG, a 2^48 blocks FS will have 2^48 / 2^12 = 2^36 groups.
> Perhaps it could be interesting to have less groups ?
Agree...
> With less groups, we load less group descriptors in memory, we have
> less I/O to read bitmap and inode array (because we manage less group
> descriptors again, because we load bigger bitmap and array in one time)
Presumably, we would still need to access the same amount data but
latencies should be reduce since we could do larger IO's and less seeks
to read the bitmaps. I also wonder if there are benefits in terms of
locality to having the bitmaps closer to its blocks vs having them far
away like in xMETA_BG.
> Regards,
> Laurent
-JRS
next prev parent reply other threads:[~2007-07-01 4:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 22:09 [RFC] BIG_BG vs extended META_BG in ext4 Jose R. Santos
2007-06-30 5:51 ` Andreas Dilger
2007-06-30 14:24 ` Mingming Cao
2007-07-01 4:39 ` Jose R. Santos
2007-07-01 12:30 ` Theodore Tso
2007-07-01 14:48 ` Jose R. Santos
2007-07-02 15:49 ` Theodore Tso
2007-07-02 14:12 ` Mingming Cao
2007-07-05 6:56 ` Valerie Henson
[not found] ` <D5D3223C-4EB0-413B-A81A-05F6DDC0FEEB@bull.net>
2007-07-01 4:40 ` Jose R. Santos [this message]
2007-07-01 16:31 ` Andreas Dilger
2007-07-02 14:39 ` Jose R. Santos
2007-07-03 17:55 ` Andreas Dilger
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=20070630234011.38b4bb22@gara \
--to=jrs@us.ibm.com \
--cc=Laurent.Vivier@bull.net \
--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).