zfs/scripts/zpios-test/1th-16rc-4rs-1cs-4off.sh

62 lines
2.2 KiB
Bash
Raw Normal View History

#!/bin/bash
#
# Usage: zpios
# --threadcount -t =values
# --threadcount_low -l =value
# --threadcount_high -h =value
# --threadcount_incr -e =value
# --regioncount -n =values
# --regioncount_low -i =value
# --regioncount_high -j =value
# --regioncount_incr -k =value
# --offset -o =values
# --offset_low -m =value
# --offset_high -q =value
# --offset_incr -r =value
# --chunksize -c =values
# --chunksize_low -a =value
# --chunksize_high -b =value
# --chunksize_incr -g =value
# --regionsize -s =values
# --regionsize_low -A =value
# --regionsize_high -B =value
# --regionsize_incr -C =value
# --load -L =dmuio|ssf|fpp
# --pool -p =pool name
# --cleanup -x
# --prerun -P =pre-command
# --postrun -R =post-command
# --log -G =log directory
# --regionnoise -I =shift
# --chunknoise -N =bytes
# --threaddelay -T =jiffies
# --verify -V
# --zerocopy -z
# --nowait -O
# --human-readable -H
# --verbose -v =increase verbosity
# --help -? =this help
ZPIOS_CMD="${CMDDIR}/zpios/zpios \
--load=dmuio \
--pool=${ZPOOL_NAME} \
--threadcount=1 \
--regioncount=16 \
--regionsize=4M \
--chunksize=1M \
--offset=4M \
--cleanup \
--verbose \
--human-readable \
2009-01-16 21:56:14 +00:00
${ZPIOS_OPTIONS}"
zpios_start() {
echo ${ZPIOS_CMD}
2009-01-20 23:34:02 +00:00
${ZPIOS_CMD} || exit 1
}
zpios_stop() {
2009-01-20 23:34:02 +00:00
echo
}