Skip to content

Energy consumption for GPU does not seem to be in microJoules? #23

@johannabar

Description

@johannabar

Hi, thanks for building this library!

I see in the docs and from the issue #6 that the energy consumption is supposed to be in uJ (1e-6J), but this doesn't seem to match for the GPU output. It seems that I am getting the output in mJ (1e-3J) instead.

With an NVidia Titan RTX machine that consumes 16Watt when idle and 280Watt when fully active, we should use for 60seconds respectively 16*60=960 Joules (idle) and 280*60=16,800 Joules (active). But PyJoules is measuring 952,494 uJ = 0.95 Joules (idle) and 16,522,288 uJ = 16.52 Joules (active).

Could you confirm the metrics used for nvidia_gpu outputs?

Thanks in advance,
Johanna

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions