Upcoming Events

Cloud Connect
Santa Clara
Feb 13-16, 2012

Cloud Connect brings together the entire cloud eco-system to better understand the transformation we're experiencing and promises to be the defining event of the cloud computing industry. Learn about the latest cloud technologies and platforms from thought leaders in Cloud Connect’s comprehensive conference.

Register Now!

More Events »

Subscribe to Newsletter

  • Keep up with all of the latest news and analysis on the fast-moving IT industry with Network Computing newsletters.
Sign Up


Corporate.Net
Workshop

Internet File Sy stems: WebNFS And CIFS

WebNFS benefits from many of the same enhancements made in NFS version 3. Traditionally, NFS has been criticized for poor write performance. NFS version 3 andWebNFS significantly improve write performance by providing a mechanism that lets clients detect the loss of uncommitted data. This enables the server to respond before data is written to disk. Other enhancements borrowed from NFS version 3 include support for read/write transfers with block sizes larger than 8 KB in a single NFS transaction, and the adoption of 64-bit quantities for several fields (such as file offsets), which lets WebNFS support file sizes in terabytes.

CIFS = SMB + Tweaks CIFS is Microsoft's Internet file system offering. Just as Sun tweaked its previously existing technology to produce WebNFS, Microsoft tweaked its Server Message Block (SMB) to produce CIFS. SMB, the file-sharing protocol at the heart of Windows networking, is the protocol spoken by Windows NT, Windows95, Windows f or Workgroups and OS/2 LAN Manager. CIFS is not so much a new protocol as a renaming of future versions of Microsoft's existing SMB protocol. Therefore, what used to be referred to as SMB is now CIFS.

CIFS avoided several of the changes that WebNFS needed. SMB already runs on static, well-known TCP/IP ports, so firewalls are not a problem. In addition, network turnarounds in SMB are minimized via the protocol's "AndX" mechanism, which lets SMB and CIFS clients batch multiple protocol-level requests.

But unlike NFS, which grew up in the TCP/IP world, SMB emerged in the early 1980s as a protocol for small PC workgroups and used NetBIOS/

NetBEUI as a network transport. Although a specification for running NetBIOS over TCP/IP was devised (it was referred to as NBT and detailed in RFC 1001 and 1002), SMB networking still relies on NetBIOS name services for translating machine host names into IP addresses.

Microsoft's Windows Internet Na me Service (WINS) and the LMHOSTS file are methods of performing NetBIOS name searches. But on the Internet, host name-to-IP address translation is performed via Domain Name System (DNS) servers. As a result, Microsoft made several tweaks to the protocol to let CIFS clients perform host name searches directly via DNS. Microsoft's previous incarnations of SMB, prior to the most recent CIFS specification, never managed to get the DNS integration quite right.

Microsoft also added support for its Distributed File System (DFS). Don't confuse Microsoft's DFS with the Distributed Computing Environment's (DCE) DFS; although they solve some similar problems, they are completely different animals. Microsoft DFS support in CIFS lets it handle logical volume names. For instance, network volumes can exist across multiple shares and multiple servers, but they are accessed via one common subdirectory.

Microsoft's DFS is a suitable enhancement to CIFS, letting you move volumes from one server to the next without changing your users' paths or URLs. The closest equivalent service in WebNFS is the NFS Automounter, which is not universally available from all NFS vendors and is harder to administer than Microsoft DFS.

Once past these minor tweaks, the proposed CIFS protocol is largely a description of how SMB file sharing runs in Windows95 and NT. However, Microsoft has more radical plans for CIFS down the road. In Windows NT 5.0, Microsoft will let CIFS run by itself over TCP/IP without any NetBIOS-isms. So instead of NetBIOS name service schemes (broadcasts, WINS, LMHOSTS), NT 5.0 CIFS will use Lightweight Directory Access Protocol (LDAP).

WebNFS versus CIFS Which protocol is better for your system? A side-by-side comparison of the important issues involved should help you decide.

· Performance and Capacity Issues Proxy servers and file caching onto the client's disk are two primary mechanisms HTTP employs to aid performance over low-bandwidth links. Neither WebNFS nor CIFS protocols supports proxy servers the way HTTP does. Additionally, CIFS does not currently c ache to the client's hard drive.

Likewise, most NFS implementations do not cache to hard disk. However, a few NFS implementations (such as SunSoft's Solaris and PC-NFS products) include CacheFS, which handles disk caching.





For the Side Bar on
WebNFS And CIFS Inside Web Browsers
IFetching Web Pages: Has HTTP Met Its Match?

Internet Rx
By Chris Lewis
Covering Your Vital Assets: Securing Your Web Sites
By Jeff Ballard


Updated August 23, 1997

Research and Reports

Hypervisor Derby
August 2011

Network Computing: August 2011

TechWeb Careers