raidtest - Test performance of storage devices

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package name raidtest
Package version 1.3
Package architecture amd64
Package type txz
Installed size 22.83 KB
Download size 5.92 KB
Official Mirror
This utility can be used to test performance of storage devices.
First, one need to generate file with I/O operations:
# set mediasize=`diskinfo /dev/<device> | awk '{print $3}'`
# set sectorsize=`diskinfo /dev/<device> | awk '{print $2}'`
# raidtest genfile -s $mediasize -S $sectorsize -n 50000
It will generate test which contains 50000 I/O requests with random
size and random offset. Size is a multiple of sectorsize, but less than or
equal to 128kB (maxium size of I/O request). I/O request type (READ or WRITE)
is random as well.
All test data are stored in '' file in current working directory.
To run test, one should type:
# raidtest test -d /dev/<device> -n 10
This command will read test data from '' file, run 10 processes
which will be used to send requests to the given device in parallel.
When test is finished you will see statistics:
Bytes per second: <x>
Requests per second: <y>
If you compare performance of two storage devices, use the same data file!
usage: raidtest genfile [-frw] <-s mediasize> [-S sectorsize] <-n nrequests> [file]
raidtest test [-Rrw] <-d device> [-n processes] [file]
-d device	path to tested device
-f		if file or specified file already exists,
remove it and create new one
-n nrequests	number of requests to generate
-n processes	number of processes to run
-r		generate/run only READ requests
-R		generate random data for write requests
-s		size of destination device
-S		sector size of destination device
-w		generate/run only WRITE requests
file		path to the data file instead of default ''
Categories: benchmarks


Package Version Architecture Repository
raidtest-1.3.txz 1.3 i386 FreeBSD Ports Latest
raidtest-1.3.txz 1.3 amd64 FreeBSD Ports Quarterly
raidtest-1.3.txz 1.3 i386 FreeBSD Ports Quarterly
raidtest - - -


Type URL
Binary Package raidtest-1.3.txz
Source Package benchmarks/raidtest

Install Howto

Install raidtest txz package:

# pkg install raidtest

See Also

Package Description
rainbarf-1.4_1.txz CPU/RAM/battery stats chart bar for tmux (and GNU screen)
rainbow-2.0.4.txz Efficient clustering and assembling of short reads, especially for RAD
rainloop-community-1.12.1.txz Modern and interactive webmail - community edition
raknet-3.9.2_9,1.txz Networking API that provides reliable UDP primarily for online games
raleway-g20140205.txz Elegant sans-serif font, designed in a single thin weight
ramblercontacts- Free, multi-service communication client from Rambler
rancid3-3.7.txz Really Awesome New Cisco confIg Differ
rand-1.9_1.txz Utility to display files or streams in random order
randlib-1.3.txz Library of Routines for Random Number Generation
randlm-0.2.5_15.txz A toolkit for building randomized language models
randomio-1.4.txz Multithreaded disk i/o microbenchmark
range-v3-0.3.6.txz Experimental range library for C++11/14/17
ranpwd-1.2_1.txz Tool to generate random passwords
rapidjson-1.1.0_5.txz Fast JSON parser/generator for C++ with both SAX/DOM style API
rapidxml-1.13.txz Fast C++ library for parsing XML