Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


October 1996

NTFS vs. FAT


RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    Windows NT File Systems, Using HPFS with NT 4.0, Choosing an NT File System

Reliability
In addition to its extensive memory and application protection features, NTFS is a reliable file system. When storing data to disk, NTFS records file I/O events to a special transaction log. If the system crashes or encounters an interruption, NT can use this log to restore the volume and prevent corruption from an abnormal program termination or system shutdown. NTFS doesn't commit an action to disk until it verifies the successful completion of the action. This precaution helps prevent corruption of an NTFS volume and makes NTFS especially solid for data storage on standalone systems and network file servers.

NTFS also supports hot-fixing disk sectors, where the OS automatically blocks out bad disk sectors and relocates data from these sectors. This housecleaning happens in the background. An application attempting to read or write data on a hot-fixed area will never know the disk had a problem.

Performance
NTFS is also built for speed. NTFS provides impressive disk I/O performance on large volumes such as those on file servers or advanced workstations and is the best file system for such machines. This performance gain applies only to volumes larger than 400MB because of NTFS's overhead from its security and reliability features.

NTFS uses a binary tree structure for all disk directories, which reduces the number of times the system has to access the disk to locate files. This system is best for large directories, and NT easily outperforms FAT in these situations. In addition, NTFS automatically sorts files in a folder on the fly.

Another performance-related feature is NTFS's resistance to file fragmentation. NTFS uses a special process of writing files to disk. This process minimizes file fragmentation by making intelligent choices about where to store file data on the disk. In contrast to FAT's first-available method, NTFS's method of writing files reduces, but does not eliminate, the problem of file fragmentation on NTFS volumes.

NT also gains an edge over FAT by using relatively small disk allocation units (cluster sizes) for NTFS volumes. Smaller clusters prevent wasted disk space on volumes, especially those with numerous small files. Table 2 lists the default cluster sizes for various NTFS volumes sizes.

As Table 2 shows, the largest NTFS cluster size is 4KB, even on volumes larger than 2GB. Because NTFS uses small clusters better and has a more efficient design, its performance doesn't degrade with large volumes, in contrast to FAT's.

When you format an NT volume, NT chooses a cluster size to fit the volume size. With NTFS, you can select the cluster size for the volume when you use the FORMAT command from the NT command prompt (this solution is not possible from Disk Administrator). To set the cluster size, use the /A switch with the FORMAT command as follows: FORMAT <drive>/FS:<filesystem /A: <unitsize>

Despite the flexibility this feature provides, you generally won't need to specify manual NTFS cluster sizes. NT can automatically configure them for you. NT works best with volumes at the settings it specifies, and changing these settings can adversely affect your system's performance.

File and Folder Compression
Another important NTFS feature, which was new with NT 3.51, is the ability to selectively compress individual files and folders on a disk. You can also compress an entire NTFS volume by compressing the volume's root folder. With NT 3.5x, you compress files and folders through File Manager. In NT 4.0, you select a file's or folder's Properties dialog by right-clicking the file or folder and choosing Properties. You can also compress a file or folder with the command-line utility compact.exe.

No one file system is perfect for all situations. To choose a file system for a given volume, you have to consider how you will use the volume and what the security needs will be for information on the volume. Will the volume require NTFS's file-level security? Do you need to access the volume under DOS or OS/2? With the information in this article, the information in the sidebar, "Choosing an NT File System," can help you answer these and other questions.

Contact Info
Executive Software * 800-829-4357 or 818-547-2050
Web: www.execsoft.com

Genio USA * 206-831-5591
Web: www.geniousa.com/genio/

Microsoft * 206-882-8080
Web: www.microsoft.com

Regnoc Software * 510-806-0713
Web: www.regnoc.com

Symantec Corp * 408-253-9600
Web: www.symantec.com/

End of Article

   Previous  1  2  [3]  Next  


Reader Comments
Sean Daily’s very informative October article, “NTFS vs. FAT,” says that one of the advantages of NTFS over FAT is the size of the clusters on the disk. In the article, Tables 1 and 2 illustrate this point. The problem is that Table 1 lists the cluster sizes in a way I don’t understand. As you progress down the table, they read 4KB, 2KB, 4KB, 8KB, 16KB, 32KB. The cluster size cannot be larger, then smaller, then larger again. The values should be 2KB, 4KB, 8KB, 16KB, 32KB, and 64KB.<br>
--Jay Benson,<br><br>

<i>Jay, thank you for pointing out an area that needs clarification. The reason why the first value is 4KB is that up to 16MB, the value is for a 12-bit FAT; for more than 16MB, the FAT is 16-bit. The source for this information is NT 3.51 MS Knowledge Base article Q140365.<br>
--Sean Daily</i>

Jay Benson August 12, 1999


It works, took me a while, but it works fine

Keith Slater March 16, 2001


It is a great articel, but i dindent find what i was looking for

but thnaks for the help

Patrick November 27, 2003


Great article but where's this sidebar you've been frequently mentioning?

Anonymous User January 08, 2005 (Article Rating: )


On the paper edition of this article?

Anonymous User February 02, 2005 (Article Rating: )


ASA

Anonymous User February 07, 2005


zzzzzzzzzzzzzzzzzzzzzzz

Anonymous User May 20, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events Disk-to-Disk Grows Up

WinConnections and Microsoft® Exchange Connections

Deep Dive into Windows Server 2008 R2 presented by John Savill

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement