mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
22 lines
430 B
Bash
Executable File
22 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Does several dbench runs with increasing numbers of client
|
|
#
|
|
|
|
[ -z "$here" ] && here=`pwd`
|
|
. $here/common.dbench
|
|
|
|
if [ $# -gt 0 ]; then
|
|
_format_header_multipass 1 2 10 20 #50
|
|
exit 0
|
|
fi
|
|
tmpfile=/var/tmp/dbench.$$
|
|
rm -f $tmpfile
|
|
_run_dbench 1 >> $tmpfile
|
|
_run_dbench 2 >> $tmpfile
|
|
_run_dbench 10 >> $tmpfile
|
|
_run_dbench 20 >> $tmpfile
|
|
#_run_dbench 50 >> $tmpfile
|
|
_filter_dbench_multipass < $tmpfile
|
|
rm -f $tmpfile
|