Jump to content
scorcho99

Graphics card idle power usage in unraid server

5 posts in this topic Last Reply

Recommended Posts

I'm curious if anyone else has any numbers on some modern GPUs when used with unraid. I've been testing this out the past couple days with my limited selection of cards. I've found a couple weird things, like my nvidia cards seem to use more power when the VM is shutdown than at the desktop. But my AMD cards seem to be at their lowest when they're unloaded, albeit not by much. Any observations are of interest.

 

I'm testing with a killawatt and using subtraction with different cards swapped in. The idle power is a little noisy on this system but I'm pretty confident in the read +/-1watt

This is with a gold Antec power supply.

 

My GT710 seems to idle at 5watt, although I'm using it as a host card so perhaps it would do better with a driver loaded.

 

My R7 250 DDR3 seems to idle at 6watt

 

My 1060 3GB seems to idle at 14watt which seems high.

 

Has anyone gotten zerocore on AMD to work in a satisfactory way? It didn't seem to make much difference to be versus shutting down the VM. It appears to be broken in newer drivers as well, the fan only shut down when I loaded an old 14.4 driver in Windows 7. There are forum posts indicating it doesn't even work in Windows 10.

Share this post


Link to post

Hi scorcho99,

 

i am facing the exact same issue with my build. I am running a nvidia 1080 for my daily driver and gaming windows 10 vm. I have also loaded the "unraid nvidia" plugin, which provides the nvidia driver so the card can be used in docker containers as well. So I can issue the nvidia-smi command on the unraid cli. So there i can see, that the card alone hast an power draw of about 40-45 watt because they sit at Power State 0 (P0), which is the performance powerstate). So the card alone makes 50% of the hole power consumption of the entire system. When i run my windows vm and i issue the same command in the windows cli i can see that the card is in Power State 8 and draws only 12-14 watt, which is not good but okish with two monitors plugged in.

 

Unfurtunaltely i haven't found a way to bring the nvidia card to power state 8 during idling without running a windows vm. So this is really unsatisfing. So any hints / tipps are really desirable.

 

 

Share this post


Link to post
On 10/11/2019 at 12:15 PM, ph0b0s101 said:

Unfurtunaltely i haven't found a way to bring the nvidia card to power state 8 during idling without running a windows vm. So this is really unsatisfing. So any hints / tipps are really desirable.

 

 

I've found that forcing persistance mode does the trick. Open a terminal and "nvidia-smi -pm 1". Why? Dunno but it works in my 1060

Share this post


Link to post

Hi Octa,

thanks for that tipp. So have you also a Windows VM with GPU passthrough? If yes, did the vm work with this setting active?

Share this post


Link to post

Yes it does. But in order to get the power state 8 once you power off the VM you have to execute the command again.

 

As far as i can tell, the bahaviour is like the win VM sets the graphics card in power state 0 when is shutting down (of course if it wasn't a VM this doesn't matter), and then the host leaves it that way. I don't know if there is a way for QEMU to catch a shutting down machine and automatically set the persistance mode, i haven't researched that far.

Edited by Octa

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.