Performance tests, some variables missing PERF_ prefix

Adding the expected PERF_ prefix to RANDSEED, COMPPERCENT,
and COMPCHUNK.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Nguyen <tony.nguyen@delphix.com>
Closes #9877
This commit is contained in:
Tony Nguyen 2020-01-23 22:18:02 -07:00 committed by Brian Behlendorf
parent 0d37c2bb2e
commit 8e9e90bba3
11 changed files with 75 additions and 74 deletions

View File

@ -25,9 +25,9 @@ thread=1
directory=${DIRECTORY} directory=${DIRECTORY}
numjobs=${NUMJOBS} numjobs=${NUMJOBS}
filesize=${FILE_SIZE} filesize=${FILE_SIZE}
randseed=${RANDSEED} randseed=${PERF_RANDSEED}
buffer_compress_percentage=${COMPPERCENT} buffer_compress_percentage=${PERF_COMPPERCENT}
buffer_pattern=0xdeadbeef buffer_pattern=0xdeadbeef
buffer_compress_chunk=${COMPCHUNK} buffer_compress_chunk=${PERF_COMPCHUNK}
[job] [job]

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -58,9 +58,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -68,9 +68,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'16 32'} export PERF_NTHREADS=${PERF_NTHREADS:-'16 32'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -58,9 +58,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'4 8 16 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'4 8 16 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -68,9 +68,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES='' # bssplit used instead export PERF_IOSIZES='' # bssplit used instead
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -1,5 +1,6 @@
#!/bin/ksh #!/bin/ksh
# file and its contents are supplied under the terms of the
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0. # Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version # You may only use this file in accordance with the terms of version
# 1.0 of the CDDL. # 1.0 of the CDDL.
@ -10,7 +11,7 @@
# #
# #
# Copyright (c) 2017 by Delphix. All rights reserved. # Copyright (c) 2017, 2020 by Delphix. All rights reserved.
# #
# #
@ -47,9 +48,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -57,9 +58,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES='8k 64k' export PERF_IOSIZES='8k 64k'
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -57,9 +57,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'1 4 8 16 32 64 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'1 4 8 16 32 64 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -67,9 +67,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 256k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 256k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'32 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'32 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
. $STF_SUITE/include/libtest.shlib . $STF_SUITE/include/libtest.shlib
@ -45,9 +45,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'1 2 4 8 16 32 64 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'1 2 4 8 16 32 64 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0 1'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0 1'}
@ -56,9 +56,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'1 4 16 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'1 4 16 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0 1'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0 1'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -58,9 +58,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -68,9 +68,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -48,9 +48,9 @@ export TOTAL_SIZE=$(($(get_max_arc_size) / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -58,9 +58,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -54,9 +54,9 @@ export TOTAL_SIZE=$(($(get_max_arc_size) / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -64,9 +64,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'64 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2016 by Delphix. All rights reserved. # Copyright (c) 2016, 2020 by Delphix. All rights reserved.
# #
# #
@ -52,9 +52,9 @@ export TOTAL_SIZE=$(($(get_max_dbuf_cache_size) * 3 / 4))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'} export PERF_NTHREADS=${PERF_NTHREADS:-'8 16 32 64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -62,9 +62,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 128k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'64'} export PERF_NTHREADS=${PERF_NTHREADS:-'64'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}

View File

@ -12,7 +12,7 @@
# #
# #
# Copyright (c) 2015, 2016 by Delphix. All rights reserved. # Copyright (c) 2015, 2020 by Delphix. All rights reserved.
# #
# #
@ -57,9 +57,9 @@ export TOTAL_SIZE=$(($(get_prop avail $PERFPOOL) * 3 / 2))
# Variables for use by fio. # Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_WEEKLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'weekly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'1 4 8 16 32 64 128'} export PERF_NTHREADS=${PERF_NTHREADS:-'1 4 8 16 32 64 128'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}
@ -67,9 +67,9 @@ if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 256k'} export PERF_IOSIZES=${PERF_IOSIZES:-'8k 64k 256k'}
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY} export PERF_RUNTIME=${PERF_RUNTIME:-$PERF_RUNTIME_NIGHTLY}
export RANDSEED=${PERF_RANDSEED:-'1234'} export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
export COMPPERCENT=${PERF_COMPPERCENT:-'66'} export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
export COMPCHUNK=${PERF_COMPCHUNK:-'4096'} export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'} export PERF_RUNTYPE=${PERF_RUNTYPE:-'nightly'}
export PERF_NTHREADS=${PERF_NTHREADS:-'16 32'} export PERF_NTHREADS=${PERF_NTHREADS:-'16 32'}
export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'} export PERF_NTHREADS_PER_FS=${PERF_NTHREADS_PER_FS:-'0'}