You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add bpf-cupti-event-scale-factor flag for GPU ringbuf sizing (#3197)
Bumps ebpf-profiler to pick up the cupti_events ringbuf sizing knob and the
ringbuf-full drop metric (parca-dev/opentelemetry-ebpf-profiler#309), then:
- wires tracer.Config.CUPTIEventScaleFactor via a new --bpf-cupti-event-scale-factor
flag (power-of-two over the 1 MiB base; default 0 = unchanged), so GPU nodes
running CUDA graph workloads can grow the buffer when they see
cuda.errors.ringbuf_full.
- registers the cuda.errors.ringbuf_full drop metric for export.
VerboseLoggingbool`help:"Enable verbose BPF logging from eBPF code to ebpf trace_pipe."`
408
-
LogTracePipebool`help:"Copy bpf trace_pipe to info logging."`
409
-
EventsBufferSizeuint32`default:"8192" help:"Size in pages of the events buffer."`
410
-
MapScaleFactorint`default:"${default_map_scale_factor}" help:"Scaling factor for eBPF map sizes. Every increase by 1 doubles the map size. Increase if you see eBPF map size errors. Default is ${default_map_scale_factor} corresponding to 4GB of executable address space, max is ${max_map_scale_factor}."`
411
-
VerifierLogLeveluint32`default:"0" help:"Log level of the eBPF verifier output (0,1,2). Default is 0."`
VerboseLoggingbool`help:"Enable verbose BPF logging from eBPF code to ebpf trace_pipe."`
423
+
LogTracePipebool`help:"Copy bpf trace_pipe to info logging."`
424
+
EventsBufferSizeuint32`default:"8192" help:"Size in pages of the events buffer."`
425
+
MapScaleFactorint`default:"${default_map_scale_factor}" help:"Scaling factor for eBPF map sizes. Every increase by 1 doubles the map size. Increase if you see eBPF map size errors. Default is ${default_map_scale_factor} corresponding to 4GB of executable address space, max is ${max_map_scale_factor}."`
426
+
CUPTIEventScaleFactorint`default:"${default_cupti_event_scale_factor}" help:"Power-of-two scale factor over the 1 MiB cupti_events ringbuf base for GPU profiling. Every increase by 1 doubles the buffer. Increase on GPU nodes running CUDA graph workloads that show cuda.errors.ringbuf_full. Default is ${default_cupti_event_scale_factor} (1 MiB), max is ${max_cupti_event_scale_factor}."`
427
+
VerifierLogLeveluint32`default:"0" help:"Log level of the eBPF verifier output (0,1,2). Default is 0."`
0 commit comments