blob: d7539b502539c6ec594fdd48307cc00a57da224e (
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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
|
plugin_name: perf.plugin
modules:
- meta:
plugin_name: perf.plugin
module_name: perf.plugin
monitored_instance:
name: CPU performance
link: "https://kernel.org/"
categories:
- data-collection.linux-systems
icon_filename: "bolt.svg"
related_resources:
integrations:
list: []
info_provided_to_referring_integrations:
description: ""
keywords:
- linux
- cpu performance
- cpu cache
- perf.plugin
most_popular: false
overview:
data_collection:
metrics_description: "This collector monitors CPU performance metrics about cycles, instructions, migrations, cache operations and more."
method_description: "It uses syscall (2) to open a file descriptior to monitor the perf events."
supported_platforms:
include:
- Linux
exclude: []
multi_instance: true
additional_permissions:
description: "It needs setuid to use necessary syscall to collect perf events. Netada sets the permission during installation time."
default_behavior:
auto_detection:
description: ""
limits:
description: ""
performance_impact:
description: ""
setup:
prerequisites:
list: []
configuration:
file:
name: "netdata.conf"
section_name: "[plugin:perf]"
description: "The main netdata configuration file."
options:
description: |
You can get the available options running:
```bash
/usr/libexec/netdata/plugins.d/perf.plugin --help
````
folding:
title: "Config options"
enabled: true
list:
- name: update every
description: Data collection frequency.
default_value: 1
required: false
- name: command options
description: Command options that specify charts shown by plugin.
default_value: 1
required: true
examples:
folding:
enabled: true
title: "Config"
list:
- name: All metrics
folding:
enabled: false
description: Monitor all metrics available.
config: |
[plugin:perf]
command options = all
- name: CPU cycles
description: Monitor CPU cycles.
config: |
[plugin:perf]
command options = cycles
troubleshooting:
problems:
list: []
alerts: []
metrics:
folding:
title: Metrics
enabled: false
description: ""
availability: []
scopes:
- name: global
description: "These metrics refer to the entire monitored application."
labels: []
metrics:
- name: perf.cpu_cycles
description: CPU cycles
unit: "cycles/s"
chart_type: line
dimensions:
- name: cpu
- name: ref_cpu
- name: perf.instructions
description: Instructions
unit: "instructions/s"
chart_type: line
dimensions:
- name: instructions
- name: perf.instructions_per_cycle
description: Instructions per Cycle(IPC)
unit: "instructions/cycle"
chart_type: line
dimensions:
- name: ipc
- name: perf.branch_instructions
description: Branch instructions
unit: "instructions/s"
chart_type: line
dimensions:
- name: instructions
- name: misses
- name: perf.cache
description: Cache operations
unit: "operations/s"
chart_type: line
dimensions:
- name: references
- name: misses
- name: perf.bus_cycles
description: Bus cycles
unit: "cycles/s"
chart_type: line
dimensions:
- name: bus
- name: perf.stalled_cycles
description: Stalled frontend and backend cycles
unit: "cycles/s"
chart_type: line
dimensions:
- name: frontend
- name: backend
- name: perf.migrations
description: CPU migrations
unit: "migrations"
chart_type: line
dimensions:
- name: migrations
- name: perf.alignment_faults
description: Alignment faults
unit: "faults"
chart_type: line
dimensions:
- name: faults
- name: perf.emulation_faults
description: Emulation faults
unit: "faults"
chart_type: line
dimensions:
- name: faults
- name: perf.l1d_cache
description: L1D cache operations
unit: "events/s"
chart_type: line
dimensions:
- name: read_access
- name: read_misses
- name: write_access
- name: write_misses
- name: perf.l1d_cache_prefetch
description: L1D prefetch cache operations
unit: "prefetches/s"
chart_type: line
dimensions:
- name: prefetches
- name: perf.l1i_cache
description: L1I cache operations
unit: "events/s"
chart_type: line
dimensions:
- name: read_access
- name: read_misses
- name: perf.ll_cache
description: LL cache operations
unit: "events/s"
chart_type: line
dimensions:
- name: read_access
- name: read_misses
- name: write_access
- name: write_misses
- name: perf.dtlb_cache
description: DTLB cache operations
unit: "events/s"
chart_type: line
dimensions:
- name: read_access
- name: read_misses
- name: write_access
- name: write_misses
- name: perf.itlb_cache
description: ITLB cache operations
unit: "events/s"
chart_type: line
dimensions:
- name: read_access
- name: read_misses
- name: perf.pbu_cache
description: PBU cache operations
unit: "events/s"
chart_type: line
dimensions:
- name: read_access
|