File: floppymeter.texi

package info (click to toggle)
fdutils 5.6-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,540 kB
  • sloc: ansic: 6,334; sh: 3,570; makefile: 262; sed: 4
file content (102 lines) | stat: -rw-r--r-- 4,150 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@node floppymeter, getfdprm, floppycontrol, Commands
@section floppymeter
@pindex floppymeter
@cindex rotation speed
@cindex raw capacity

@example
@code{floppymeter} [@code{-f}] [@code{-w} @var{warmup-delay}] [@code{-W} @var{window}]
[@code{-c} @var{cycles}] [@code{-h}] @var{drive}
@end example

The @code{floppymeter} program measures characteristic parameters of a
floppy drive and floppy controller, such as the rotation speed of the
drive, the data transfer rate of the controller, and the resulting raw
capacity of a disk track.  To use this program, insert a disposable
floppy in the drive, and type @code{floppymeter --}@var{density}, where
density describes the density of the disk used for the test. (Should be
one of @code{dd, hd} or @code{ed}). @strong{CAUTION: the data on the
disk will be erased}.  This program should be used to verify whether the
drive and controller are out of tolerance if you experience problems
with some high capacity formats.  It only needs to be run once per
drive: although a disk is needed to perform the measurements, the
measured data only depend on the drive and the controller, and not on
the disk.

To measure the raw capacity of the disk track, the floppymeter program
formats the first track of the drive in a special way that allows it to
read the raw data (gaps and headers) of the disk. @strong{Thus, all data
previously stored on that disk is lost}.

The rotation speed is measured by timing the return time of a
@code{readid} command.  In order to gain more precision, the command is
issued many times in a row. During this phase, the number of rotations
since the start of the test, the average time per rotation since the start,
and a sliding average of the times of the last 30 rotations is printed,
and updated continuously.

The data transfer rate is deduced from the two parameters above.

At the end of the program, all parameters (raw capacity, duration of one
rotation, and data transfer rate) are printed again, as well as their
relative deviation to the standard value.  Finally, it suggests a
capacity deviation description line, which can be directly pasted into
the drive definition file (@xref{Drive descriptions}.).

Usually, the data transfer rate should not deviate more than 150 ppm
from the expected value, and the rotation speed of the drive should not
deviate more than 3000 ppm from the expected value.  If these deviations
are bigger, you may get problems with certain high capacity formats.

If the raw capacity of the drive is too small, some high capacity
formats may become unformattable on this drive/controller combo.

If on the other hand, the raw capacity of the drive is too big, you may
get problems when writing to a disk formatted by this drive on another
drive with a smaller raw capacity. In order to avoid this, increase
superformats gap parameter (@code{-G}).

@table @code

@item -h
Prints a short help

@item --dd
Tells the program that we use a Double Density disk.

@item --hd
Tells the program that we use a High Density disk.

@item --ed
Tells the program that we use an Extra Density disk.

@item -f
Runs the measurement non interactively.  With this option, the program
doesn't ask for confirmation, and doesn't display the continuously
updated values during the rotation speed measurement.

@item -W @var{Window}
This value describes how many rotations are used for the computation of
the sliding average. Default is 30.

@item -c @var{cycles}
Describes the number of rotations clocked during the rotations speed
determination test. Default is 1000.

@end table

@subsection Bugs

This program is quite new, and may have bugs. Here are a few suggested
tests to check its sanity:
@itemize @bullet
@item
The deviation of the data transfer rate solely depends on the
controller. It should not be different between two drives connected to
the same controller. However, the drive rotation speed may be different
for different drives.
@item
All data transfer rates (for double, high and extra density) are derived
from a same master frequency. Thus the @emph{deviation} of the data
transfer rate should be independent of the density used.
@end itemize