File System Performance and Caching
The utility tests file system, rather than raw device performance. Hence, the results will b […]
Show full quote
File System Performance and Caching
The utility tests file system, rather than raw device performance. Hence, the results will be greatly influenced by disk caching and file system overhead.
DOS doesn't keep the entire FAT in memory (since DOS 2) and therefore with no caching the drive will be continually seeking to the FAT as well as the data areas. Caching of such structures in DOS, prior to SMARTDRV, is achieved with the CONFIG.SYS BUFFERS statement.
In general, to minimse the impact of FAT seeks:
For FAT-12 volumes, ensure at least 16 buffers are allocated (BUFFERS=16 in CONFIG.SYS)
For FAT-16 volumes, ensure the maximum 99 buffers are allocated.
Random throughput is also highly skewed by the relationship between the test file size and the FAT allocation unit size, presumably due to the computational overhead of following the FAT to ultimately calculate disk block addresses. This impact is dramatic on slow processors: on an PC/XT running a test on a compact-flash card with a 4MB test file, sector IOPS rates vary from 60 IOPS (2GB partition) to 14 IOPS (60MB partition).