]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/test/stress2/README
libedit: vendor import libedit 2021-03-28
[FreeBSD/FreeBSD.git] / tools / test / stress2 / README
1 stress2 is a tool for finding problems in the kernel.
2
3 It is composed of a large number of regression tests, tests that
4 stress various components of the kernel and a few validation tests.
5 There are currently some 700 different tests.
6
7 The key idea behind stress2 is to randomize as much as possible in
8 a test, as a way of achieving better coverage.  For example, varying
9 VM pressure, varying numbers of threads, varying delays, etc.
10 stress2 has found a large number of problems:
11 https://people.freebsd.org/~pho/stress/log/
12
13 To run the full test suite type "make test" in the stress2 directory.
14
15 To 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
20 Peter Holm <pho@FreeBSD.org>