~fginther/ubuntu-test-cases/document-rtm-mp-testing

219.3.3 by Paul Larson
first pass at adding health-check for touch
1
#
2
# Default "IDLE" process thresholds.  Typically, an idle process
3
# should be doing very little, so this profile checks some simple
4
# process specific settings to see if we can find "busy" idle processes
5
#
6
# Length of test in seconds
7
#
8
duration 300
9
#
10
# CPU loading, should be really low for idle processes
11
#
12
health-check.cpu-load.cpu-load-total.total-cpu-percent	0.02
13
health-check.cpu-load.cpu-load-total.user-cpu-percent	0.02
14
health-check.cpu-load.cpu-load-total.system-cpu-percent	0.02
15
#
16
# Page faults, ignore these
17
#
18
#health-check.page-faults.page-faults-total.minor-page-faults-total-rate 10
19
#health-check.page-faults.page-faults-total.major-page-faults-total-rate 10
20
#health-check.page-faults.page-faults-total.total-page-faults-total-rate 10
21
#
22
# Wakeup Events, anything more than 1 a second is busy
23
#
24
health-check.wakeup-events.wakeup-events-total.wakeup-total-rate 0.125
25
#
26
# Context Switches, ignore these
27
#
28
#health-check.context-switches.context-switches-total.context-switch-total-rate 10
29
#
30
# Files, really should not be doing much so allow for 1 a minute top
31
#
32
health-check.file-access.file-access-total.access-count-total-rate 1.0
33
health-check.file-io-operations.file-io-operations-total.open-call-total-rate 0.1
34
health-check.file-io-operations.file-io-operations-total.close-call-total-rate 0.1
35
health-check.file-io-operations.file-io-operations-total.read-call-total-rate 0.1
36
health-check.file-io-operations.file-io-operations-total.write-call-total-rate 0.1
37
#
38
# System calls poll rates
39
#
40
#health-check.system-calls.system-calls-total.system-call-count-total-rate 10
41
#health-check.polling-system-calls.polling-system-calls-total.system-call-total-rate 10
42
health-check.polling-system-calls.polling-system-calls-total.poll-count-infinite-total-rate 0
43
health-check.polling-system-calls.polling-system-calls-total.poll-count-zero-total-rate 0
44
#
45
# File system syncs, an idle process should not do any
46
#
47
health-check.file-system-syncs.sync-system-calls-total.fdatasync-call-count-total-rate 0
48
health-check.file-system-syncs.sync-system-calls-total.fsync-call-count-total-rate 0
49
health-check.file-system-syncs.sync-system-calls-total.sync-call-count-total-rate 0
50
health-check.file-system-syncs.sync-system-calls-total.syncfs-call-count-total-rate 0
51
#
52
# Memory usage, can't have a generic memory limit, so ignore
53
#
54
#health-check.memory-usage.memory-usage-total.stack-size-total-kbytes 1000000
55
#health-check.memory-usage.memory-usage-total.stack-rss-total-kbytes 1000000
56
#health-check.memory-usage.memory-usage-total.stack-pss-total-kbytes 1000000
57
#health-check.memory-usage.memory-usage-total.heap-size-total-kbytes 40000
58
#health-check.memory-usage.memory-usage-total.heap-rss-total-kbytes 1000000
59
#health-check.memory-usage.memory-usage-total.heap-pss-total-kbytes 1000000
60
#health-check.memory-usage.memory-usage-total.mapped-size-total-kbytes 1000000
61
#health-check.memory-usage.memory-usage-total.mapped-rss-total-kbytes 1000000
62
#health-check.memory-usage.memory-usage-total.mapped-pss-total-kbytes 1000000
63
#
64
# Memory change,  should not grow more than say 10K an hour
65
#
66
# health-check.memory-change.memory-change-total.
67
health-check.heap-usage-via-brk.heap-usage-via-brk-total.brk-size-total-Kbytes-rate   0.0001
68
health-check.memory-usage-via-mmap.memory-usage-via-mmap-total.mmap-total-Kbytes-rate 0.0001
69
#
70
# Network, should be fairly idle
71
#
72
health-check.network-connections.network-connections-total.send-total-rate 16
73
health-check.network-connections.network-connections-total.receive-total-rate 16