April 1998
Intermediate to advanced
624 pages
16h 11m
English
The UFS filesystem code includes an I/O clustering algorithm, which groups successive reads or writes into a single, large command to transfer up to 56 Kbytes rather than lots of 8-Kbyte transfers. This grouping allows the filesystem layout to be tuned to avoid sector interleaving and allows filesystem I/O on sequential files to get close to its theoretical maximum.
The UFS filesystem layout parameters can be modified by means of tunefs [1]. By default, these parameters are set to provide maximum overall throughput for all combinations of read, write, and update operations in both random and sequential access patterns. For a single disk, the gains that can be made by optimizing disk layout parameters with tunefs for one kind ...