Re: New Linux Filesystem: NILFS

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: New Linux Filesystem: NILFS
Date: 2006-09-06 23:58:36
Message-ID: 1157587116.20589.136.camel@dogma.v10.wvs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2006-09-06 at 18:55 -0400, Chris Browne wrote:
> pgsql(at)j-davis(dot)com (Jeff Davis) writes:
> >> > Do you see an advantage in using LFS for PostgreSQL?
> >>
> >> Hey guys - I think the original poster only meant to suggest that it
> >> was *interesting*... :-)
> >>
> >
> > I see, my mistake.
>
> >From a reliability perspective, I can see some value to it...
>
> I have seen far too many databases corrupted by journalling gone bad
> in the past year... :-(
>

Can you elaborate a little? Which filesystems have been problematic?
Which filesystems are you more confident in?

> >
> > And if there is an improvement, shouldn't that be a project for
> > something like Linux, where other databases could also benefit? It
> > could just be implemented as a database-specific filesystem.
>
> The classic problem with log structured filesystems is that sequential
> reads tend to be less efficient than in overwriting systems; perhaps
> if they can get "vacuuming" to be done frequently enough, that might
> change the shape of things.
>
> That would be a relevant lesson that _we_ have discovered that is
> potentially applicable to filesystem implementors.
>
> And I don't consider this purely of academic interest; the ability to:
> a) Avoid the double writing of journalling, and
> b) Avoid the risks of failures due to misordered writes
> are both genuinely valuable.

Right, LFS is promising in a number of ways. I've read about it in the
past, and it would be nice if this NILFS implementation sparks some new
research in the area.

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-09-07 00:06:08 Re: New XML section for documentation
Previous Message Greg Sabino Mullane 2006-09-06 23:40:07 Re: [COMMITTERS] pgsql: Sequences were not being shown due to the use of lowercase `s`