Subscribe to Windows IT Pro
October 01, 1996 12:00 AM

NTFS vs. FAT

Windows IT Pro
InstantDoc ID #2744
Rating: (3)

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/

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    May 20, 2005

    zzzzzzzzzzzzzzzzzzzzzzz

  • Anonymous User
    7 years ago
    Feb 07, 2005

    ASA

  • Anonymous User
    7 years ago
    Feb 02, 2005

    On the paper edition of this article?

  • Anonymous User
    7 years ago
    Jan 08, 2005

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

  • Patrick
    9 years ago
    Nov 27, 2003

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

    but thnaks for the help

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.