plugin for cached network file system
How hard would it be to write a Reiser4 plug-in
to implement a network file system with a cache on the local disk?
By caching I mean an incomplete local mirror
of the master filesystem on the network server
with on-demand loading and a simple flushing algorithm.
So open calls to files in the cached area are intercepted
and if the file isn't already in place a script is called to get it there.
THEN the open call returns the file-handle normally.
I only need the simplest case of a distributed file system:
- nodes are only reading the files,
- files only change slowly (~weekly)
so cached files could be assumed fresh for a day at a time
or even flushed with: rsh node 'rm -r /cache/*'
- any network code could be avoided by NFS mounting the master copy, so fetching a new file is still just a local cp off the NFS mount.
The situation is that CSIRO'S Bioinformatics Facility
has two 400Gig filesystems on a server,
that need to be available to 66 cluster nodes.
Just NFS exporting one server to so many nodes leaves the cluster NFS bound. (Should I say they are Dell Perc 3 controllers and slow-as...)
Jobs come in big batches each reading the same 2 - 6 Gig file. Each node has 27 Gig of free space so it's heaps for the working set
I just don't want to have to groom what is in this working set for each job.
Nor do I want to have to pre-pend an rsync to a batch.
Has anyone written something that could be bent to this purpose? Is there template code for a Reiser4 plug-in?
Or what would it cost to get it written?
michaelj
Signature · 3 lines
Michael James [email protected] System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
Quoted 30 lines · Michael James
How hard would it be to write a Reiser4 plug-in
to implement a network file system with a cache on the local disk?By caching I mean an incomplete local mirror
of the master filesystem on the network server
with on-demand loading and a simple flushing algorithm.
So open calls to files in the cached area are intercepted
and if the file isn't already in place a script is called to get it there. THEN the open call returns the file-handle normally.I only need the simplest case of a distributed file system:
- nodes are only reading the files,
- files only change slowly (~weekly)
so cached files could be assumed fresh for a day at a time
or even flushed with: rsh node 'rm -r /cache/*'
- any network code could be avoided by NFS mounting the master copy, so fetching a new file is still just a local cp off the NFS mount.The situation is that CSIRO'S Bioinformatics Facility
has two 400Gig filesystems on a server,
that need to be available to 66 cluster nodes.
Just NFS exporting one server to so many nodes leaves the cluster NFS bound. (Should I say they are Dell Perc 3 controllers and slow-as...)Jobs come in big batches each reading the same 2 - 6 Gig file. Each node has 27 Gig of free space so it's heaps for the working set I just don't want to have to groom what is in this working set for each job. Nor do I want to have to pre-pend an rsync to a batch.
Quoted 9 lines
Has anyone written something that could be bent to this purpose? Is there template code for a Reiser4 plug-in?
Or what would it cost to get it written?michaelj
It is easy to do a hack, and hard to do it right so that the world would want to drop nfs and move to it. We are trying to find a sponsor to do it right, and have a proposal called Reiser5 that costs $1.8 million, and provides global scalability (which nfs/afs/clusterfs/intermezzo do not, in my view).
Hans
Quoted 4 lines
Quoted 4 lines
Michael James asked:
How hard would it be to write a Reiser4 plug-in
to implement a network file system with a cache on the local disk?
Quoted 5 lines · Hans Reiser
It is easy to do a hack, and hard to do it right so that the world would want to drop nfs and move to it. We are trying to find a sponsor to do it right, and have a proposal called Reiser5 that costs $1.8 million, and provides global scalability (which nfs/afs/clusterfs/intermezzo do not, in my view).
At this stage, I'm looking for the, "Don't worry, be scrappy" solution.
1) Just kludge the basic functionality.
(read-only, file-fetching/flushing in sh or perl,
NFS mounted master, manual deletion of outdated copies)
2) Let time, necessity and the GPL refine it and add features. (read-write-locking, automatic updating, built-in file fetching/flushing and network code)
3) Always keeping an eye on 2) during 1).
There doesn't seem to be anything like this in Linux, and having it
would be a boon (and give reiser4 a leg-up) in the cluster community.
michaelj
Signature · 3 lines
Michael James [email protected] System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
T�rnqvist
Quoted 2 lines · Michael James
At this stage, I'm looking for the, "Don't worry, be scrappy" solution.
I'm no expert, but I wouldn't go around kludging something like this.
Quoted 2 lines
There doesn't seem to be anything like this in Linux, and having it would be a boon (and give reiser4 a leg-up) in the cluster community.
I'd rather start an online money-collection campaign, pass the hat around, to give Namesys money to implement Reiser5. It would probably be faster finished, the basic kludge even, and the quality would be better.
Signature · 1 line
mjt
Quoted 7 lines · On Thu, 13 May 2004 10:03:55 +0300 [email protected] (Markus Törnqvist) wrote:
Quoted 3 lines · Michael James
At this stage, I'm looking for the, "Don't worry, be scrappy" solution.
I'm no expert, but I wouldn't go around kludging something like this.
Quoted 8 lines
Quoted 3 lines
There doesn't seem to be anything like this in Linux, and having it would be a boon (and give reiser4 a leg-up) in the cluster community.
I'd rather start an online money-collection campaign, pass the hat around, to give Namesys money to implement Reiser5. It would probably be faster finished, the basic kludge even, and the quality would be better.
wow the problem here maybe to find a hat with 1.8million dollar capacity
:D
Quoted 4 lines
Signature · 2 lines
-- mjt
Signature · 1 line
La resistencia es fútil todos seréis asimilados
T�rnqvist
Quoted 1 line · Miguel
wow the problem here maybe to find a hat with 1.8million dollar capacity
Getting the bugger bootstrapped may require less money.
Signature · 1 line
mjt
You could try coda. http://www.coda.cs.cmu.edu/
It supports disconnected operation and network caching.
I don't know if their "venus" caching daemon blows up if you tell it to cache 20Gig's. Their admin doc says max. 300Meg's for caching.
From their homepage:
Coda is a distributed filesystem with its origin in AFS2. It has many features that are very desirable for network filesystems. Currently, Coda has several features not found elsewhere.
1. disconnected operation for mobile computing
2. is freely available under a liberal license
3. high performance through client side persistent caching
4. server replication
5. security model for authentication, encryption and access control
6. continued operation during partial network failures in server network
7. network bandwith adaptation
8. good scalability
9. well defined semantics of sharing, even in the presence of network
failures
Quoted 35 lines · Michael James
How hard would it be to write a Reiser4 plug-in
to implement a network file system with a cache on the local disk?By caching I mean an incomplete local mirror
of the master filesystem on the network server
with on-demand loading and a simple flushing algorithm.
So open calls to files in the cached area are intercepted
and if the file isn't already in place a script is called to get it there.
THEN the open call returns the file-handle normally.I only need the simplest case of a distributed file system:
- nodes are only reading the files,
- files only change slowly (~weekly)
so cached files could be assumed fresh for a day at a time
or even flushed with: rsh node 'rm -r /cache/*'
- any network code could be avoided by NFS mounting the master copy, so fetching a new file is still just a local cp off the NFS mount.The situation is that CSIRO'S Bioinformatics Facility
has two 400Gig filesystems on a server,
that need to be available to 66 cluster nodes.
Just NFS exporting one server to so many nodes leaves the cluster NFS bound. (Should I say they are Dell Perc 3 controllers and slow-as...)Jobs come in big batches each reading the same 2 - 6 Gig file. Each node has 27 Gig of free space so it's heaps for the working set
I just don't want to have to groom what is in this working set for each
job. Nor do I want to have to pre-pend an rsync to a batch.Has anyone written something that could be bent to this purpose? Is there template code for a Reiser4 plug-in?
Or what would it cost to get it written?michaelj
Signature · 1 line
lg, Chris
Quoted 25 lines · Michael James
Quoted 6 lines
Quoted 6 lines
Michael James asked:
How hard would it be to write a Reiser4 plug-in
to implement a network file system with a cache on the local disk?Quoted 3 lines · Hans Reiser
It is easy to do a hack, and hard to do it right so that the world would want to drop nfs and move to it. We are trying to find a sponsor to do it right, and have a proposal called Reiser5 that costs $1.8 million, and provides global scalability (which nfs/afs/clusterfs/intermezzo do not, in my view).
At this stage, I'm looking for the, "Don't worry, be scrappy" solution.
1) Just kludge the basic functionality.
(read-only, file-fetching/flushing in sh or perl,
NFS mounted master, manual deletion of outdated copies)2) Let time, necessity and the GPL refine it and add features. (read-write-locking, automatic updating, built-in file fetching/flushing and network code)
Quoted 10 lines
3) Always keeping an eye on 2) during 1).
There doesn't seem to be anything like this in Linux, and having it would be a boon (and give reiser4 a leg-up) in the cluster community.
michaelj
I am very skeptical of the value of it (that is how NFS came about, just doing things quickly....), but to answer the question asked, it would be easy.
Quoted 4 lines · Markus Törnqvist
On Thu, May 13, 2004 at 09:21:06AM +0200, Miguel wrote:
Quoted 8 lines
Quoted 3 lines
wow the problem here maybe to find a hat with 1.8million dollar capacity
Getting the bugger bootstrapped may require less money.
There are pleny of people working on cluster file systems. Their stuff does not scale globally, it all scales to single machine room only. I would like to address this problem, but only if well funded enough to win the competition.
Quoted 4 lines · Hans Reiser
There are pleny of people working on cluster file systems. Their stuff does not scale globally, it all scales to single machine room only. I would like to address this problem, but only if well funded enough to win the competition.
In what ways do the scalability problems manifest themselves? What happens?
Enrique
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Michael James asked:
How hard would it be to write a Reiser4 plug-in
to implement a network file system with a cache on the local disk?
Quoted 7 lines
Quoted 7 lines · Hans Reiser
Quoted 6 lines
It is easy to do a hack, and hard to do it right so that the world would want to drop nfs and move to it. We are trying to find a sponsor to do it right, and have a proposal called Reiser5 that costs $1.8 million, and provides global scalability (which nfs/afs/clusterfs/intermezzo do not, in my view).
NFS has its strength: Easy, overlays onto an existing (trusted) filesystem
and its many weaknesses: bad locking, single server, etc.
AFS and its derivatives Coda and Intermezzo
use ACLs which map badly in a Unix environment.
Also to support disconnected operation so they need to be complete copies,
(no good for my case) and because of the penalty of re-syncing on re-connect they aren't designed for big partitions (again no good).
Lustre I need to study more.
It's Hans' determination to to go right down to basics and do it properly
that makes me think reiserfs could be the one to carry Linux to new levels.
That said, I don't have $1.8 M or even the time to spend it
before my last kludge (rsync complete local copies onto the nodes) turns around and bites me. (the files grew, not enough space anymore)
So I'm still looking for the, "Don't worry, be scrappy" solution.
Quoted 5 lines
Quoted 1 line · Hans Reiser
I am very skeptical of the value of it (that is how NFS came about, just doing things quickly....), but to answer the question asked, it would be easy.
Where do I start?
Signature · 3 lines
Michael James [email protected] System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hans" == Hans Reiser <[email protected]> writes:
Hans> It is easy to do a hack, and hard to do it right so that the world Hans> would want to drop nfs and move to it. We are trying to find a Hans> sponsor to do it right, and have a proposal called Reiser5 that Hans> costs $1.8 million, and provides global scalability (which Hans> nfs/afs/clusterfs/intermezzo do not, in my view).
Purely out of curiosity (I have no access to funding of that scale, and I don't influence anyone who does), do you have an estimate for how much it would cost to get Reiser6 functionality?
Signature · 4 lines
Hubert Chan <[email protected]> - http://www.uhoreg.ca/ PGP/GnuPG key: 1024D/124B61FA Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA Key available at wwwkeys.pgp.net. Encrypted e-mail preferred.
Same amount.
Hans
Quoted 11 lines · Hubert Chan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hans" == Hans Reiser <[email protected]> writes:
Hans> It is easy to do a hack, and hard to do it right so that the world Hans> would want to drop nfs and move to it. We are trying to find a Hans> sponsor to do it right, and have a proposal called Reiser5 that Hans> costs $1.8 million, and provides global scalability (which Hans> nfs/afs/clusterfs/intermezzo do not, in my view).
Purely out of curiosity (I have no access to funding of that scale, and I don't influence anyone who does), do you have an estimate for how much it would cost to get Reiser6 functionality?