HomeFreeBSD

Assorted fixes for the performance tests

Description

Assorted fixes for the performance tests

  • Bail out early if we're running the perf tests and forget to specify disks.
  • Allow perf tests to run with any number of disks.
  • Remove weekly vs. nightly settings
  • Move variables with common values to perf.shlib
  • Use zinject to clear the ARC over export/import
  • Fix dbuf cache size calculation

When the meaning of dbuf_cache_max_bytes changed, the performance
test that covers the dbuf cache started to fail. The test would try to
write files for the test using the max possible size of the cache,
inevitably filling the pool and failing. This change uses
dbuf_cache_shift to correctly calculate the dbuf cache size.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: John Kennedy <john.kennedy@delphix.com>
Closes #12408

Details

Provenance
John Wren Kennedy <john.kennedy@delphix.com>Authored on Jul 26 2021, 9:47 PM
GitHub <noreply@github.com>Committed on Jul 26 2021, 9:47 PM
Parents
rGd8381f50d6ad: Read past end of argv array in zpool_do_import()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGbdd2bfd02c70: Assorted fixes for the performance tests (authored by John Wren Kennedy <john.kennedy@delphix.com>).Jul 26 2021, 9:47 PM