Hi,
the newly introduced PM sampling section shows some metrics like the ones shown here
my question is can I specify extra metrics to show in this section?
When I try to do so using this command:
sudo /opt/nvidia/nsight-compute/2023.3.1/ncu --set full --metrics pmsampling:lts__throughput.avg.pct_of_peak_sustained_elapsed
I get this error:
==ERROR== Only single-pass PM sampling configs are supported, but sampling group sampling_cmdline_1 requires 9 passes.
What is the right way to specify metrics shown in this section from CLI?
Thanks.
veraj
November 24, 2023, 3:29am
2
Hi, @mustafaali
For this specific metric error, we can reproduce. Weā'll check and let you know if there is any update.
What is the right way to specify metrics shown in this section from CLI?
-----You can add āāpage rawā in the CLI to make it print in the output.
Hi @veraj
Thanks! My main objective is to add more metrics to the pm sampling section in the report
veraj
November 24, 2023, 5:03am
4
The metrics can be shown in the report if you collect successfully. You can choose another metric to have a try.
Could you give an example with that? I tried with --metrics pmsampling:lts__throughput.avg.pct_of_peak_sustained_elapsed and it gave the aforementioned error.
Happy Thanksgiving!
veraj
November 24, 2023, 5:23am
6
See below. I input pmsampling:l1tex__data_pipe_lsu_wavefronts.avg, and I get result in āDetailsā page.
interesting, thanks.
how can i get a list of available pmsampling:* metrics through CLI?
veraj
November 24, 2023, 7:19am
8
Sorry. I am afraid this is not supported in CLI now. You can find related metrics in PmSampling.section file.
So can I get the pm sampling view of any metric other than the once mentioned in PmSampling.section?
veraj
November 24, 2023, 8:00am
10
Hi, @mustafaali
Our devs are working on providing a command to query pmsampling related metrics. Will let you know if it is ready.
2 Likes
Helloļ¼@veraj May I ask can Tesla T4 support PM samplingļ¼ And which GPU verison can support PM sampling?
veraj
December 5, 2023, 2:38am
15
Yes. Tesla T4 supports PM sampling. PM sampling is supported since Turing generation.
1 Like
Thanks for your reply. @veraj
But I canāt get PM sampling in details page. (Nisght compute GUI). Could you please give me a example of correct cmd?
My cmd is :
sudo ~/nsight-compute-2020.2.0/nv-nsight-cu-cli -o mnist -f --csv --set full ./b.out
HW & SW version info:
GPU: Tesla T4
CUDA: 11.1
Nsight compute GUI: 2023.2.1
veraj
December 5, 2023, 7:35am
17
From the CLI, seems you are using 2020.2.0, but you also say GUI is 2023.2.1.
Please note PMSampling is supported since NCU 2023.3
Please get latest package to check.
1 Like
Thanks a lotļ¼@veraj I have another question.
The minimum sampling interval of PC sampling is 32 cycles. But in the source code details, each line of assembly code has a corresponding warp state. How is this done? Theoretically, HMAA execution only lasts 2 cycles.
veraj
December 6, 2023, 5:48am
19
1 Like
veraj
Closed
January 19, 2024, 7:24am
20
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.