ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/benchmarks/raidtest/pkg-descr
Revision: 15462
Committed: Tue Sep 17 03:15:41 2013 UTC (10 years, 7 months ago) by laffer1
File size: 1722 byte(s)
Log Message:
fixup some properties.

File Contents

# Content
1 $FreeBSD: ports/benchmarks/raidtest/pkg-descr,v 1.2 2004/12/05 04:18:19 obrien Exp $
2
3 This utility can be used to test performance of storage devices.
4 First, one need to generate file with I/O operations:
5
6 # set mediasize=`diskinfo /dev/<device> | awk '{print $3}'`
7 # set sectorsize=`diskinfo /dev/<device> | awk '{print $2}'`
8 # raidtest genfile -s $mediasize -S $sectorsize -n 50000
9
10 It will generate test which contains 50000 I/O requests with random
11 size and random offset. Size is a multiple of sectorsize, but less than or
12 equal to 128kB (maxium size of I/O request). I/O request type (READ or WRITE)
13 is random as well.
14 All test data are stored in 'raidtest.data' file in current working directory.
15
16 To run test, one should type:
17
18 # raidtest test -d /dev/<device> -n 10
19
20 This command will read test data from 'raidtest.data' file, run 10 processes
21 which will be used to send requests to the given device in parallel.
22 When test is finished you will see statistics:
23
24 Bytes per second: <x>
25 Requests per second: <y>
26
27 If you compare performance of two storage devices, use the same data file!
28
29
30 usage: raidtest genfile [-frw] <-s mediasize> [-S sectorsize] <-n nrequests> [file]
31 raidtest test [-Rrw] <-d device> [-n processes] [file]
32
33 where:
34 -d device path to tested device
35 -f if raidtest.data file or specified file already exists,
36 remove it and create new one
37 -n nrequests number of requests to generate
38 -n processes number of processes to run
39 -r generate/run only READ requests
40 -R generate random data for write requests
41 -s size of destination device
42 -S sector size of destination device
43 -w generate/run only WRITE requests
44 file path to the data file instead of default 'raidtest.data'