ThomasMc07
2009-06-06 12:47:08 UTC
Hello,
I periodically need to delete 10 million small files from a single NTSF
directory on a hardware supported RAID 5 array on Windows Server 2003.
I have tried the normal delete *.* console command as well as running the
Win32 ::DeleteFile function on multiple threads. These work, but the task
takes one to two weeks to complete, which is way too long. I fastest I can
get it to run is on multiple threads is about 90,000 deletions per hour, or
about one every 25 ms.
What is happening under the covers during these deletions? Is there a way to
speed them up? Is there a way to configure NTFS for faster deletes? Would as
specialized filter driver help? Is there another forum more specific to NTFS
internals?
Assistence very much appreciated.
Thomas McLeod
I periodically need to delete 10 million small files from a single NTSF
directory on a hardware supported RAID 5 array on Windows Server 2003.
I have tried the normal delete *.* console command as well as running the
Win32 ::DeleteFile function on multiple threads. These work, but the task
takes one to two weeks to complete, which is way too long. I fastest I can
get it to run is on multiple threads is about 90,000 deletions per hour, or
about one every 25 ms.
What is happening under the covers during these deletions? Is there a way to
speed them up? Is there a way to configure NTFS for faster deletes? Would as
specialized filter driver help? Is there another forum more specific to NTFS
internals?
Assistence very much appreciated.
Thomas McLeod