1zcav(1) General Commands Manual zcav(1)
2
3
4
6 zcav - program to test raw hard drive throughput.
7
8
10 zcav [-b block-size] [-c count] [-u uid-to-use:gid-to-use] [-g
11 gid-to-use] [-f] file-name
12
13
15 This manual page documents briefly the zcav, program.
16
17 Modern hard drives have a constant rotational speed but have varying
18 numbers of sectors per track (outside tracks are longer and have more
19 sectors). This is referred to as Zoned Constant Angular Velocity (or
20 ZCAV). The outer tracks will have a higher data transfer rate due to
21 having more sectors per track, these tracks generally have the lower
22 track/sector numbers.
23
24 This program tests the ZCAV performance of a hard drive, by reading the
25 entire data on it a specified number of times. The file name given as
26 the first parameter, it can be specified as -, for standard input. This
27 file will be opened as read-only and in usual operation it will be
28 /dev/hdX or /dev/ide/host0/busX/targetY/lun0/disc depending on whether
29 you use devfs or not (NB operating systems other than Linux will have
30 different device names).
31
32 The output should be able to be easily graphed with gnuplot which is
33 what I use to view the results.
34
35
37 -b the size of the blocks to read from disk (default 100M).
38
39
40 -c the number of times to read the entire disk.
41
42
43 -f the file-name for the input data. This isn't needed on well con‐
44 figured systems that have a recent Glibc where you can specify
45 the file name without the -f flag.
46
47
48 -u user-id to use. When running as root specify the UID to run the
49 tests as, it is not recommended to use root, so if you want to
50 run as root use -u root. Also if you want to specify the group
51 to run as then use the user:group format. If you specify a user
52 by name but no group then the primary group of that user will be
53 chosen. If you specify a user by number and no group then the
54 group will be nogroup.
55
56
57 -g group-id to use. Same as using :group for the -u parameter,
58 just a different way to specify it for compatibility with other
59 programs.
60
61
63 This program, it's manual page, and the Debian package were written by
64 Russell Coker <russell@coker.com.au>.
65
66
67
68
69 zcav(1)