CPU performance
Plugin: perf.plugin Module: perf.plugin
Overview
This collector monitors CPU performance metrics about cycles, instructions, migrations, cache operations and more.
It uses syscall (2) to open a file descriptor to monitor the perf events.
This collector is only supported on the following platforms:
- Linux
This collector supports collecting metrics from multiple instances of this integration, including remote instances.
It needs setuid to use the necessary syscall to collect perf events. Netdata sets the permission during installation time.
Default Behavior
Auto-Detection
This integration doesn't support auto-detection.
Limits
The default configuration for this integration does not impose any limits on data collection.
Performance Impact
The default configuration for this integration is not expected to impose a significant performance impact on the system.
Metrics
Metrics grouped by scope.
The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
Per CPU performance instance
These metrics refer to the entire monitored application.
This scope has no labels.
Metrics:
Metric | Dimensions | Unit |
---|---|---|
perf.cpu_cycles | cpu, ref_cpu | cycles/s |
perf.instructions | instructions | instructions/s |
perf.instructions_per_cycle | ipc | instructions/cycle |
perf.branch_instructions | instructions, misses | instructions/s |
perf.cache | references, misses | operations/s |
perf.bus_cycles | bus | cycles/s |
perf.stalled_cycles | frontend, backend | cycles/s |
perf.migrations | migrations | migrations |
perf.alignment_faults | faults | faults |
perf.emulation_faults | faults | faults |
perf.l1d_cache | read_access, read_misses, write_access, write_misses | events/s |
perf.l1d_cache_prefetch | prefetches | prefetches/s |
perf.l1i_cache | read_access, read_misses | events/s |
perf.ll_cache | read_access, read_misses, write_access, write_misses | events/s |
perf.dtlb_cache | read_access, read_misses, write_access, write_misses | events/s |
perf.itlb_cache | read_access, read_misses | events/s |
perf.pbu_cache | read_access | events/s |
Alerts
There are no alerts configured by default for this integration.
Setup
Prerequisites
Install perf plugin
If you are using our official native DEB/RPM packages, make sure the netdata-plugin-perf
package is installed.