All of lore.kernel.org
 help / color / mirror / Atom feed
* plugin for cached network file system
@ 2004-05-13  0:59 Michael James
  2004-05-13  5:49 ` Hans Reiser
  2004-05-13  9:15 ` Christian Mayrhuber
  0 siblings, 2 replies; 13+ messages in thread
From: Michael James @ 2004-05-13  0:59 UTC (permalink / raw)
  To: reiserfs-list

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


-- 
Michael James                         michael.james@csiro.au
System Administrator                    voice:  02 6246 5040
CSIRO Bioinformatics Facility             fax:  02 6246 5166


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-05-15 17:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13  0:59 plugin for cached network file system Michael James
2004-05-13  5:49 ` Hans Reiser
2004-05-13  6:53   ` Michael James
2004-05-13  7:03     ` mjt
2004-05-13  7:21       ` Miguel
2004-05-13  7:24         ` mjt
2004-05-13 16:09           ` Hans Reiser
2004-05-13 22:37             ` Enrique Perez-Terron
2004-05-13 15:58     ` Hans Reiser
2004-05-14  2:07       ` Michael James
2004-05-15  4:40   ` Hubert Chan
2004-05-15 17:16     ` Hans Reiser
2004-05-13  9:15 ` Christian Mayrhuber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.