-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpipe.job
121 lines (107 loc) · 3.52 KB
/
pipe.job
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#
# pipe class stressors:
# various options have been commented out, one can remove the
# proceeding comment to enable these options if required.
#
# run the following tests in parallel or sequentially
#
run sequential
# run parallel
#
# aggressive:
# enables more file, cache and memory aggressive options. This may
# slow tests down, increase latencies and reduce the number of
# bogo ops as well as changing the balance of user time vs system
# time used depending on the type of stressor being used.
#
# aggressive
#
# ignite-cpu:
# alter kernel controls to try and maximize the CPU. This requires
# root privilege to alter various /sys interface controls. Cur‐
# rently this only works for Intel P-State enabled x86 systems on
# Linux.
#
# ignite-cpu
#
# keep-name:
# by default, stress-ng will attempt to change the name of the
# stress processes according to their functionality; this option
# disables this and keeps the process names to be the name of the
# parent process, that is, stress-ng.
#
# keep-name
#
# metrics-brief:
# enable metrics and only output metrics that are non-zero.
#
metrics-brief
#
# verbose
# show all debug, warnings and normal information output.
#
verbose
#
# run each of the tests for 60 seconds
# stop stress test after N seconds. One can also specify the units
# of time in seconds, minutes, hours, days or years with the suf‐
# fix s, m, h, d or y.
#
timeout 60s
#
# per stressor options start here
#
#
# fifo stressor options:
# start N workers that exercise a named pipe by transmitting 64
# bit integers.
#
fifo 0 # 0 means 1 stressor per CPU
# fifo-ops 1000000 # stop after 1000000 bogo ops
#
# pipe stressor options:
# start N workers that perform large pipe writes and reads to
# exercise pipe I/O. This exercises memory write and reads as
# well as context switching. Each worker has two processes, a
# reader and a writer.
#
pipe 0 # 0 means 1 stressor per CPU
# pipe-ops 1000000 # stop after 1000000 bogo ops
# pipe-data-size 4K # pipe data transfer size
# pipe-size 512 # pipe size
#
# sendfile stressor options:
# start N workers that send an empty file to /dev/null. This oper‐
# ation spends nearly all the time in the kernel. The default
# sendfile size is 4MB. The sendfile options are for Linux only.
#
sendfile 0 # 0 means 1 stressor per CPU
# sendfile-ops 1000000 # stop after 1000000 bogo ops
#
# splice stressor options:
# move data from /dev/zero to /dev/null through a pipe without any
# copying between kernel address space and user address space
# using splice(2). This is only available for Linux.
#
splice 0 # 0 means 1 stressor per CPU
# splice-ops 1000000 # stop after 1000000 bogo ops
# splice-bytes 64K # transfer 64K per splice call
#
# tee stressor options:
# move data from a writer process to a reader process through
# pipes and to /dev/null without any copying between kernel
# address space and user address space using tee(2). This is only
# available for Linux.
#
tee 0 # 0 means 1 stressor per CPU
# tee-ops 1000000 # stop after 1000000 bogo ops
#
# vm-splice stressor options:
# move data from memory to /dev/null through a pipe without any
# copying between kernel address space and user address space
# using vmsplice(2) and splice(2). This is only available for
# Linux.
#
vm-splice 0 # 0 means 1 stressor per CPU
# vm-splice-ops 0 # stop after 1000000 bogo ops
# vm-splice-bytes 64K # transfer 64K per vmsplice call