xref: /freebsd/tools/test/stress2/README (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1stress2 is a tool for finding problems in the kernel.
2
3It is composed of a large number of regression tests, tests that
4stress various components of the kernel and a few validation tests.
5There are currently some 700 different tests.
6
7The key idea behind stress2 is to randomize as much as possible in
8a test, as a way of achieving better coverage.  For example, varying
9VM pressure, varying numbers of threads, varying delays, etc.
10stress2 has found a large number of problems:
11https://people.freebsd.org/~pho/stress/log/
12
13To run the full test suite type "make test" in the stress2 directory.
14
15To run a subset of tests, go to the stress2/misc directory.
16    To run for example all tmpfs tests, type ./all.sh -o $(grep -l tmpfs *.sh)
17    To run fdatasync.sh for one hour, type ./all.sh -m 60 fdatasync.sh"
18    To run dup2.sh three times, type ./all.sh -l 3 dup2.sh
19
20Peter Holm <pho@FreeBSD.org>
21