]> granicus.if.org Git - zfs/commit
Do not enable stack tracer for ZFS performance test
authorTony Nguyen <tony.nguyen@delphix.com>
Fri, 7 Dec 2018 18:51:42 +0000 (11:51 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Dec 2018 18:51:42 +0000 (10:51 -0800)
commitef57371a92367394108a5f65cee3c00d50101a4d
tree927a4ddf5fa30148054cecc691f9d5dd38d32864
parentd6496040d904c381d7ecdb113cfcab4964e033c1
Do not enable stack tracer for ZFS performance test

Linux ZFS test suite runs with /proc/sys/kernel/stack_tracer_enabled=1,
via zfs.sh script, which has negative performance impact, up to 40%.

Since large stack is a rare issue now, preferred behavior would be:
- making stack tracer an opt-in feature for zfs.sh
- zfs-test.sh enables stack tracer only when requested

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Tony Nguyen <tony.nguyen@delphix.com>
#8173
scripts/zfs-tests.sh
scripts/zfs.sh