From: Damien Le Moal Date: Fri, 8 May 2020 07:56:45 +0000 (+0900) Subject: t/zbd: Use max-jobs=16 option X-Git-Tag: fio-3.20~13 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fc3bf67a0c9c4ec360a974a50e49b05edfde0e0b;p=fio.git t/zbd: Use max-jobs=16 option Use max-jobs option to reduce memory usage and speedup execution of test-zbd-support. With --max-jobs=16, twice the largest number of jobs used in all test cases, the execution time of test-zbd-support against a zoned nullblk device is lowered from 64s to 41s on a laptop. Signed-off-by: Damien Le Moal Signed-off-by: Jens Axboe --- diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index be889f34..de05f438 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -93,8 +93,8 @@ run_fio() { fio=$(dirname "$0")/../../fio - opts=("--aux-path=/tmp" "--allow_file_create=0" \ - "--significant_figures=10" "$@") + opts=("--max-jobs=16" "--aux-path=/tmp" "--allow_file_create=0" \ + "--significant_figures=10" "$@") opts+=(${var_opts[@]}) { echo; echo "fio ${opts[*]}"; echo; } >>"${logfile}.${test_number}"