]> granicus.if.org Git - zfs/commit
OpenZFS 9082 - Add ZFS performance test targeting ZIL latency
authorJohn Wren Kennedy <john.kennedy@delphix.com>
Tue, 10 Apr 2018 20:29:55 +0000 (14:29 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 30 May 2018 18:59:04 +0000 (11:59 -0700)
commit93491c4bb9dcc755f74d266f2aeb5a2d3cf94432
tree388fbc67611a755302890465a58d831951653513
parentc26cf0966d131b722c32f8ccecfe5791a789d975
OpenZFS 9082 - Add ZFS performance test targeting ZIL latency

This adds a new test to measure ZIL performance.

- Adds the ability to induce IO delays with zinject
- Adds a new variable (PERF_NTHREADS_PER_FS) to allow fio threads to
  be distributed to individual file systems as opposed to all IO going
  to one, as happens elsewhere.
- Refactoring of do_fio_run

Authored by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: John Wren Kennedy <jwk404@gmail.com>
OpenZFS-issue: https://www.illumos.org/issues/9082
OpenZFS-commit: https://github.com/openzfs/openzfs/pull/634
External-issue: DLPX-48625
Closes #7491
19 files changed:
tests/runfiles/perf-regression.run
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/perf/fio/mkfiles.fio
tests/zfs-tests/tests/perf/fio/random_reads.fio
tests/zfs-tests/tests/perf/fio/random_readwrite.fio
tests/zfs-tests/tests/perf/fio/random_writes.fio
tests/zfs-tests/tests/perf/fio/sequential_reads.fio
tests/zfs-tests/tests/perf/fio/sequential_writes.fio
tests/zfs-tests/tests/perf/perf.shlib
tests/zfs-tests/tests/perf/regression/Makefile.am
tests/zfs-tests/tests/perf/regression/random_reads.ksh
tests/zfs-tests/tests/perf/regression/random_readwrite.ksh
tests/zfs-tests/tests/perf/regression/random_writes.ksh
tests/zfs-tests/tests/perf/regression/random_writes_zil.ksh [new file with mode: 0755]
tests/zfs-tests/tests/perf/regression/sequential_reads.ksh
tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh
tests/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh
tests/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh
tests/zfs-tests/tests/perf/regression/sequential_writes.ksh