#
# 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
#
#
# Copyright (c) 2015, 2016 by Delphix. All rights reserved.
#
#
# Description:
# Trigger fio runs using the sequential_writes job file. The number of runs and
# data collected is determined by the PERF_* variables. See do_fio_run for
# details about these variables.
#
# Prior to each fio run the dataset is recreated, and fio writes new files
# into an otherwise empty pool.
#
log_assert "Measure IO stats during sequential write load"
function cleanup
{
}
# Aim to fill the pool to 50% capacity while accounting for a 3x compressratio.
# Variables for use by fio.
if [[ -n $PERF_REGRESSION_WEEKLY ]]; then
elif [[ -n $PERF_REGRESSION_NIGHTLY ]]; then
fi
# Set up the scripts and output files that will log performance data.
"vmstat 1" "vmstat" "mpstat 1" "mpstat" "iostat -xcnz 1" "iostat")
log_note "Sequential writes with $PERF_RUNTYPE settings"
do_fio_run sequential_writes.fio true false
log_pass "Measure IO stats during sequential write load"