Giter Club home page Giter Club logo

Comments (7)

nikkon-dev avatar nikkon-dev commented on August 16, 2024

@FindHao,

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.

FindHao avatar FindHao commented on August 16, 2024

@FindHao,

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.

nikkon-dev avatar nikkon-dev commented on August 16, 2024

@FindHao,

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.

FindHao avatar FindHao commented on August 16, 2024

@FindHao,

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.

FindHao avatar FindHao commented on August 16, 2024

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.

nikkon-dev avatar nikkon-dev commented on August 16, 2024

@FindHao,

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.

FindHao avatar FindHao commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.