Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to control "GPU Performance Counter" #348

Open
cmd-ntrf opened this issue Apr 11, 2024 · 2 comments
Open

Add option to control "GPU Performance Counter" #348

cmd-ntrf opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cmd-ntrf
Copy link
Member

cmd-ntrf commented Apr 11, 2024

Commands required to enable NVIDIA gpu performance counter for all user

echo "options nvidia NVreg_RestrictProfilingToAdminUsers=0" > /etc/modprobe.d/nvidia.conf
systemctl stop nvidia-dcgm
nvidia-smi --lock-gpu-clocks=tdp,tdp
@cmd-ntrf cmd-ntrf added the enhancement New feature or request label Apr 11, 2024
@cmd-ntrf cmd-ntrf self-assigned this Apr 11, 2024
@mboisson
Copy link
Member

systemctl stop nvidia-dcgm may not be required if the other two are done. Testing further currently.

@mboisson
Copy link
Member

mboisson commented Apr 11, 2024

Confirming that systemctl stop nvidia-dcgm is not required at least with the recent version of ncu-ui

It may still be a good idea to allow to disable it for older versions of the profilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants