freebsd_amp_hwpstate/tools/test/stress2
Peter Holm d26c565597 stress2: Revert change accidentally added in ff4a72c159 2024-06-15 08:33:14 +02:00
..
doc
include
lib stress2: Fix compiler warning 2023-03-17 12:06:52 +01:00
misc stress2: Revert change accidentally added in ff4a72c159 2024-06-15 08:33:14 +02:00
testcases stress2: Enable more swap disk usage 2022-07-15 10:19:39 +02:00
tools stress2: Use the proper type for the getopt(3) return value 2024-05-27 11:26:47 -04:00
Makefile
README stress2: Initial import 2021-03-03 15:11:40 +01:00
all.cfg
creat.cfg stress2: Initial import 2021-03-03 15:11:40 +01:00
ddb.conf
default.cfg stress2: Initialize variable 2023-05-27 10:34:48 +02:00
df.cfg
disk.cfg
io.cfg
jeff.cfg
link.cfg
load.cfg stress2: Initial import 2021-03-03 15:11:40 +01:00
lockf.cfg
marcus.cfg stress2: Initial import 2021-03-03 15:11:40 +01:00
mkdir.cfg
mkfifo.cfg stress2: Initial import 2021-03-03 15:11:40 +01:00
norw.cfg
noswap.cfg
pty.cfg
run.sh
rw.cfg stress2: Initial import 2021-03-03 15:11:40 +01:00
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>