From: Dave Chinner <david@fromorbit.com>
To: Daniel Phillips <daniel.raymond.phillips@gmail.com>
Cc: Rob Landley <rob@landley.net>,
Martin Steigerwald <Martin@lichtvoll.de>,
tux3@phunq.net, Theodore Ts'o <tytso@mit.edu>,
"Darrick J. Wong" <darrick.wong@oracle.com>,
David Lang <david@lang.hm>,
linux-kernel@vger.kernel.org, tux3@tux3.org,
linux-fsdevel@vger.kernel.org
Subject: Re: Tux3 Report: Initial fsck has landed
Date: Fri, 22 Mar 2013 12:57:12 +1100 [thread overview]
Message-ID: <20130322015712.GQ17758@dastard> (raw)
In-Reply-To: <CAEsagEjgDJr7stTu3iCzR4JxB3A856a7u12WcovY=746M2p0jw@mail.gmail.com>
On Wed, Mar 20, 2013 at 06:49:49PM -0700, Daniel Phillips wrote:
> On Tue, Mar 19, 2013 at 11:54 PM, Rob Landley <rob@landley.net> wrote:
> > I'm confused, http://tux3.org/ lists a bunch of dates from 5 years ago, then
> > nothing. Is this project dead or not?
>
> Not. We haven't done much about updating tux3.org lately, however you
> will find plenty of activity here:
>
> https://github.com/OGAWAHirofumi/tux3/tree/master/user
>
> You will also find fairly comprehensive updates on where we are and
> where this is going, here:
>
> http://phunq.net/pipermail/tux3/
>
> At the moment we're being pretty quiet because of being in the middle
> of developing the next-gen directory index. Not such a small task, as
> you might imagine.
Hi Daniel,
The "next-gen directory index" comment made me curious. I wanted to
know if there's anything I could learn from what you are doing and
whether anything of your new algorithms could be applied to, say,
the XFS directory structure to improve it.
I went looking for design docs and found this:
http://phunq.net/pipermail/tux3/2013-January/001938.html
In a word: Disappointment.
Compared to the XFS directory structure, the most striking
architectural similarity that I see is this:
"the file bteee[sic] effectively is a second directory index
that imposes a stable ordering on directory blocks".
That was the key architectural innovation in the XFS directory
structure that allowed it to provide the correct seekdir/telldir/NFS
readdir semantics and still scale. i.e. virtually mapped directory
entries. I explained this layout recently here:
http://marc.info/?l=linux-ext4&m=136081996316453&w=2
http://marc.info/?l=linux-ext4&m=136082221117399&w=2
http://marc.info/?l=linux-ext4&m=136089526928538&w=2
We could swap the relevant portions of your PHTree design doc with
my comments (and vice versa) and both sets of references would still
make perfect sense. :P
Further, the PHTree description of tag based freespace tracking is
rather close to how XFS uses tags to track free space regions,
including the fact that XFS can be lazy at updating global free
space indexes. The global freespace tree indexing is slightly
different to the XFS method - it's closer to the original V1 dir
code in XFS (that didn't scale at all well) than the current code.
However, that's really a fine detail compared to all the major
structural and algorithmic similarities.
Hence it appears to me that at a fundamental level PHTree is just a
re-implementation of the XFS directory architecture. It's definitely
a *major* step forward from HTree, but it can hardly be considered
revolutionary or "next-gen". It's not even state of the art. Hence:
disappointment.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2013-03-22 1:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-28 5:55 Tux3 Report: Initial fsck has landed Daniel Phillips
2013-01-28 6:02 ` David Lang
2013-01-28 6:13 ` Daniel Phillips
2013-01-28 14:12 ` Theodore Ts'o
2013-01-28 23:27 ` David Lang
2013-01-29 0:20 ` Darrick J. Wong
2013-01-29 1:40 ` Theodore Ts'o
2013-01-29 4:34 ` Daniel Phillips
2013-03-19 23:00 ` Martin Steigerwald
2013-03-20 4:04 ` David Lang
2013-03-20 4:08 ` Daniel Phillips
2013-03-20 10:29 ` Martin Steigerwald
2013-03-20 6:54 ` Rob Landley
2013-03-21 1:49 ` Daniel Phillips
2013-03-22 1:57 ` Dave Chinner [this message]
2013-03-22 5:41 ` Daniel Phillips
2013-03-26 6:42 ` Christian Stroetmann
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=20130322015712.GQ17758@dastard \
--to=david@fromorbit.com \
--cc=Martin@lichtvoll.de \
--cc=daniel.raymond.phillips@gmail.com \
--cc=darrick.wong@oracle.com \
--cc=david@lang.hm \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rob@landley.net \
--cc=tux3@phunq.net \
--cc=tux3@tux3.org \
--cc=tytso@mit.edu \
/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).