I’m in the process of getting my Home Assistant environment up and running, and decided to run a test: it turns out that my gaming PC (custom 5800X3D/7900XTX build) uses more power just sitting idle, than both of my storage freezers combined.
Background: In addition to some other things, I bought two “Eightree” brand Zigbee-compatible plugs to see how they fare. One is monitoring the power usage of both freezers on a power strip (don’t worry, it’s a heavy duty strip meant for this), and the other is measuring the usage of my entire desktop setup (including monitors and the HA server itself, a Lenovo M710q).
After monitoring these for a couple days, I decided that I will shut off my PC unless I’m actively using it. It’s not a server, but it does have WOL capability, so if I absolutely need to get into it remotely, it won’t be an issue.
Pretty fascinating stuff, and now my wife is completely on board as well; she wants to put a plug on her iMac to see what it draws, as she uses it to hold her cross-stitch files and other things.
100W while idling seems like way too much?
Edit: maybe not, they list 75W for whole system idle here with 5800X3D.
Yeah, man, getting into Home Assistant and messing with energy monitoring did more than thousands of chastising TV segments to get me to fully shut down my computers.
Who gives a crap about gaming use power consumption, give me idle benchmarks, you cowards. Do you even know how kWh work?
Plus PC that’s idling is just adding an attack surface IMHO
This tinfoil getting hella tight lately 🥲
How, if it’s not exposed to the internet? Burglars?
Do you really trust your consumer grade router and firewall on the desktop?
Against random internet noise? Yes, absolutely
What about something more spooky?
Most ISP routers have sane default settings and block all incoming traffic, you don’t even reach their log in interface. If they are somewhat updated you’ll be fine in most cases.
OK but what if you have a lava lamp that is synced to the moods of a sarcastic and greedy AI?
Security is about to get really weird. It used to be the Internet of Things we had to worry about, but now we have Things in Internet.
wtf is that 😄
But I agree, random hardware in your LAN is more of a security threat than anything coming from outside in many cases.
Yeah. I got a pro managing it.
You got a pro managing it?
\sigh
Is your gaming PC air gapped from the internet??
No. What kind of attack are you afraid of by idling a computer connected to your ISP router?
Any program on your PC that maintains or frequently initiates outbound connections, other machines on your LAN spreading an infection, literally any Trojan, etc. Double that if you haven’t disabled UPnP on your ISP router which is probably on by default.
If you are afraid of your PC infecting itself by background outbound connections, you should not turn it on at all. Running 24h vs 6h a day barely makes a difference in this regard - yes, there are fewer “random internet noise attacks” in less hours, but if your LAN is that dangerous, the computer should not be on for 5 minutes. Either you trust your LAN enough to have a computer running, or not.
Double that if you haven’t disabled UPnP on your ISP router which is probably on by default.
Talking about the sane defaults I mentioned earlier - my router has it off as a default. But if it wasn’t, my approach wouldn’t be to turn devices off¹ but change the router setting.
¹ I actually do turn off/plane mode all my non-server devices when I’m not using them but not for that reason.
You’re totally right, not turning it on at all would be safer. But we do need to use them so it makes sense to turn it on while in use. Security is only good up to the point of it making your machine unusable. Most of the attacks you see on running computers by happens overnight anyway, or otherwise when your machine is sitting idle not in use. Plus it gives you the opportunity to witness odd behavior if it were to happen while you’re using it.
And no, you should never trust your LAN in the year of our lord 2025. We are well beyond that in the cybersecurity landscape and have been for 10+ years. Zero Trust is the name of the game. If a device is on, and connected to the internet, it’s a target, as are any other devices on that network. Pretend that is not the case at
Cool!
Just be cautious that you don’t over-optimize for power. I ran around my house w/ a Kill-a-watt meter checking everything and made some tweaks, and I still don’t think it has paid for itself since power costs are so low here ($0.12-0.13/kWh, so 10Wh 24/7 < $1/month), and some of the things I tried doing made my life kinda suck. So I backed off a bit and found a good middleground where I got 80% of the benefit w/o any real compromises.
For example, here’s what I ended up with:
- put desktop to sleep - power draw is negligible, and I don’t need to keep typing my FDE password to use it
- “upgraded” NAS from old 2009 HW to my old gaming PC HW (1st gen Ryzen) - cut power draw in half, but I had to buy some RAM; will take years to pay off w/ electricity savings, but it has much better performance in the meantime
- turn off work laptop - was drawing ~20W; I WFH MThF, so I leave it on Th night for convenience, but have it sleep M-W and turn it off Friday
I could probably cut a bit more if I really try, but that would be annoying.
Yeah, my power bill is pretty reasonable already, considering my large family plus all the electronics I run. I just like seeing what everything is doing as a matter of curiosity.
Oh yeah, as a hobby, it’s absolutely fun. I like tinkering with all kinds of things.
My point was to just be careful since it’s not necessarily going to be worth the expense and time.
I’ve been considering getting a breaker-level power monitor to watch for spikes. It’s a bit more expensive (hundreds of dollars), but it measures the types of things I’m interested in. My kid flipped on our gutter heaters (I never use them) and shot our electricity bill to the moon for a couple months until I noticed. If I had a home energy monitor, I would’ve noticed a crazy energy spike and that might have paid for itself.
Yeah, I never expect a financial ROI for hobbies; the ROI for that is nothing more than my own enjoyment.
I had a similar revelation. Home assistant has a WOL component, so you can set that up for easy starts. I’ve had mixed success with mechanisms to get HA to sleep the computer, though.
Ideally I want the machine to be sleeping I’d I’m not using it.
I use Kasm for remote access, I believe that has a WOL component as well. I haven’t set it up as such, but I plan to later on.
If you get a reliable way to sleep a windows machine via MQTT (not sure if that’s a route you’d take) but I’d be super interested in hearing about it.
I use HASS.agent to help manage my Windows desktop and expose various sensors to HA. It can suspend or hibernate the system. It does use MQTT as its connectivity plane.
Oh nice, I’ll give that a shot. I was using IOTlink but the service wasn’t reliable on my machine and needed to be restarted constantly…
I’ll give HASS.agent a shot! Thanks
Couple of thoughts:
-
That smart plug may not be rated to the max wattage when GPU and CPU are at full blast. Be careful, because that could be an expensive mistake. Place a surge protector between the smart plug and the PC to be safe. Also run the PC full tilt for a while and make sure the smart plug doesnt get warm. If it does, fores have been known to start from those.
-
Sounds like you know this with WoL, but suspend is your friend 😉 If the gaming PC is linux and you run into suspend issues, let me know, I’ve seen 'em all.
The plugs are rated for 1800W each. Should be fine. I hit 670W a bit earlier, running Furmark VK and Cinebench R23 multi-core simultaneously for shits and giggles.
Oh nice. Do you have a link to the plugs you chose? I got some 20amp ZigBees from Aliexpress for $3 each, work great, but I wouldn’t trust them to handle their rating.
how do you deal with kb+trackpad not working after wake?
Depends on the driver. Usually for finicky ones you can do an rmmod at suspend and a modprobe on resume. What distro, and are you using the default suspend mechanism?
yes, i’m on ubuntu, using all the default drivers.
and i would guess its finnicky because its an old laptop.
is it a matter of scripting rmmod and modprobe to run on suspend/wake?
There are a couple of ways:
- Formally add a system entry to run at suspend/resume (like how nvidia does in their driver package)
Or
- Write a script that rmmods, suspends, sleeps, modprobes, and map it to Cntrl-Alt-Shift-S
I usually do 2 because I like the hotkey method for desktops, and it keeps things the same for both. Also allows me to close a lid on a laptop and leave it on. But 1 is more “formal”.
Happy to share some scripts if you’d like, on my phone now, though.
how do i do 1? having timeout to suspend and lid close to suspend would be great. and id like to see some example scripts!
i had pretty much given up on standby with this one.
Will grab some when I back, but assuming you are using
systemd
, it’s easy if you follow this old but good method: https://blog.christophersmart.com/2016/05/11/running-scripts-before-and-after-suspend-with-systemd/If that doesn’t work out of the box, it’s likely because you’re hitting S1 instead of S3, but give that test script a shot and let me know how it goes!
what kind of driver could the keyboard be using? lsmod shows nothing beyond the HID driver, but thats baing used by the external mouse which works normally after sleep.
lshw shows it going by /dev/input/event6 or something like it?
i will test that out later today, thanks!
Questionable approach since a cheap ‘surge protector’ could very well start a fire
Place a surge protector between the smart plug and the PC to be safe.
What benefit does this serve in this situation?
Fail safe. It’ll trip the power before it hits the wall and burns the house potentially limiting a fire or containing whatever did happen.
Ok, just be sure it has an integrated circuit breaker otherwise its just…a surge protector. You’ll also need to identify what load it triggers at. For example, I use these on my gear https://tripplite.eaton.com/isobar-4-outlet-surge-protector-6-ft-cord-3300-joules-diagnostic-leds~ISOBAR4ULTRA and they’re rated to 12A which should protect a 15A rated smart plug. I put rated in italics because errrryone is buying CE (instead of UL listed) smart plugs.
I’m not OP or the right person. Wrong recipient lol. But info was noted for my own use.
-
Chest freezers are exceptionally energy efficient. It’s not a very good comparison.
Ah, but only one is a chest freezer 😉
That, and I used to have a freezer that was a power suck.
If it gets the wife approval you know you are on to something
It will help some, and will also help temps, but AMD hardware does well with undervolting, especially the 5800X3D. I undervolt mine, and read the consensus that - 30 across all cores should be achievable for anyone, unless they’re really, really unlucky. My 6800 XT I also only run @ 92% Voltage, and it runs cooler and faster now, too.
Definitely gonna check that out.
The CPU was done in BIOS on an ASUS x570. For me it was under AI Tweaker > Precision Boost Override > Curve Optimizer.
The GPU was done in the driver software on Windows. Or LACT if on Linux.
If I’m reading that correctly, that shows the system is drawing around 100W just sitting idle.
Something is not right there.
Either the power meter is way out of calibration, or there is a configuration issue with your PC. Maybe you have a performance setting that is causing the CPU and GPU to not idle down ever? Or a rogue antivirus software that is cranking the CPU constantly?
Are there any spinning disk hard drives in your PC? They can sometimes use around 5W each on idle. That was the biggest cause of idle power consumption on my old xeon server, with 8 HDDs.
PSU choice can also affect it. Eg, if you buy into marketing and buy a monster 850W PSU, but it’s idle all the time and only uses 450W under load, then the PSU is spending the whole time outside it’s efficiency curve, and can end up causing more power draw than expected.
That’s nothing; my Ryzen 7000 machine uses 150w at idle. Modern high-end desktops draw a lot of power.
It’s ~90W at idle; the plug is monitoring everything at my desk. No spinning rust, all solid state. Settings for CPU and GPU are all default at the moment. It does have an 850W PSU, but I’ve had it pulling over 700W at one point (dimming my bedroom lights), so that’s somewhat justified 😅
I’ll dig into settings later, but for now I’m good just turning it off unless I’m using it.
(dimming my bedroom lights)
Thats terrifying. Your desk outlet should not share a circuit with your bedroom lighting circuit, that makes no sense (unless you’re talking about a desk lamp).
And regardless, if a 700W load can make your lights dim, then there’s a major wiring issue in your house. Don’t plug in an electric cooker, kettle, or space heater until you get that checked out.
The bedrooms, including my entire master bedroom suite, each have one 15A circuit. No more. That’s how most duplex townhouses are. The lights are currently those damn CFL lights, so they aren’t exactly difficult to dim - CFLs almost do it on their own when they’re close to dying (which these ones are).
That, and it’s a rental house.
Does it clock down when idle?
No idea. I would imagine it does, but that’s something I’ll need to check.
You can also test if multiple monitors is having an effect.
Using sleep mode is a good idea anyways, regardless of idle draw.
What unhealthy eating habit are you indulging in at 21:45?
Current spike from both freezers starting up
My desktop PC idles quite high as well. The semi high-end consumer motherboards on the AMD side tend to use a lot of power at idle, so I think that’s a big part of it (at least the x570 series, can’t speak for later). And as others have said, high refresh rate and multiple monitors can make things worse.
I’ll add though that people’s perception of how much power there system is using can be skewed by software based monitoring tools. People may think there system is using only 50W because that’s what software reports but it’s actually drawing a 100W at the wall.
I’m eyeballing HWINFO64 right now, it’s saying my GPU is idling at ~28W and the CPU is idling at ~36W. Add a couple watts for the fans, various peripherals, and waste heat; it’s close to what I saw earlier.
The dual 1080p monitors eat up about 30W apiece on their own, when powered and actively displaying something. Barely a watt or two each when in standby mode.
36 Watts idle sounds like a lot for a 5800X3D. I’ll see what my 5700X3D does, never checked that. Not in software and not at the wall.
My X670E system also uses a shitload of power. Literally 150w at idle, no matter what I do. Tried disabling every unnecessary feature in the BIOS and enabling all the energy efficient settings I can find, to no avail. Drives me nuts.
I recently bought a Mac Mini because music production on Linux had me fighting my tools more than using them. My Linux box is a 7800x3d/7800xtx. The Mini idles at 4w, while the 78000xtx alone idles closer to 50w. I use the mini for everything non-gaming now.
Have you considered putting your gaming pc in one of the storage freezers? /s
Perfect, I don’t need to run the fans anymore!
Seriously though - we have 5 kids, and feeding the little shits is expensive, so we freeze a lot of things for storage. I thought for certain the freezers would be power hogs compared to an idling PC, but I was very surprised to be proven wrong.
Next up… Measuring my server cluster 😬
Measuring my server cluster
Personally, I just don’t ask questions I don’t want the answer to.
Lat I checked, it was 40w idle for me on the kill-o-watt. Spinny rust and all!
Last.
I know they’re gonna be a power suck lol. Three mini PCs, a SFF PC, 4-bay hard drive docking station, 8-port switch, and a RPi0w… Hoping for a max of 200W, but I suppose we’ll see what happens 🫤
You might need to lower your expectations
FYI - the cluster is pulling 115-140 watts.
- 1x Mac mini 2014, running OMV as a dedicated NAS (i5-4308U, 16GB RAM)
- 4-bay Sabrent DS-SC4B, attached to Mac mini (3x 4TB WD Reds in RAID5, 1x 4TB WD Black as hot spare)
- 1x 8TB WD backup drive (it’s something)
- 2x HP Elitedesk 800 G3 mini (or G4, don’t remember), both running Proxmox (i7-7700T, 32GB RAM each)
- 1x Dell Optiplex 7050 SFF running Proxmox (i7-7700, 32GB RAM)
All running multiple VMs (Docker and other) and LXC containers.
I’m impressed, honestly. I was expecting 200+ watts minimum. It’ll be interesting to see the spikes as it’s used over time. I am going to move the HA server (Lenovo M710q running HAOS on a Pentium G4560T & 4GB RAM) down to the cluster soon, as it’s sitting on my desk at the moment…
I’m surprised! Seems like it should be more, but I haven’t done any wattage calculations in a while, so maybe power efficiency really has gotten that much better.
Do you know if the drives were spun up or down at the time? I know idle vs. active makes a difference, but if they were spun down entirely, that’s kind of cheating.
I see your 4-bay docking station and raise my 20-bay storage server. I even stopped counting how much the hardware costs for it :p
Speak for yourself…
Super, go on dear…
Have you considered putting your children in one of the storage freezers? /s
This game a serious chuckle… BC I deff considered it. Or keeping the box on balcony in the winter to get few more fps back in the day
A fridge can create a fairly low overall temp, but with something like a PC generating a ton of heat inside, it can’t keep up. The fridge just can’t move the heat fast enough and becomes an insulated box trapping the heat instead.
Do you have a link to the plugs? I want to try the same
Sure!
https://www.amazon.com/dp/B0DQTFM1T6
Just plug it in, hold the button to put it into pairing mode, then launch your zigbee discovery method. No app, no wifi, no bluetooth. Just pure local control.