---
name: raidtest
version: 1.2
origin: benchmarks/raidtest
comment: Test performance of storage devices
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: pjd@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 12264
desc: "$FreeBSD: ports/benchmarks/raidtest/pkg-descr,v 1.4 2012/11/17 05:54:50 svnexp
  Exp $\n\nThis utility can be used to test performance of storage devices.\nFirst,
  one need to generate file with I/O operations:\n\n\t# set mediasize=`diskinfo /dev/<device>
  | awk '{print $3}'`\n\t# set sectorsize=`diskinfo /dev/<device> | awk '{print $2}'`\n\t#
  raidtest genfile -s $mediasize -S $sectorsize -n 50000\n\nIt will generate test
  which contains 50000 I/O requests with random\nsize and random offset. Size is a
  multiple of sectorsize, but less than or\nequal to 128kB (maxium size of I/O request).
  I/O request type (READ or WRITE)\nis random as well.\nAll test data are stored in
  'raidtest.data' file in current working directory.\n\nTo run test, one should type:\n\n\t#
  raidtest test -d /dev/<device> -n 10\n\nThis command will read test data from 'raidtest.data'
  file, run 10 processes\nwhich will be used to send requests to the given device
  in parallel.\nWhen test is finished you will see statistics:\n\n\tBytes per second:
  <x>\n\tRequests per second: <y>\n\nIf you compare performance of two storage devices,
  use the same data file!\n\n\nusage: raidtest genfile [-frw] <-s mediasize> [-S sectorsize]
  <-n nrequests> [file]\n       raidtest test [-Rrw] <-d device> [-n processes] [file]\n\nwhere:\n\t-d
  device\tpath to tested device\n\t-f\t\tif raidtest.data file or specified file already
  exists,\n\t\t\tremove it and create new one\n\t-n nrequests\tnumber of requests
  to generate\n\t-n processes\tnumber of processes to run\n\t-r\t\tgenerate/run only
  READ requests\n\t-R\t\tgenerate random data for write requests\n\t-s\t\tsize of
  destination device\n\t-S\t\tsector size of destination device\n\t-w\t\tgenerate/run
  only WRITE requests\n\tfile\t\tpath to the data file instead of default 'raidtest.data'\n"
categories: [benchmarks]
files:
  /usr/local/bin/raidtest: 92f0ad8d919ad3eecf4fe41c6a5458d85cf9c5289f22cc37d546a3539b5c64d1
scripts: {}
