K
Ken Varn
We have a system that can generate over 1 million files per day @ approx.
15K-20K per file. Each day we create a new sub-directory for that day's
files. We have a process that periodically deletes the oldest directory
when the drive becomes full. The problem we seem to have is that when the
last file in a sub-directory is deleted, the file system appears to "hang"
for anywhere from 15 seconds to 2 minutes until the file is deleted. We
contacted Microsoft concerning this problem and it appears it is unavoidable
due to the architecture of the NTFS MFT. So, we implemented a solution of
not removing the last file, and re-using the directory. However, I am
concerned with fragmentation. After running the system for over 2 weeks, I
tried to run a defrag analysis. The analysis will not run.
I would appreciate it if someone could give some insight on the possible
ramifications of re-using directories that contain large number of small
files. So far performance does not seem to be degraded, but I am concerned
that the Defrag utility cannot run an analysis on the partition.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
15K-20K per file. Each day we create a new sub-directory for that day's
files. We have a process that periodically deletes the oldest directory
when the drive becomes full. The problem we seem to have is that when the
last file in a sub-directory is deleted, the file system appears to "hang"
for anywhere from 15 seconds to 2 minutes until the file is deleted. We
contacted Microsoft concerning this problem and it appears it is unavoidable
due to the architecture of the NTFS MFT. So, we implemented a solution of
not removing the last file, and re-using the directory. However, I am
concerned with fragmentation. After running the system for over 2 weeks, I
tried to run a defrag analysis. The analysis will not run.
I would appreciate it if someone could give some insight on the possible
ramifications of re-using directories that contain large number of small
files. So far performance does not seem to be degraded, but I am concerned
that the Defrag utility cannot run an analysis on the partition.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------