Live data from Hacker News

Making a Linux home server sleep on idle and wake on demand (2023)

dgross.ca

41–50 of 115 posts

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#41

This sounds very similar to Apple’s DNS-SD Sleep Proxy Services.

Indeed. Frankly, that would be a nice standardized solution to your machine register itself on a Bonjour Sleep Proxy and can be cheaper than Pi with a used AppleTV off of eBay.

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#42
post #34

Earlier quoted context omitted.

Only put the RAM you need in the box, use peripherals with working ASPM, attach them to the northbridge PCI ports instead of the CPU's root ports, use wireless instead of wired networking, and don't attach a display.

I do basically all of that, CPU idles around 5% but still consumes over 100W. (Minus the Wireless part) (5800X + 64GB) I can enable Eco Mode in the BIOS, which will bring down the CPU to about 65W max although its still at about 100W total system.

Whatever software you are using is totally, utterly broken. Not sure what else I can tell you. Even a completely decked out Ryzen AI Max Pro 395 idles at 5W in Windows S0 (see: https://h20195.www2.hp.com/v2/getpdf.aspx/c09133726.pdf)

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#43
post #6
post #3

That's what I was thinking too. My home server consumes like 15 W and is silent. If you get a rack mounted server made for data centers and stick it in a closet so you can't hear it then yes, i guess this approach makes sense.

I use a Mac Mini. When nothing it up, it draws like 7W!

How do you accurately measure how much current a PC is drawing at any given time? Do you have some kind of measurement device inline with the power cord?

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#44
post #12

All this complexity to save a few bucks per year on your electricity bill? This is ridiculous, the Pi costs far more than what you can be expected to save.

> a few bucks per year

Crunched the numbers for mine - about 150 bucks a year in potential savings.

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#45
This reminds me of this old plugin for Windows Home Server: https://www.green-it-software.com/products/lights-out-for-wh...

You could set a calendar schedule for waking up itself and backing up the clients, and at night the server would go into standby only if no clients were running anymore since X minutes.

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#46
post #12

All this complexity to save a few bucks per year on your electricity bill? This is ridiculous, the Pi costs far more than what you can be expected to save.

Not sure where you are but energy bills are sky rocketing in the US.

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#47
post #6

Earlier quoted context omitted.

I use a Mac Mini. When nothing it up, it draws like 7W!

How do you accurately measure how much current a PC is drawing at any given time? Do you have some kind of measurement device inline with the power cord?

You can use "smart" plug such as the Sonoff S31 (flash ESPHome to make it cloud-free).

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#48
post #9

Earlier quoted context omitted.

Seriously. You can get running states around 1W these days.

Are you talking about processor's C-states? My old 6th gen i3 stays most of the time idling around C8, averaging 5w, really impressive, I suppose newer gens will be even more efficient

C8 is a good state if you can get it. Intel is really good at this. They don't even bother energizing the L3 caches immediately when exiting deep package C-states. But there are lots of conditions that will inhibit C8, notably an Ethernet link on a NIC capable of PTP. This is why wireless is better.

Re: Making a Linux home server sleep on idle and wake on demand (2023)

#50
post #29

any half decent router will allow you to create static arp entries for another host no need for a standin

Yep, here is the page for it on FreshTomato (the firmware the author switched to): https://wiki.freshtomato.org/doku.php/basic-static#static_ar...
Post reply on HN