Patent ID: 7558012

Claim:
A system embedded in a read/write channel, or a system-on-chip which contains a read/write channel and a disk controller integrated together, of a recording apparatus for optimizing a plurality of parameters for the read/write channel, the system comprising: a setup/restore block configured to set up the read/write channel to generate a data pattern specified by a control input received by the setup/restore block; and write the data pattern to a recording medium of the recording apparatus; a parameter/metric block configured to store the parameters to be optimized and a metric for each of the parameters; a metric measurement block configured to provide metric measurements based on the specified pattern; and a sweep compare select block configured to sweep each value of a plurality of values of the parameters, compare a current metric taken from the metric measurement block with a previous metric for each swept value of the parameters to identify a better metric, and select a value of each of the parameters corresponding to the better metric in order to optimize the plurality of parameters.