Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 [GUIDE]Increase XP NTFS performance

views
     
TSnodeffect
post Feb 11 2005, 11:02 AM, updated 20y ago

Your past does not equal your future.
******
Senior Member
1,272 posts

Joined: Jan 2003
From: Private


Last access time stamps
XP automatically updates the date and time stamp with information about the last time you accessed a file. Not only does it mark the file, but it also updates the directory the file is located in as well as any directories above it. If you have a large hard drive with many subdirectories on it, this updating can slow down your system.

To disable the updating, start the Registry Editor by selecting Run from the Start menu, typing regedit in the Open text box, and clicking OK. When the Registry Editor window opens, navigate through the left pane until you get to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Filesystem

In the right pane, look for the value named NtfsDisableLastAccessUpdate. If the value exists, it's probably set to 0. To change the value, double-click it. You'll then see the Edit DWORD Value screen. Enter 1 in the Value Data field and click OK.

If the value doesn't exist, you'll need to add it. Select New | DWORD Value from the Edit menu. The new value will appear in the right pane, prompting you for a value name. Type NtfsDisableLastAccessUpdate and press [Enter]. Double-click the new value. You'll then see the Edit DWORD Value screen. Enter 1 in the Value Data field and click OK. When you're done, close Regedit. Your registry changes will be saved automatically. Reboot your workstation.

The Master File Table
The Master File Table (MFT) keeps track of files on disks. This file logs all the files that are stored on a given disk, including an entry for the MFT itself. It works like an index of everything on the hard disk in much the same way that a phone book stores phone numbers.

NTFS keeps a section of each disk just for the MFT. This allows the MFT to grow as the contents of a disk change without becoming overly fragmented. This is because Windows NT didn't provide for the defragmentation of the MFT. Windows 2000 and Windows XP's Disk Defragmenter will defragment the MFT only if there's enough space on the hard drive to locate all of the MFT segments together in one location.

As the MFT file grows, it can become fragmented. Fortunately, you can control the initial size of the MFT by making a change in the registry. Making the MFT file larger prevents it from fragmenting but does so at the cost of storage space. For every kilobyte that NTFS uses for MFT, the less it has for data storage.


To limit the size of the MFT, start the Registry Editor by selecting Run from the Start menu, typing regedit in the Open text box, and clicking OK. When the Registry Editor window opens, navigate through the left pane until you get to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Filesystem

In the right pane, look for the value named NtfsMftZoneReservation. If the value doesn't exist, you'll need to add it. Select New | DWORD Value from the Edit menu. The new value will appear in the right pane, prompting you for a value name. Type NtfsMftZoneReservation and press [Enter]. Double-click the new value. You'll then see the Edit DWORD Value screen.

The default value for this key is 1. This is good for a drive that will contain relatively few large files. Other options include:

2-Medium file allocation
3-Larger file allocation
4-Maximum file allocation

To change the value, double-click it. When the Edit DWORD Value screen appears, enter the value you want and click OK. Unfortunately, Microsoft doesn't give any clear guidelines as to what distinguishes Medium from Larger and Maximum levels of files. Suffice it to say, if you plan to store lots of files on your workstation, you may want to consider a value of 3 or 4 instead of the default value of 1.

When you're done, close Regedit. Your registry changes will be saved automatically. Reboot your workstation. Unlike other registry changes, which take place immediately for maximum benefit, NtfsMftZoneReservation works best on freshly formatted hard drives. This is because XP will then create the MFT in one contiguous space. Otherwise, it will just modify the current size of the MFT, instantly fragmenting it. Therefore, it's best to use this if you plan to have one drive for data and another for applications.


Short filenames
Even though NTFS can support filenames with 256 characters in order to maintain backward compatibility with DOS and Windows 3.x workstations, Windows XP stores filenames in the old 8.3 file format as well as its native format. For example, if this article is named "Increase XP NTFS performance.doc," Windows XP will save this file under that filename as well as INCREA~1.DOC.

To change this in the registry, start the Registry Editor. When the Registry Editor window opens, navigate through the left pane until you get to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Filesystem

In the right pane, look for the value named NtfsDisable8dot3NameCreation. If the value exists, it's probably set to 0. To change the value, double-click it. In the Edit DWORD Value screen, enter 1 in the Value Data field and click OK.

If the value doesn't exist, you'll need to add it. Select New | DWORD Value from the Edit menu. The new value will appear in the right pane, prompting you for a value name. Type NtfsDisable8dot3NameCreation and press [Enter]. Double-click the new value. You'll then see the Edit DWORD Value screen. Enter 1 in the Value Data field and click OK. When you're done, close Regedit. Your registry changes will be saved automatically. Reboot your workstation.

Other ways to speed drive access
There are other ways to speed drive access that aren't NTFS-specific. These include:

Caching-If your XP workstation has more than 256 MB of RAM, you might be able to increase hard drive access speeds by tweaking the amount of RAM cache that XP uses. For more information about how to do this, see the article "Squeeze more performance out of Windows XP with CachemanXP 1.1."

Striping-If you have more than one hard drive on your system, you can use XP's striping feature to have the file system store data across multiple drives. This feature works best with SCSI drives, but it can work with multiple ATA drives as well. You'll make the change using the Logical Disk Management service in the Computer Management utility.

Defragmenting-Even though NTFS is more resistant to fragmentation than FAT, it can and does still fragment. You can either use XP's built-in defragmenter or a third-party utility such as Diskeeper.

Disable Compression-Compressing files may save space on your workstation's hard drive, but compressing and decompressing files can slow down your system. With the relative low cost of hard drives today, investing in an additional hard drive is better than compressing files on a workstation.

Source: http://www.tweakxp.com/article140129.aspx (Credit to greyPJ for pointing out)

----
Edit: Added source to post.

This post has been edited by shockw@ve: Mar 18 2005, 10:29 PM
psth2988my
post Mar 16 2005, 02:49 AM

Enthusiast
*****
Senior Member
848 posts

Joined: Jan 2003
From: Lahad Datu of North Borneo


Other ways to speed drive access
There are other ways to speed drive access that aren't NTFS-specific. These include:

Caching-If your XP workstation has more than 256 MB of RAM, you might be able to increase hard drive access speeds by tweaking the amount of RAM cache that XP uses. For more information about how to do this, see the article "Squeeze more performance out of Windows XP with CachemanXP 1.1."




can someone teach me how to do this? thank you smile.gif
greyPJ
post Mar 16 2005, 12:13 PM

artificially stupid
*******
Senior Member
3,152 posts

Joined: Jan 2003
next time state the source

http://www.tweakxp.com/article140129.aspx
abubin
post Mar 17 2005, 06:28 PM

10k Club
********
All Stars
10,423 posts

Joined: Jan 2003



be aware some of the features you turn off might cause problems.

Last access time stamps - not much problem if disable this just that you won't be able to find out files updated when. Some people do use this but most people doesn't. Quite safe to turn this off.

The Master File Table - quite save to play around with this but will also create problem if you MFT is corrupted. You won't be able to access your whole HDD. Safer if you use Diskeeper. This program will defrag MFT for you and will also let you resize MFT easily.

Short filenames - if you run some old programs that still uses 8.3 naming system then that program might not run. But overall windows core system should have no problem running.
i love mac OS
post Mar 19 2005, 10:29 PM

Casual
***
Junior Member
368 posts

Joined: Dec 2004


another is to switch off all beautiful effects of XP......
mron
post Mar 25 2005, 09:21 AM

Getting Started
**
Junior Member
80 posts

Joined: Oct 2004
ya can switch off some visual settings in win xp..
just go to control panel > system > advance > performance settings
then just choose those effects that you feel you don't need smile.gif
socratesman
post Mar 25 2005, 09:48 AM

Regular
******
Senior Member
1,769 posts

Joined: Jan 2003
From: KL
QUOTE(abubin @ Mar 17 2005, 06:28 PM)
Last access time stamps - not much problem if disable this just that you won't be able to find out files updated when.
*
Just some minor correction. biggrin.gif

Last access time stamps only records, well, the time it was last accessed.
This is not to be confused with the "last updated" field, which is not affected by this tweak.
areankim
post Mar 26 2005, 09:10 AM

"Live Life Cool"
*******
Senior Member
3,697 posts

Joined: Jan 2003
From: Planet Earth



best and safe is to stripping and caching..... 1GB ram sure can do la...biggrin.gif
cantona7
post Mar 26 2005, 10:26 AM

Getting Started
**
Junior Member
254 posts

Joined: Jan 2005
From: KLaNg


how many % perfomence it will increase??
is it significant??
maybe can show some benchies??smile.gif
TSnodeffect
post Mar 28 2005, 04:18 PM

Your past does not equal your future.
******
Senior Member
1,272 posts

Joined: Jan 2003
From: Private


in my opinion, i think just a little...
TSnodeffect
post Mar 28 2005, 04:19 PM

Your past does not equal your future.
******
Senior Member
1,272 posts

Joined: Jan 2003
From: Private


*double post*

This post has been edited by nodeffect: Mar 28 2005, 04:19 PM

 

Change to:
| Lo-Fi Version
0.0128sec    0.14    5 queries    GZIP Disabled
Time is now: 29th March 2024 - 06:48 AM