PM Sampling not enabled on RTX 4090

Hi,

I’m using Nsight Compute version 2024.3.2.0 on an Ubuntu system with the following configuration:

  • GPU: NVIDIA GeForce RTX 4090
  • Driver version: 565.57.01
  • CUDA version: 12.7
  • OS: Ubuntu 24.04

When running Nsight Compute, I found that PM Sampling is not enabled.
From the output from ncu --list-sections, most sections are marked as “not enabled”.

I’d like to know:

  1. Is this expected for the RTX 4090?
  2. Are there specific driver, CUDA toolkit, or Nsight Compute configurations required to enable PM Sampling and other sections?

Thank you for your help!

What is enabled depends on your current selection of sets, sections and metrics. If you execute ncu --list-sections, only the sections that are part of the default set are enabled. If you execute ncu --set full --list-sections, you will find all sections that are part of the full set enabled, and so on.

E.g., you could collect you profile with ncu --set detailed --metrics ... --section PmSampling <app>, or ncu --set full <app>.

You can check here for where pm sampling is available.

Thanks a lot! I edited the command to check the full set. Now PmSampling is enabled, but PmSampling_WarpStates is still not. Is this expected on RTX 4090?

Yes. You can check which section is part of which set with ncu --list-sets, or by inspecting the .section file. PmSampling_WarpStates is part of the pmsampling set, but not part of the full set. In fact, there are a few sections for less common use cases that are not part of full. You can also combine individual sections and a set in a single command.

Thank you so much! I followed your suggestions and now I can see PmSampling_WarpStates is enabled.

Really appreciate your help!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.