summaryrefslogtreecommitdiffstats
path: root/rules/rt-tests.in
blob: 1cb29b712a04541adb82ab367e2825913011bf85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
## SECTION=test_suites

menuconfig RT_TESTS
	tristate
	select LIBC_PTHREAD
	select LIBC_RT
	select LIBC_DL
	select GCCLIBS_GCC_S if RT_TESTS_RT_MIGRATE_TEST
	prompt "rt-tests                      "
	help
	  Test programs for rt kernels

	  rt-tests contains a set of programs that test and measure
	  various components of "realtime" kernel behavior, such as
	  timer latency, signal latency and the functioning of
	  priority-inheritance mutexes.

if RT_TESTS

config RT_TESTS_CYCLICTEST
	bool
	prompt "cyclictest"
	help
	  cyclictest is a benchmark program that can be used to find
	  worst case realtime latencies.

config RT_TESTS_HACKBENCH
	bool
	prompt "hackbench"
	help
	  Hackbench is both a benchmark and a stress test for the Linux
	  kernel scheduler. It's main job is to create a specified number
	  of pairs of schedulable entities (either threads or traditional
	  processes) which communicate via either sockets or pipes and time
	  how long it takes for each pair to send data back and forth.

	  This is the improved hackbench implementation, taken from (and
	  described inline in)
	  http://people.redhat.com/mingo/cfs-scheduler/tools/hackbench.c

	  It uses a default of 100 loops, 10 groups and 20 FDs.

config RT_TESTS_PIP
	bool
	prompt "pip"
	help
	  priority inheritance for processes

config RT_TESTS_PI_STRESS
	bool
	prompt "pi_stress"
	help
	  priority inheritance stress test

config RT_TESTS_PMQTEST
	bool
	prompt "pmqtest"
	help
	  test POSIX message queue latency

config RT_TESTS_PTSEMATEST
	bool
	prompt "ptsematest"
	help
	  signal test program

config RT_TESTS_RT_MIGRATE_TEST
	bool
	prompt "rt-migrate-test"

config RT_TESTS_SENDME
	bool
	prompt "sendme"

config RT_TESTS_SIGNALTEST
	bool
	prompt "signaltest"

config RT_TESTS_SIGWAITTEST
	bool
	prompt "sigwaittest"

config RT_TESTS_SVSEMATEST
	bool
	prompt "svsematest"

endif