what if? or combining different ideas j. f. pâris

17
What if? or Combining different ideas J. F. Pâris

Upload: lee-lloyd

Post on 19-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: What if? or Combining different ideas J. F. Pâris

What if?orCombining different ideas

J. F. Pâris

Page 2: What if? or Combining different ideas J. F. Pâris

Combining RAID-5 and LFS

RAID-5allows parallel writes thus increasing I/O

bandwidthhas problems with small writes

LFSensures that all writes are sequentialadds I/O overhead for segment cleaning

Page 3: What if? or Combining different ideas J. F. Pâris

Combining RAID-5 and LFS

What would be the main advantage?

Page 4: What if? or Combining different ideas J. F. Pâris

Combining RAID-5 and LFS

What would be the main advantage?It would greatly reduce the small write

penalty assuming that we can write the log one stripe at a time

Was it already tried?Yes in the Zebra file system

Page 5: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

How would it work? When a process does a lookup for a file it gets

a lease on that file for up to a few secondsDuring that time it does not need to

revalidate its cache contents sends its updates to the server

unless it has no local disk

Page 6: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

What would be the main advantage of this approach?

Page 7: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

What would be the main advantage of this approach? A big reduction of revalidation traffic:

Server could handle more clients

Page 8: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

Would it not make the server stateful?

Page 9: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

Would it not make the server stateful?Yes

Page 10: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

Would it not complicate server recovery?

Page 11: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

Would it not complicate server recovery?NO, because the state information would

only consist of short lived leasesA server recovering after a crash will

never have to deal with unexpired leases

Page 12: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

What would you do when a lease is broken?

Page 13: What if? or Combining different ideas J. F. Pâris

Adding leases to NFS

What would you do when a lease is broken?It would mean that somebody else is

accessing the fileWe could either

Return to standard NFS operation with more frequent cache refreshes

Disable client caching for a while

Page 14: What if? or Combining different ideas J. F. Pâris

Adding leases to AFS/Coda

What would be the main advantage of this approach?

Page 15: What if? or Combining different ideas J. F. Pâris

Adding leases to AFS/Coda

What would be the main advantage of this approach?No more lost callbacks

More faithful implementation of open-to-close semantics

Page 16: What if? or Combining different ideas J. F. Pâris

Adding leases to AFS/Coda

What would be the main disadvantage of this approach?

Page 17: What if? or Combining different ideas J. F. Pâris

Adding leases to AFS/Coda

What would be the main disadvantage of this approach?Leases would have to be renewed quite

frequently