From: Roger Larsson <roger.larsson@norran.net>
To: linux-fsdevel@vger.kernel.org
Subject: Re: [RFC] Copy on First Read?
Date: Mon, 10 Jul 2006 12:25:46 +0200 [thread overview]
Message-ID: <200607101225.46928.roger.larsson@norran.net> (raw)
In-Reply-To: <20060710082711.GD15380@schatzie.adilger.int>
On Monday 10 July 2006 10:27, Andreas Dilger wrote:
> On Jul 10, 2006 09:04 +0200, Roger Larsson wrote:
> > I have been thinking about a file system that uses Copy On First Read.
> > - - -
> It doesn't sound significantly different than a regular log-structured
> filesystem. You still need a cleaner thread to move files around and
> keep the free space contiguous.
It is needed but shouldn't have that much to do. Unless most files are
never read...
> Since this is (in essence) data journaling
> all writes, you need to have double the disk bandwidth in order to rewrite
> all of the files that are read.
Not double since it is only the first read after a write that needs to be
rewritten. My assumption is that most files are written fewer times than
they are read. And the read for the copy is free since that was what
triggered it.
Config files - few changes, many reads.
Media files - one write, (probably) many reads.
Office files - more reads than writes.
Log files - many writes, few reads.
. . .
/RogerL
next prev parent reply other threads:[~2006-07-10 10:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 7:04 [RFC] Copy on First Read? Roger Larsson
2006-07-10 8:27 ` Andreas Dilger
2006-07-10 10:25 ` Roger Larsson [this message]
2006-07-10 17:59 ` Theodore Tso
2006-07-10 20:42 ` Roger Larsson
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=200607101225.46928.roger.larsson@norran.net \
--to=roger.larsson@norran.net \
--cc=linux-fsdevel@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