ContigFileAllocSize

Here is a registry tip I stumbled upon on the Internet.

Configure the Contiguous File Allocation Size
This setting optimises the contiguous file allocation size for the file
system. This is especially useful for disk intensive >applications.

Registry Settings:
Key:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Value Name: ContigFileAllocSize
Data Type: REG_DWORD (DWORD Value)
Data: 200 (hex) or 512 (decimal)

I was interested to see where exactly this registry setting was implemented
in the fastfat code.
I searched for the text “ContigFileAllocSize” and came across this line in
the header file c:\ntddk\inc\regstr.h …

#define REGSTR_VAL_CONTIGFILEALLOC TEXT(“ContigFileAllocSize”)

I then search for REGSTR_VAL_CONTIGFILEALLOC but couldn’t find any
references anywhere in the fastfat code.
What’s the story? How does the file system know what ContigFileAllocSize to
use?
Also, all the registry tips suggest setting this value to 0x200 but how can
I find out the range of values I can use?

As always, I’m grateful for any help,

Darragh

This may have been used at some point in the distant past for some
filesystem, but it is distant. The allocators in use today are cognizant
of the fact that contiguous allocation is a pretty good idea :slight_smile:


This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Darragh Jones [mailto:darragh.jones@cs.tcd.ie]
Sent: Tuesday, February 26, 2002 4:46 AM
To: File Systems Developers
Subject: [ntfsd] ContigFileAllocSize

Here is a registry tip I stumbled upon on the Internet.

Configure the Contiguous File Allocation Size
This setting optimises the contiguous file allocation size for the file
system. This is especially useful for disk intensive >applications.

Registry Settings:
Key:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
Value Name: ContigFileAllocSize
Data Type: REG_DWORD (DWORD Value)
Data: 200 (hex) or 512 (decimal)

I was interested to see where exactly this registry setting was
implemented
in the fastfat code.
I searched for the text “ContigFileAllocSize” and came across this line
in
the header file c:\ntddk\inc\regstr.h …

#define REGSTR_VAL_CONTIGFILEALLOC
TEXT(“ContigFileAllocSize”)

I then search for REGSTR_VAL_CONTIGFILEALLOC but couldn’t find any
references anywhere in the fastfat code.
What’s the story? How does the file system know what ContigFileAllocSize
to
use?
Also, all the registry tips suggest setting this value to 0x200 but how
can
I find out the range of values I can use?

As always, I’m grateful for any help,

Darragh


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%