Name Date Size #Lines LOC

..--

doc/H20-Feb-2020-64

include/H20-Feb-2020-6734

lib/H20-Feb-2020-821600

misc/H20-Feb-2020-13,3696,426

testcases/H20-Feb-2020-4,0432,745

tools/H20-Feb-2020-979443

MakefileH A D20-Feb-202061 62

Makefile.gnuH A D20-Feb-2020626 2917

READMEH A D20-Feb-20201.8 KiB6041

all.cfgH A D20-Feb-2020125 95

beaver1.sentex.caH A D20-Feb-2020430 1611

creat.cfgH A D20-Feb-2020166 117

default.cfgH A D20-Feb-20201.8 KiB7758

df.cfgH A D20-Feb-2020291 138

disk.cfgH A D20-Feb-2020198 117

hydra1.netperf.freebsd.orgH A D20-Feb-2020359 149

hydra2.netperf.freebsd.orgH A D20-Feb-2020353 149

io.cfgH A D20-Feb-2020252 127

jeff.cfgH A D20-Feb-2020195 116

link.cfgH A D20-Feb-2020206 128

load.cfgH A D20-Feb-2020662 1914

lockf.cfgH A D20-Feb-2020238 128

marcus.cfgH A D20-Feb-2020462 2621

mkdir.cfgH A D20-Feb-2020189 128

mkfifo.cfgH A D20-Feb-2020190 117

norw.cfgH A D20-Feb-202098 95

noswap.cfgH A D20-Feb-2020100 95

orangutan.netperf.freebsd.orgH A D20-Feb-2020461 1812

pty.cfgH A D20-Feb-2020158 117

run.shH A D20-Feb-20202.8 KiB8038

rw.cfgH A D20-Feb-2020154 117

syscall.cfgH A D20-Feb-2020235 149

sysctl.cfgH A D20-Feb-2020270 1510

udp.cfgH A D20-Feb-2020210 127

vfs.cfgH A D20-Feb-2020217 116

README

1$FreeBSD$
2
3This is the FreeBSD kernel stress test suite. The purpose is to crash the
4computer, by stressing selected parts of the kernel, thus exposing inadequate
5error handling.
6
7Do not run the syscall test as root.
8
9To build and use:
10
11make
12sh ./run.sh
13
14The "run.sh" script accepts an optional configuration file in order to test specific areas.
15For example:
16
17./run.sh vfs.sh
18
19
20To run all of the different test scenarios type:
21
22./run.sh -a
23
24You may have to tune the stress test to make sure that your test box run low
25on resources.  For example:
26
27INCARNATIONS=125 ./run.sh
28
29The following sub-directories exists:
30
31./doc		Documentation
32./include	Include file for building the test programs in ./testcases
33./lib		Common support files for the test programs
34./misc		Various test scenarios. Mostly regression tests
35./testcases	Test programs
36./tools		Supplementary tools used in stress testing
37
38The name stress2 indicates that this is the second generation of the Kernel Stress Test Suite.
39The first version (stress) was based mostly on scripts.
40
41
4220090120: des@ pointed out it would be nice to be able to set the
43	random seed in order to be able to reproduce errors in time.
44	A test of this show that the occurrence of panics are still
45	non-deterministic even with a fixed seed. The known broken
46	unionfs was used to test this:
47	http://people.freebsd.org/~pho/stress/log/marcus006.txt.
48	First panic occurred after 29 loops and the second after 8
49	with a seed of "123".
50
51	The randomness that is provided by lack of synchronization
52	with timer interrupt, disk block layout and disk access
53	latencies caused by platter and heads speed changes, disk
54	firmware internal operations, and so on are _much_ bigger
55	then the undeterminism caused by the non-repeatable random
56	seed.
57
58	Anyway, I have always view the this issue as only a slight
59	inconvenience.
60