Improve NTFS performance by disabling the Accessed timestamp
The New Technology File System (NTFS) is essentially a huge database that keeps track of all the files on your Windows XP Pro hard disk. When you create a file, or edit and then resave that file, the NTFS creates an entry and records the date in the Created or Modified timestamp so you can access the Properties sheet of the file and check the Created or Modified entries later.
NTFS also creates and keeps track of another timestamp called Accessed. The timestamp lists the date on which the file was last accessed and whether the file was opened and read or changed and saved. Each time NTFS updates a file’s Properties sheet, an accompanying disk read/write operation occurs. Since the Accessed timestamp does not add much useful information, you may consider the read/write operation incurred to record it wasteful.
If you have an application, such as a search tool, that frequently accesses many files for a simple read operation, the operation required to update each file’s Accessed timestamp can drain your system’s performance. Fortunately, you can use disable the Accessed timestamp using the FSUtil command. Here’s how:
- Open a Command Prompt window.
- Type the following command line:
FSUTIL behavior set disablelastaccess 1
If you wish to turn the Accessed attribute back on, simply repeat the command and replace 1 with 0.