Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
71–80 of 230 posts
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#72Earlier quoted context omitted.
Ok, the implementation wasn’t very fantastic cost wise. However I still think this could be a big area of improvement. How can we reduce energy usage of servers? There’s a lot of work with ARM lately, I’m curious if that could be used in server workloads like this.
The most effective way is to be able to dynamically distribute load across a large array of servers, turning some off at times of lower load. Anyone who runs a large datacenter probably already does this or something equivalent, either to save money or to service more customers with the same amount of hardware. It's more effective to optimize the hardware architecture, but it's worth noting that improvements in effic…
Possibly, but few cloud providers actually do live migration[0] since it's risky to pause a VM for typically less than 1 second, but up to 5 seconds.
0: https://cloud.google.com/compute/docs/instances/live-migrati...
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#73>Why isn't this build into every major operating system by now? Because no desktop OS besides MacOS can handle Sleep with any semblance of competency. >Why isn't this the default See above.
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#74Earlier quoted context omitted.
Reverse proxy on the Pi? If a request comes in for the server and x minutes have elapsed since last activity/WoL, send a new WoL. I'm a little out of my wheelhouse though. Maybe that would only work for HTTP which will not cover Time Machine? Does Time Machine run on a schedule? Add a cron job (whatever the Mac equivalent is) to send a WoL ~1min beforehand?
Reverse proxy means that your pi now has to handle all the traffic for Plex and any other services. It could also make other things difficult like CIFS/whatever else you're hosting. Depending on what Pi you're using, it's networking is over USB, and so is quite performance constrained.
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#75>Why isn't this build into every major operating system by now? Because no desktop OS besides MacOS can handle Sleep with any semblance of competency. >Why isn't this the default See above.
The Chromebook I'm using right now handles sleep perfectly, and always has.
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#76Earlier quoted context omitted.
The most effective way is to be able to dynamically distribute load across a large array of servers, turning some off at times of lower load. Anyone who runs a large datacenter probably already does this or something equivalent, either to save money or to service more customers with the same amount of hardware. It's more effective to optimize the hardware architecture, but it's worth noting that improvements in effic…
> Anyone who runs a large datacenter probably already does this or something equivalent, either to save money or to service more customers with the same amount of hardware. Possibly, but few cloud providers actually do live migration[0] since it's risky to pause a VM for typically less than 1 second, but up to 5 seconds. 0: https://cloud.google.com/compute/docs/instances/live-migrati...
VPS providers are already overprovisioned anyway, so they have less idle hardware to begin with.
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#77This is something I've been thinking about for some time as I'm working on re-building my homelab for a more powerful system with more storage. On of the big things I'm trying to find out is if there is a good way of truly shutting off hard drives when not in use or if the hit to longevity of the drives would be too much.
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#78Earlier quoted context omitted.
Indeed, modern hardware is getting ridiculously efficient, and if you go the extra mile to disable hardware you don't use, as well as strip your configuration to run only the software you absolutely need, you can really drive it into the ground. The later hardware revisions (such as 1.5) of the Raspberry Pi 4B, even with 8GB of memory, can idle at ~1.33W on WiFi with everything unnecessary disabled -- 2GB versions ar…
> For those who go, "but I need real power" I think those usually also want real storage space, NVMe either can’t offer that, or it would make the build so expensive, electricity stops mattering. And in those cases, 4-12 24 TB HDDs will out-consume your other hardware anyway ;)
/usr/sbin/hdparm -S 120 /dev/sdb
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#79More details: https://en.wikipedia.org/wiki/Bonjour_Sleep_Proxy
Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
#80>Why isn't this build into every major operating system by now? Because no desktop OS besides MacOS can handle Sleep with any semblance of competency. >Why isn't this the default See above.
My usual comment: out of windows, macos and Linux only the Linux on laptop and on steamdeck can sleep and wake up reliably without draining all the battery for me. I know others have a different experience, but I'd just go with "none of the systems handle it reliably" if we're generalising.