Code Monkey home page Code Monkey logo

Comments (4)

afzalxo avatar afzalxo commented on May 21, 2024 2

Thanks! I tried a very high sampling rate (calling nvmlDeviceGetPowerUsage without any delay) and the number of samples achieved in 1 second is around 2743, however, I don't think GPU power measurement hardware can have 2.7kHz sampling rate (I am using a Tesla K40m). I think the function returns the last measured power if we try to call it when the power measurement hardware is not ready or has recently returned a measured power from the sensor.
I will try the NVIDIA developer forums for exact sampling rate figures.
Closing this issue.

from gpustat.

Stonesjtu avatar Stonesjtu commented on May 21, 2024

We are now restricting the sampling rate to be lower than 10/sec (interval >= 0.1s), however you may try even higher rate to see what happens.

args.interval = max(0.1, args.interval)

from gpustat.

piotr-dobrogost avatar piotr-dobrogost commented on May 21, 2024

@europa1610
Could you please share a link to the forum post you refer to?

from gpustat.

afzalxo avatar afzalxo commented on May 21, 2024

Hey @piotr-dobrogost I posted my query on the NVIDIA Devtalk forums (NVML Subtopic) here but haven't received a response to my query yet. Here's my post for reference.

from gpustat.

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.