Configure the file allocation unit to minimize file fragmentation.

Windows 9x improves MS-DOS way of allocation disk space for a file, by only using cluster chain that are larger than 500 KBytes. This allows the file to grow without becoming fragmented right away. If Windows 9x cannot find continuous space larger than 500 KBytes, then it falls back to the MS-DOS behavior and uses the first available space it can find with file fragmentation to follow.

This allocation can be configured with the following DWORD:

[HKEY_LOCAL_MACHINE \System \CurrentControlSet \control \FileSystem]
ContigFileAllocSize = 512 (Default=500)

If using the computer to write large files it can be recommended to set this to 1024 or more. Of course it can get too big, so it might always fall back to the MS-DOS behavior.


  1. Anonymous98SE says:

    The correct setting is: ContigFileAllocSize
    Not: ConfigFileAllocSize

    Please correct this for other users.

  2. Snakefoot says:

    Thank you for noticing. I have now updated the article.

Leave a Reply

Your email address will not be published. Required fields are marked *