| #!/bin/ksh -p |
| # |
| # CDDL HEADER START |
| # |
| # This file and its contents are supplied under the terms of the |
| # Common Development and Distribution License ("CDDL"), version 1.0. |
| # You may only use this file in accordance with the terms of version |
| # 1.0 of the CDDL. |
| # |
| # A full copy of the text of the CDDL should have accompanied this |
| # source. A copy of the CDDL is also available via the Internet at |
| # http://www.illumos.org/license/CDDL. |
| # |
| # CDDL HEADER END |
| # |
| |
| # |
| # Copyright (c) 2020, George Amanakis. All rights reserved. |
| # |
| |
| . $STF_SUITE/include/libtest.shlib |
| |
| export SIZE=1G |
| export VDIR=$TESTDIR/disk.l2arc |
| export VDEV="$VDIR/a" |
| export VDEV_CACHE="$VDIR/b" |
| export VDEV1="$VDIR/c" |
| |
| # fio options |
| export DIRECTORY=/$TESTPOOL |
| export NUMJOBS=4 |
| export RUNTIME=10 |
| export PERF_RANDSEED=1234 |
| export PERF_COMPPERCENT=66 |
| export PERF_COMPCHUNK=0 |
| export BLOCKSIZE=128K |
| export SYNC_TYPE=0 |
| export DIRECT=1 |