|
NAMEphybs —
reveal a storage device's physical block size
SYNOPSIS
DESCRIPTIONThephybs utility runs a series of I/O benchmarks
designed to reveal a storage device's physical block size by comparing the
performance of small and large I/O operations at various (mis-)alignments.
The If the device's physical block size is larger than its logical block size, peak performance will be obtained when reading or writing multiples of the physical block size at offsets which are also multiples of the physical block size, while I/O operations which do not meet these criteria will be significantly slower. The following options are available:
IMPLEMENTATION NOTESThephybs utility can be used on files as well as raw
devices, but the characteristics of the underlying file system will greatly
influence the results, possibly to the point where they can not reveal
anything of interest about the actual device.
The EXIT STATUSThephybs utility returns EX_OK if
the benchmark completed successfully, EX_USAGE if the
parameters specified on the command line were invalid,
EX_PERM if the user does not have permission to open the
specified device, EX_IOERR if it was interrupted by an
I/O error, and EX_OSERR if it was interrupted for any
other reason.
SEE ALSOrecoverdisk(1) sysexits(3) diskinfo(8)AUTHORSThephybs utility and this manual page were written by
Dag-Erling Smørgrav
⟨des@FreeBSD.org⟩.
Visit the GSP FreeBSD Man Page Interface. |