FreeBSD source tree
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Peter Holm 13aacd0c0c stress2: Added a test scenario 2 weeks ago
..
doc
include
lib
misc stress2: Added a test scenario 2 weeks ago
testcases stress2: Fix "set-but-not-unused" warnings 5 months ago
tools stress2: Added a tool to zero out a superblock check hash. 3 months ago
Makefile
README
all.cfg
creat.cfg
ddb.conf
default.cfg
df.cfg
disk.cfg
io.cfg
jeff.cfg
link.cfg
load.cfg
lockf.cfg
marcus.cfg
mkdir.cfg
mkfifo.cfg
norw.cfg
noswap.cfg
pty.cfg
run.sh
rw.cfg
syscall.cfg
sysctl.cfg
udp.cfg
vfs.cfg

README

stress2 is a tool for finding problems in the kernel.

It is composed of a large number of regression tests, tests that
stress various components of the kernel and a few validation tests.
There are currently some 700 different tests.

The key idea behind stress2 is to randomize as much as possible in
a test, as a way of achieving better coverage. For example, varying
VM pressure, varying numbers of threads, varying delays, etc.
stress2 has found a large number of problems:
https://people.freebsd.org/~pho/stress/log/

To run the full test suite type "make test" in the stress2 directory.

To run a subset of tests, go to the stress2/misc directory.
To run for example all tmpfs tests, type ./all.sh -o $(grep -l tmpfs *.sh)
To run fdatasync.sh for one hour, type ./all.sh -m 60 fdatasync.sh"
To run dup2.sh three times, type ./all.sh -l 3 dup2.sh

Peter Holm <pho@FreeBSD.org>