![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Want to know : If I have a single directory with 10,000 files compare with if I have two directory, each with directory have 5,000 files, which one will give a faster result in term of search and reading speed ? Assume we do not have problems with file fragmentation, file header full and the disk type & speed is the same . The Answer is : There is no set number of files that triggers a performance difference. When the directory size reaches 128 blocks, the performance of directory operations tends to drop. Non-directory operations -- lookups by file identification (FID), etc -- is independent of directory size. The performance of directory insertion and deletion operations also tends to degrade with larger directories. Starting with V7.2, the 128 block cache limit has been removed, and the performance of insertion and deletion operations is greatly improved.
|