9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Persistent cache for cfs
@ 2001-05-12  4:26 Fariborz 'Skip' Tavakkolian
  0 siblings, 0 replies; 8+ messages in thread
From: Fariborz 'Skip' Tavakkolian @ 2001-05-12  4:26 UTC (permalink / raw)
  To: 9fans

Any thoughts on how cfs could be made to work in disconnected
operations (i.e. persistent cache)?
Also, what limits the cache size?



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [9fans] Persistent cache for cfs
@ 2001-05-12 13:02 presotto
  2001-05-12 17:35 ` Fariborz 'Skip' Tavakkolian
  2001-05-16  8:43 ` Matthew Weigel
  0 siblings, 2 replies; 8+ messages in thread
From: presotto @ 2001-05-12 13:02 UTC (permalink / raw)
  To: 9fans

On Sat May 12 00:18:29 EDT 2001, fst@real.com wrote:
> Any thoughts on how cfs could be made to work in disconnected
> operations (i.e. persistent cache)?
> Also, what limits the cache size?
> 

I'm not sure what you mean.  It is a persistent cache.
When booted stand alone, you can always start it up
pointing to a remote file system just by typing
'cfs -a il!fileserver!9fs /n/fileserver',
for example.

However it's not a file cache, it's a byte cache.  It stores
only the exact bytes you read or write, no more.  If you need
something that acts as a file system when not connected, a stash
if you will, cfs isn't even close.  Not only will it not have
parts of files you didn't read recently, but it also knows 
nothing about directory structure storing cached data indexed
by qid and file offset.

What plan 9 could use is a stash, something that stores files
you accessed recently, perhaps picking them up lazily.  That way,
you could disconnect and keep working.  You'ld still need a
local file system like Unix's root file system because you need
some guaranteed files, or you could just provide a set of files
that the stash absolutely has to have, in addition to what it
caches.  It would be a nice and useful project for someone to
do.  There was a lot of good work some years ago at Columbia
and other places.  No idea where it went.


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

end of thread, other threads:[~2001-05-21 14:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-12  4:26 [9fans] Persistent cache for cfs Fariborz 'Skip' Tavakkolian
2001-05-12 13:02 presotto
2001-05-12 17:35 ` Fariborz 'Skip' Tavakkolian
2001-05-16  8:43 ` Matthew Weigel
2001-05-18  8:35   ` Douglas A. Gwyn
2001-05-18 14:50     ` Douglas A. Gwyn
2001-05-21  8:39     ` Matthew Weigel
2001-05-21 14:26       ` Ronald G Minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).