File: sraw.8

package info (click to toggle)
scsitools 0.8-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 716 kB
  • ctags: 392
  • sloc: ansic: 5,666; tcl: 2,144; sh: 403; makefile: 127
file content (53 lines) | stat: -rw-r--r-- 1,496 bytes parent folder | download
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
.\" -*- nroff -*-
.TH SRAW 8 "Nov 1993"
.SH NAME
sraw \- benchmark raw scsi I/O performance under linux
.SH SYNOPSIS
.B sraw
.B scsi-device
[
.B bstart
[
.B bstep
] ]
.SH DESCRIPTION
This program was written because of all of the whining on the SCSI
channel about poor performance of the scsi drivers.  This program basically
reads the specified scsi device and measures the throughput.  Note that
the filesystem *AND* the buffer cache are bypassed by this code, this
program was designed to benchmark the naked scsi drivers by themselves
without the need to account for the overhead of any other portion of the
kernel.
.P
This program does a series of reads of the disk, of consecutive
areas on the disk.  The device is first queried to determine the
sector size for the device, and then the series of reads is begun.
About 5.0 Mb is read from the device, and then the performance numbers
are reported.  Note that since the buffer cache is completely bypassed,
there is no need to be concerned about cache hits or anything.
.P
Output of
.B
sraw
is a set of lines, 4 numbers per line:
.I blocksize, elapsed time, nblocks
and
.I throughput
(in bytes per second).
.SH OPTIONS
.TP
.I bstart
starting block to check different zones on ZBR discs
.TP
.I bstep
factor for sequential stepping, default 1.
Use 0 for reading always the same blocks (from cache)
.SH AUTHOR
.B sraw
was written by Eric Youngdale.
.SH AVAILABILITY
.B sraw
is available at
.nf
.B ftp://tsx-11.mit.edu/pub/linux/ALPHA/scsi/
.fi