Comments (7)
If you are using DCP metrics (1001,1002...) then it's impossible to collect metrics at the same time other profiling tools are enabled. DCGM is able to temporarily pause and resume the DCP metrics collection via dcgmi profile pause/resume
command to help is such situations.
Profiling and DCGM both lock the same primitive in the driver, so that does not depend on which GPU you run profiling or the DCGM - it's a system-wide lock.
from dcgm.
If you are using DCP metrics (1001,1002...) then it's impossible to collect metrics at the same time other profiling tools are enabled. DCGM is able to temporarily pause and resume the DCP metrics collection via
dcgmi profile pause/resume
command to help is such situations. Profiling and DCGM both lock the same primitive in the driver, so that does not depend on which GPU you run profiling or the DCGM - it's a system-wide lock.
I see. Thanks for your explanation.
But if someone uses only one GPUs on the 8 GPUs cluster, other users can't profile other GPUs at the same time. It's not a smart policy I think. Do you have any suggestions?
from dcgm.
Unfortunately, for pre-Hopper GPUs, there are few options to mitigate this. You could use virtualization with GPU-passthrough to avoid the lock (each VM would use its driver). Starting from H100, we introduced new hardware counters that allow monitoring and profiling simultaneously without competing for resources.
from dcgm.
Unfortunately, for pre-Hopper GPUs, there are few options to mitigate this. You could use virtualization with GPU-passthrough to avoid the lock (each VM would use its driver). Starting from H100, we introduced new hardware counters that allow monitoring and profiling simultaneously without competing for resources.
Interesting! Glad to know H100 will solve this issue!
Thanks for your reply.
from dcgm.
I'd like to reopen this issue since I tested some new cases.
I tried to run a dcgmi command on a 8xA100 server. Someone else is using GPU0 with dcgm client. But when I run dcgmi dmon -e 1007 -i 5
, the error is the same with the previous discussion. the third-party profiling module returned an unrecoverable error
.
But the field id 155 works well. 155 is the field id for power usage and 1007 is the field id for FP32 active.
Does that means if one client use profile field ids others will can't run dcgm clients with profile field ids?
from dcgm.
Which DCGM version are you using? Multiple dcgm dmon clients for DCP fields (1001...1014) were implemented sometime before version 2.1.0. An exception - there should be only one nv-hostengine process in the system, including embedded engines.
For such an error, we need to see the debug logs from the nv-hostengine to understand the reason. There are several subsystems involved. The fields other than 1001...1014 do not use profiling facilities to get values and thus are unaffected.
from dcgm.
I'm using 2.4.6.
I'll try to get the debug log from the server admin. Thanks for your explanations!
from dcgm.
Related Issues (20)
- Error setting watches. Result: The third-party Profiling module returned an unrecoverable error HOT 4
- DCGM_FI_PROF_SM_ACTIVE is showing a value higher than 100% for MIG devices HOT 5
- AppArmor profile for DCGM HOT 3
- dcgm-exporter crashes hostengine. HOT 21
- How to get SM Occupancy in real-time except dcgm in RTX Series? HOT 1
- `power_usage` vs. `power_usage_instant`? HOT 1
- dcgm dagnostic command exits with status 226 HOT 1
- log spam of [[NvSwitch]] Not attached to NvSwitches. Aborting in cuda-dcgm-3.1.3.1 via Bright Cluster, RHEL 8 HOT 8
- Build output does not include libnvperf_dcgm_host.so HOT 13
- Removal of dependencies on cuda v10 HOT 7
- a question about dcgm policy listening for xid HOT 2
- Memory usage by dcgm during runtime diagnostics HOT 2
- Metrics around capturing gpu FLOPS HOT 4
- Facing error in running sdk_sample DCGMReader.py HOT 2
- Facing unknown docker flag --compress while using build.sh
- Running diagnostics causes the Memory Usage of the other GPUs to increase
- Error setting up dcgm with startHostEngine mode from a golang based container HOT 1
- [Question] Understanding multiplexing of profiling counters HOT 2
- [Question] Amount of lag expected for metrics HOT 2
- Incorrect values reported by dcgm stats HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcgm.