diff options
Diffstat (limited to 'resources/templates')
-rw-r--r-- | resources/templates/telemetry/perf_stat_runtime.yaml | 8 | ||||
-rw-r--r-- | resources/templates/telemetry/perf_stat_runtime_arm.yaml | 104 | ||||
-rw-r--r-- | resources/templates/vcl/vcl_iperf3.conf | 2 |
3 files changed, 114 insertions, 0 deletions
diff --git a/resources/templates/telemetry/perf_stat_runtime.yaml b/resources/templates/telemetry/perf_stat_runtime.yaml index ae0f804945..1e07c2d482 100644 --- a/resources/templates/telemetry/perf_stat_runtime.yaml +++ b/resources/templates/telemetry/perf_stat_runtime.yaml @@ -37,6 +37,7 @@ scheduler: duration: 1 programs: - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: cpu_cycles @@ -49,6 +50,7 @@ programs: - eventcode: 0x3C # cpu-cycles umask: 0x00 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: instructions @@ -61,6 +63,7 @@ programs: - eventcode: 0xC0 # instructions umask: 0x00 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: mem_load_uops_retired_l1_hit @@ -73,6 +76,7 @@ programs: - eventcode: 0xD1 # MEM_LOAD_UOPS_RETIRED.L1_HIT umask: 0x01 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: mem_load_uops_retired_l2_hit @@ -85,6 +89,7 @@ programs: - eventcode: 0xD1 # MEM_LOAD_UOPS_RETIRED.L2_HIT umask: 0x02 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: mem_load_uops_retired_l3_hit @@ -97,6 +102,7 @@ programs: - eventcode: 0xD1 # MEM_LOAD_UOPS_RETIRED.L3_HIT umask: 0x04 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: mem_load_uops_retired_l1_miss @@ -109,6 +115,7 @@ programs: - eventcode: 0xD1 # MEM_LOAD_UOPS_RETIRED.L1_MISS umask: 0x08 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: mem_load_uops_retired_l2_miss @@ -121,6 +128,7 @@ programs: - eventcode: 0xD1 # MEM_LOAD_UOPS_RETIRED.L2_MISS umask: 0x10 - name: bundle_perf_stat + architecture: x86_64 metrics: counter: - name: mem_load_uops_retired_l3_miss diff --git a/resources/templates/telemetry/perf_stat_runtime_arm.yaml b/resources/templates/telemetry/perf_stat_runtime_arm.yaml new file mode 100644 index 0000000000..ae1e4aa329 --- /dev/null +++ b/resources/templates/telemetry/perf_stat_runtime_arm.yaml @@ -0,0 +1,104 @@ +--- +logging: + version: 1 + formatters: + console_stdout: + format: '%(asctime)s - %(name)s - %(message)s' + console_stderr: + format: '%(message)s' + prom: + format: '%(message)s' + handlers: + console_stdout: + class: logging.StreamHandler + level: INFO + formatter: console_stdout + stream: ext://sys.stdout + console_stderr: + class: logging.StreamHandler + level: ERROR + formatter: console_stderr + stream: ext://sys.stderr + prom: + class: logging.handlers.RotatingFileHandler + level: INFO + formatter: prom + filename: /tmp/metric.prom + mode: w + loggers: + prom: + handlers: [prom] + level: INFO + propagate: False + root: + level: INFO + handlers: [console_stdout, console_stderr] +scheduler: + duration: 1 +programs: + - name: bundle_perf_stat + architecture: aarch64 + metrics: + counter: + - name: cpu_cycles + documentation: Cycles processed by CPUs + namespace: perf_stat + labelnames: + - thread + - pid + events: cpu-cycles + - name: bundle_perf_stat + architecture: aarch64 + metrics: + counter: + - name: instructions + documentation: Instructions retired by CPUs + namespace: perf_stat + labelnames: + - thread + - pid + events: instructions + - name: bundle_perf_stat + architecture: aarch64 + metrics: + counter: + - name: l1d_cache + documentation: Level 1 data cache access + namespace: perf_stat + labelnames: + - thread + - pid + events: l1d_cache + - name: bundle_perf_stat + architecture: aarch64 + metrics: + counter: + - name: l1d_cache_refill + documentation: Level 1 data cache refill + namespace: perf_stat + labelnames: + - thread + - pid + events: l1d_cache_refill + - name: bundle_perf_stat + architecture: aarch64 + metrics: + counter: + - name: l2d_cache + documentation: Level 2 data cache access + namespace: perf_stat + labelnames: + - thread + - pid + events: l2d_cache + - name: bundle_perf_stat + architecture: aarch64 + metrics: + counter: + - name: l2d_cache_refill + documentation: Level 2 data cache refill + namespace: perf_stat + labelnames: + - thread + - pid + events: l2d_cache_refill diff --git a/resources/templates/vcl/vcl_iperf3.conf b/resources/templates/vcl/vcl_iperf3.conf index adf6c181bc..74eed51bf4 100644 --- a/resources/templates/vcl/vcl_iperf3.conf +++ b/resources/templates/vcl/vcl_iperf3.conf @@ -3,6 +3,8 @@ vcl { add-segment-size 4000000000 rx-fifo-size 4000000 tx-fifo-size 4000000 + use-mq-eventfd + event-queue-size 500000 app-scope-local app-scope-global |