AutoMerge is generally available

  • 6 min read

GPU Profiling Comes to Dash0

GPU Profiling Comes to Dash0

GPUs are expensive. And, most teams don't know how much of that time is spent on useful work. Utilization dashboards can show that a GPU is busy, but not why it's slow or what's holding it back.

Starting today, Dash0 supports continuous GPU profiling for NVIDIA CUDA workloads. Building on the recent general availability of continuous profiling, we're extending code-level performance visibility from CPUs and memory to GPUs.

GPU profiling runs continuously in production with low overhead, without requiring changes to your application code.

What it is

GPU profiling helps you understand why expensive GPUs sit idle or run slower than they should.

You can see which CUDA kernels run, how long they take, and where instructions are stalling. GPU profiles sit alongside your CPU and memory profiles, traces, logs, and metrics in Dash0, helping you connect GPU performance problems to the application code responsible.

And because profiling runs continuously, you can investigate past performance issues without having to reproduce them in a separate profiling session.

Explore GPU Profiles in Dash0

GPU profiles work like every other profile in Dash0. You can examine them over a selected time range, switch between charts, tables, and flame graphs, and compare profile data over time to spot regressions.

That makes it easy to move from a high-level signal to the code responsible. You can start with a time window where performance changed, then drill into the flame graph to see which functions, kernels, or instructions were involved.

Dash0 profiling view with GPU instructions and GPU kernels profiles in the sidebar, a chart with a selected time range, and the flame graph for that range below

How it works

GPU profiling is built into the open-source Parca Agent, which already powers continuous profiling in Dash0.

Low overhead by design. Traditional GPU profilers provide detailed analysis, but intensive tracing can be impractical to leave running in production. Dash0 uses eBPF and sampling to collect GPU profiling data with low enough overhead to run continuously in production.

No code changes. GPU profiling uses a small shared library loaded into your CUDA process. On Kubernetes, this can be deployed through an init container, so your application images stay the same. GPU nodes may require additional configuration to give the profiler access to NVIDIA hardware.

GPU metrics included. Parca Agent also collects GPU hardware metrics, including utilization, memory usage, power, clock speed, temperature, and PCIe throughput. You can examine these alongside CPU and GPU profiling data to better understand where time is being spent.

GPU Kernels: Find out what's holding your GPU back

A GPU sitting idle is still costing you money.

GPU Kernels helps you understand how much time your GPU spends executing work and which application code is responsible for launching it.

See which CUDA kernels your workload runs, how frequently they execute, and how much execution time they consume. By examining the associated CPU call stacks, you can investigate whether host-side code is holding up GPU work.

You can also compare profiling data over time to identify expensive kernels and catch performance regressions.

Dash0 flame graph for the GPU Kernels profile type, with CUDA kernels such as elementwise and cuDNN convolution kernels above the CPU call stacks that launched them
GPU Kernels flame graph in Dash0, showing kernel activity and associated CPU call stacks.

GPU Instructions: Understand why your GPU is slow

A busy GPU isn't necessarily an efficient GPU.

GPU Instructions lets you drill deeper into kernel execution to identify where instructions are spending time and why they're stalling.

Using CUDA Program Counter (PC) sampling, Dash0 shows sampled instruction activity and stall reasons, such as waiting on memory operations or synchronization.

This helps you identify where to focus optimization efforts instead of guessing what's slowing down your kernels.

Dash0 flame graph for the GPU Instructions profile type, grouped by CUDA stall reason, with the kernels and call stacks under each stall reason
GPU Instructions flame graph in Dash0, grouped by CUDA stall reason.

Investigate GPU bottlenecks with Agent0

You don't have to investigate every GPU performance problem manually.

Agent0 can read GPU profiling data and help identify bottlenecks using natural language. GPU profiles are also accessible to coding agents like Claude Code through Dash0's MCP server, just like other profiling data.

For example, ask Agent0:

“What's slowing down my GPU workloads, and which CUDA kernels should I optimize first?”

In the example below, Agent0 identifies two kernels responsible for approximately 45% of the GPU execution time among the top 25 kernels analyzed. It highlights them as the first optimization candidates, helping you focus on the code most likely to make a difference.

Agent0 answering a question about slow GPU workloads with a table of CUDA kernels ranked by GPU time, alongside their stall samples
Agent0 analyzing GPU profiling data and identifying the CUDA kernels to prioritize for optimization.

What's next

This is the first release, with more capabilities coming soon:

  • GPU memory profiling: See where GPU memory is allocated and which code is responsible.
  • GPU memory and synchronization activity tracking: Find time lost to memory copies and synchronization.
  • NVTX trace integration: Connect your own NVTX annotations to profiling data.

Get started

GPU profiling brings the same always-on visibility already available for CPU performance to NVIDIA CUDA workloads.

Instead of guessing why expensive GPUs are sitting idle or running slowly, you can investigate the code responsible and focus your optimization efforts where they matter most.

GPU profiling setup documentation covers the requirements and configuration steps.

Start your free trial and see where your GPU time goes.