mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernd Eckenfels <ecki@calista.eckenfels.6bone.ka-ip.net>
To: linux-kernel@vger.kernel.org
Subject: Re: cachefs on linux
Date: Wed, 11 Jun 2003 12:03:30 +0200	[thread overview]
Message-ID: <E19Q2S2-0001J0-00@calista.inka.de> (raw)
In-Reply-To: <200306101515.53464.rob@landley.net>

In article <200306101515.53464.rob@landley.net> you wrote:
> On Tuesday 10 June 2003 04:29, Sean Hunter wrote:
...
>> Its particularly handy for fast read-only NFS stuff.  We have thousands
>> of linux hosts and distributing software to all of them is a pain.  With
>> cachefs with NFS as the "back" filesystem, you push to the masters and
>> the clients get the changes over NFS and then store them in their local
>> cache so your software distribution nightmare becomes no problem at all.

This is not a good idea, unless you have a transactional semantic for the
fetches from the backend. Otherwise you have a mixture of old and new files.

>> Clients read off the local disk if they can, but fetch over NFS as
>> required.  You can tune the cache size on all of the client machines so
>> they can cache more or less of the most recently used NFS junk on its
>> local disk.

This is btw exactly what CODA and AFS does best.

> Technically cachefs is just a union mount with tmpfs or ramfs as the overlay 
> on the underlying filesystem.  Doing a seperate cachefs is kind of pointless 
> in Linux.

I think it is a bit different, since the cache is on disk and can be larger.
If you want to put that in swap space, you may quickly exceed some VM
limits. So there is a difference.

Greetings
Bernd
-- 
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/

  parent reply	other threads:[~2003-06-11  9:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09 19:26 Leonardo H. Machado
2003-06-09 20:42 ` Matthias Schniedermeyer
2003-06-09 20:49   ` Shawn
2003-06-09 20:56     ` Matthias Schniedermeyer
2003-06-10  8:29     ` Sean Hunter
2003-06-10 19:15       ` Rob Landley
2003-06-10 20:39         ` Anton Altaparmakov
2003-06-11  0:51           ` Rob Landley
2003-06-11 10:03         ` Bernd Eckenfels [this message]
2003-06-11 11:12           ` Hirokazu Takahashi
2003-06-11 22:26             ` J.A. Magallon
2003-06-10  7:53 john
2003-06-11 21:01 Perez-Gonzalez, Inaky

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=E19Q2S2-0001J0-00@calista.inka.de \
    --to=ecki@calista.eckenfels.6bone.ka-ip.net \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®