Evolution of NFS - Key Changes and Improvements since 1985

the evolution of nfs n.w
1 / 18
Embed
Share

Explore the evolution of NFS (Network File System) since 1985, focusing on close-to-open file consistency, automounter, performance enhancements, and more. Learn about crucial updates that have shaped NFS into a reliable and efficient file system protocol over the years.

  • NFS
  • Evolution
  • File System
  • Networking
  • Improvements

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. THE EVOLUTION OF NFS Dave Hitz and Andy Watson Network Appliance, Inc

  2. PAPER HIGHLIGHTS Paper describes Evolution of NFS since 1985 NFS version 3 Other changes Most changes were implementation changes Left protocol unchanged

  3. NFS evolution since 1985 Close-to-open file consistency MOST IMPORTANT Automounter Performance improvements NVRAM Dynamic retry Improved retry cache heuristics Client-side disk caching

  4. Close-to-Open Consistency (I) With earlier versions of NFS, updates made on one NFS client might not show up on another client for a few seconds NFS client now Writes all modified file data to the server at close time Checks with the NFS server that any locally cached data are up-to-date at open time

  5. Close-to-Open Consistency (II) Result is close-to-open consistency: if you update a file and then close it on an NFS client, any process that will open it on another client will see your updates Idea borrowed from AFS/Coda Change did not require any modification to the NFS protocol

  6. Close-to-Open Consistency First client F overwritesF F F F F F Second client

  7. The client view At file open time: Request from the server the most recent version of the file It might already be in its buffer ! At file close time: Forward to the server all the blocks that have been updated Akin to an eager release

  8. Automounter NFS requires each client to specify in its /etc/fstab all its remote mount points Uniformity of file name space was achieved by keeping these files identical on all clients NIS and automounter allow to manage a corporate-wide name space in a centralized fashion

  9. Performance improvements (I) NVRAM NFS requires blocking writes at server NVRAM allows servers to respond to write requests without waiting for the completion of their own write request Dynamic Retry Client can adjust its retry timeouts to promptness of the server

  10. Performance improvements (II) Improved Retry Cache Heuristics In some cases the server can tell that a client's retry request is probably redundant Will then ignore the request Client-Side Disk Caching "CacheFS" feature introduced in SunOS 2.4

  11. NFS v. 3 changes (I) Large file support 64-bit file sizes Large block transfers Eliminated 8-KB limit 32KB for 10 and 100-Mbps networks 48-KB in HiPPI environments

  12. NFS v. 3 changes (II) Safe asynchronous writes: New COMMIT operation lets clients check with the server that it actually has written the data Client must keep its own copy of the written data until the Commit succeeds If the COMMIT fails, the client must resend its copy of the written data Mitigates need for NVRAM in the server

  13. NFS v. 3 changes (III) Improved Attribute Returns In NFSv2, some operations return less information than they should Caused additional lookups In NFSv3, operations return additional information as appropriate

  14. NFS v. 3 changes (IV) READDIRPLUS Returns both directory names and file attributes "ls -l" could be handled with just one READDIRPLUS operation Speeds up recursive tree-walking commands like "find"

  15. Other changes (I) NFS over TCP Kerberized NFS: Usually considered in high-security environments, or when operating over a WAN Not yet widely available Not Important RSA encryption

  16. Other changes (II) WebNFS: Allow an nfd prefix in URLs Not Important None of these changes would affect the protocol

  17. Conclusions NFS is flexible: Adopted ideas from the research community: AFS, Sprite, Spritely NFS, NQ-NFS, etc. AFS impact includes: Close-to-open file consistency Network-wide name space Large block transfers Client-side disk caching

  18. NFS Version 4 December 2000, last revised in March 2015 Influenced by AFS and CIFS Includes performance improvements Mandates strong security Introduces a stateful protocol NFS Version 4.1, January 2010, last revised in August 2020 Scalable parallel access to distributed files NFS Version 4.2, November 2016

More Related Content