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