Page 1 Page 1
Distributed File Systems
Paul Krzyzanowski pxk@cs.rutgers.edu
Distributed Systems
Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5 License.
Distributed Systems Distributed File Systems Paul Krzyzanowski - - PowerPoint PPT Presentation
Distributed Systems Distributed File Systems Paul Krzyzanowski pxk@cs.rutgers.edu Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5 License. Page 1 Page 1 Accessing files FTP,
Page 1 Page 1
Paul Krzyzanowski pxk@cs.rutgers.edu
Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5 License.
Page 2
Page 3
– Simple
– Wasteful: what if client needs small piece? – Problematic: what if client doesn’t have enough space? – Consistency: what if others need to modify the same file?
Page 4
– Client gets only what’s needed – Server can manage coherent view of file system
– Possible server and network congestion
Page 5
e.g. under vnode layer
Page 6 Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
– 2005: average size of 385,341 files on my Mac =197 KB – 2007: average size of 440,519 files on my Mac =451 KB – (files accessed within 30 days: 15, 792 files 80% of files are <47KB)
Page 12 Page 12
Page 13
name space
the local name space
Page 14
Page 15
– No state to lose
– They only establish state
– Don’t worry about supporting many clients
Page 16
Page 17
– What if another client reads its own (out-of-date) cached copy? – All accesses will require checking with server – Or … server maintains state and sends invalidations
– Data can be buffered locally (watch out for consistency –
– Remote files updated periodically – One bulk wire is more efficient than lots of little writes – Problem: semantics become ambiguous
Page 18