forked from iwankgb/owca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwca-config.yaml
48 lines (41 loc) · 1.52 KB
/
wca-config.yaml
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
# Full example for Kubernetes running as daemonset (in-cluster k8s config)
# Requires environment variables:
# - KUBERNETES_SERVICE_HOST - provided by default by Kuberenetes
# - KUBERNETES_SERVICE_PORT - provided by default by Kubernetes
# - HOST_IP - need to explicitly enabled in Pod spec using downward-api
# - HOSTNAME - default provided by OS
# Example to enable WSS heuristic debugging.
#loggers:
# wca.wss: debug
runner: !MeasurementRunner
interval: 60.0
node: !KubernetesNode
cgroup_driver: cgroupfs
monitored_namespaces: ["default"]
kubeapi_host: !Env KUBERNETES_SERVICE_HOST
kubeapi_port: !Env KUBERNETES_SERVICE_PORT
node_ip: !Env HOST_IP
metrics_storage: !LogStorage
overwrite: True
output_filename: /var/lib/wca/metrics.prom
extra_labels:
node: !Env HOSTNAME
event_names:
- task_cycles # do not remove: USED BY E2E tests
- task_instructions
- task_offcore_requests_demand_data_rd # required fro R/W characterization
- task_offcore_requests_demand_rfo
enable_derived_metrics: True
uncore_event_names:
- platform_cas_count_reads
- platform_cas_count_writes
- platform_pmm_bandwidth_reads
- platform_pmm_bandwidth_writes
# WorkingSetSize configuration: reset every 20 minutes, require 5 minutes of stable increase less then 1%)
# (assuming 1 minute collection interval).
wss_reset_cycles: 20
wss_membw_threshold: 0.01
wss_stable_cycles: -5
# Collect metrics from proc/PID/sched to debug numa issues
# sched: True
gather_hw_mm_topology: True