﻿# Choose profiler sections from a concrete kernel question

Discover target-supported section and metric identities, including suffix semantics, before selecting a minimal kernel profile.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-perf-nsight-section/
Language: en

A profiler command copied from another machine requests an unavailable metric and collects an unexpectedly broad report. Nsight Compute sections and metrics depend on the installed tool and target architecture. Discover the local collection contract before treating an unsupported name as a GPU defect or collecting every counter to answer a narrow kernel question.

## State the concrete question

Choose the uncertainty the profile must resolve: launch coverage, memory transactions, instruction activity or another defined mechanism. Identify the kernel instance and workload. A full report is not automatically better evidence if it adds replay passes and unrelated observations. Record what result would support or reject the hypothesis before choosing the collection set.

## Discover sections locally

The CLI provides section and set discovery for its active search folders. A section identifier is not necessarily its human-readable title or a filename copied from another release. Preserve the installed tool, section sources and selected identifiers. Custom section folders can change the effective collection without any change to the application or GPU.

## Query full metric identity

The documented metric query supports base names and valid suffixes, with device or chip selection. Aggregation, rate and normalization suffixes are part of the metric's meaning. A matching base name alone does not establish that two reported values have the same unit or denominator. Query the intended target rather than assuming a command valid on one architecture transfers unchanged.

## Review section alternatives

The customization guide permits architecture-filtered metric alternatives inside sections. That mechanism helps adapt collection but does not make every manually substituted metric semantically equivalent. Read the selected alternative and unit. Preserve missing or unsupported data as such rather than replacing it with a conveniently named counter and retaining the old conclusion.

## Validate a minimal report

On a harmless representative kernel, collect only the justified section or metric set and verify identity, units, availability and workload selection in the resulting report. Expand collection when the first result leaves a defined uncertainty. Acceptance establishes a usable observation contract. It does not prove a bottleneck, guarantee cross-architecture numerical comparability or justify broader privileges solely because one requested event was unavailable.

## Primary references

[Nsight Compute Command-line Interface](https://docs.nvidia.com/nsight-compute/NsightComputeCli/index.html).

[Nsight Compute Section and Metric Configuration](https://docs.nvidia.com/nsight-compute/CustomizationGuide/index.html).

[Nsight Compute Profiling Guide](https://docs.nvidia.com/nsight-compute/ProfilingGuide/index.html).

Related reading: [GPU profiling: sampling and instrumentation observe different events](/journal/learn-gpu-profiler-sampling-instrumentation/); [Reproducible inference stacks: preserving a GPU pilot’s result](/journal/software-stack-reproducibility/).
