diff options
author | John Wren Kennedy <[email protected]> | 2016-08-03 21:26:15 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-09-08 16:18:28 -0700 |
commit | 679d73e98bf5e51a02bc8d550253e4a3f15d58ca (patch) | |
tree | 703bda77d9a294969d205c19646b3e3aa822def8 /scripts/zfs2zol-patch.sed | |
parent | 7050a65d5c760aa039d195fe0b6773a20a81048b (diff) |
OpenZFS - Performance regression suite for zfstest
Author: John Wren Kennedy <[email protected]>
Reviewed by: Prakash Surya <[email protected]>
Reviewed by: Dan Kimmel <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Paul Dagnelie <[email protected]>
Reviewed by: Don Brady <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Reviewed by: Brian Behlendorf <[email protected]>
Reviewed-by: David Quigley <[email protected]>
Approved by: Richard Lowe <[email protected]>
Ported-by: Don Brady <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/6950
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/dcbf3bd6
Delphix-commit: https://github.com/delphix/delphix-os/commit/978ed49
Closes #4929
ZFS Test Suite Performance Regression Tests
This was pulled into OpenZFS via the compressed arc featureand was
separated out in zfsonlinux as a separate pull request from PR-4768.
It originally came in as QA-4903 in Delphix-OS from John Kennedy.
Expected Usage:
$ DISKS="sdb sdc sdd" zfs-tests.sh -r perf-regression.run
Porting Notes:
1. Added assertions in the setup script to make sure required tools
(fio, mpstat, ...) are present.
2. For the config.json generation in perf.shlib used arcstats and
other binaries instead of dtrace to query the values.
3. For the perf data collection:
- use "zpool iostat -lpvyL" instead of the io.d dtrace script
(currently not collecting zfs_read/write latency stats)
- mpstat and iostat take different arguments
- prefetch_io.sh is a placeholder that uses arcstats instead of
dtrace
4. Build machines require fio, mdadm and sysstat pakage (YMMV).
Future Work:
- Need a way to measure zfs_read and zfs_write latencies per pool.
- Need tools to takes two sets of output and display/graph the
differences
- Bring over additional regression tests from Delphix
Diffstat (limited to 'scripts/zfs2zol-patch.sed')
-rwxr-xr-x | scripts/zfs2zol-patch.sed | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/zfs2zol-patch.sed b/scripts/zfs2zol-patch.sed index 3a7280fd7..e6fc5c8b0 100755 --- a/scripts/zfs2zol-patch.sed +++ b/scripts/zfs2zol-patch.sed @@ -13,3 +13,9 @@ s:usr/src/lib/libzfs/common:lib/libzfs:g s:usr/src/lib/libzfs_core/common:lib/libzfs_core:g s:lib/libzpool/common/sys:include/sys:g s:lib/libzpool/common:lib/libzpool:g + +s:usr/src/test/zfs-tests/include:tests/zfs-tests/include:g +s:usr/src/test/zfs-tests/runfiles:tests/runfiles:g +s:usr/src/test/zfs-tests/tests/functional:tests/zfs-tests/tests/functional:g +s:usr/src/test/zfs-tests/tests/perf:tests/zfs-tests/tests/perf:g +s:usr/src/test/test-runner/cmd/run.py:tests/test-runner/cmd/test-runner.py:g |