[lkml]   [2003]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: cachefs on linux
In article <> 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.

eckes privat -
Project Freefire -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:36    [W:0.067 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site