Comparison of NFS vs. others

From Linux NFS

Revision as of 15:13, 17 August 2005 by 129.185.75.9 (Talk)
Jump to: navigation, search

Here is a description comparing NFS and other similar technologies, found at this page: [1]


Contents

CIFS

Strengths

  1. Huge installed client base (not just Windows),
  2. good, open source server implementation available (Samba!),
  3. token management (oplock) and referral ("dfs") semantics are a good

compromise between usefulness and simplicity

  1. the key part of the filesystem protocol (mostly) documented,

rich file open semantics map well to Windows and related OSs,

  1. kerberos security integration and RPC integration
  2. broader in scope (print, ACL, browsing etc.) than other filesystem

protocols

  1. optional PDU signing above the RPC allowing maximal flexibility
  2. Unicode
  3. high performance
  4. huge amount of loosely related management/administrative function

available via various DCE RPC calls

  1. efficient PDUs (small frame headers, less wasted bandwidth)

Weaknesses

  1. the extended protocol poorly documented,
  2. not an IETF standard
  3. elements of older protocol dialects still needed adding to

complexity of implementations

  1. protocol needs addition of lock migration/recovery and support for

new transport mechanisms (e.g. RDMA)

  1. ACL support - although useful is hard to understand
  2. (item j above) management/admistrative calls are proprietary

NFSv3

Strengths

  1. relatively simple to implement
  2. maps well to Unix VFS semantics (except for caching)
  3. protocol easy to understand by stripping file protocol to its

minimum

  1. Unicode

Weaknesses

  1. statelessness of core protocol causes caching problems
  2. few Windows NFS clients installed
  3. maps poorly to Windows operating system API
  4. poor security (forcing it into lower layers if at all)
  5. not a standard (informational description published by Sun as

informational RFC)

  1. relatively weak open source server implementation (at least

compared to Samba and AFS) has scalability problems

  1. implementing many protocols needed to get CIFS equivalent e.g. lock

manager, mount and port mapping protocol, SunRPC, NIS, ONC extensions (some proprietary)

  1. WebNFS enhancements partially implemented adding to some confusion


NFSv4

Strengths

  1. on track to be an IETF standard
  2. improved recovery (lock migration)
  3. supports Windows file sharing semantics better than NFS v3 did
  4. safe file caching

Weaknesses

  1. few clients
  2. perceived lack of Microsoft interest
  3. the existing prototype open source implementation is tricky to

integrate into current Linux kernels

  1. protocol is moving target (it is not quite done yet)
  2. too late?
  3. complex

DAFS

Strengths

  1. Addition of RDMA to NFS style protocol, (probable) high performance

in clusters and server farms.

  1. (see NFS v4)

Weaknesses

  1. unproven, lack of client support, perceived competition with NFS v4
  2. (see NFS v4)

HTTP/WebDAV

Strengths

  1. official standard
  2. broadly implemented
  3. well suited to internet
  4. active standardization work - protocol will improve

Weaknesses

  1. frame headers are large (high % of frame size is wasted)
  2. security integration not optimal
  3. slow
  4. not a complete match to either Linux VFS or Win2K IFS API

requirements

NCP(Netware)

Strengths

  1. NDS integration
  2. good match for Windows
  3. good installed base on older systems

Weaknesses

  1. Proprietary
  2. poorly documented
  3. not a standard
  4. complex, with lots of dialects
  5. future clients questionable


AFS/DFS

Strengths

  1. sophisticated distributed caching (token management)
  2. DCE integration (including Kerberos and RPC)
  3. standardized by OpenGroup

Weakness

  1. lack of clients
  2. bulky, slow Windows clients
  3. server integration with Unix operating systems and server

filesystem is complicated

  1. most implementations were expensive complex to implement


Coda

Strengths

  1. disconnected support

Weaknesses

  1. Lack of commercial implementations
  2. lack of Windows clients
  3. not well understood
Personal tools