Live data from Hacker News

Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

maximiliangolla.com

191–200 of 230 posts

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#191

Earlier quoted context omitted.

I've found that most desktop PC-s have idle power usage around 35-50W. That was the main motivation to look for alternative solutions like ASRock Deskmini, or the Dell/HP/Lenovo TinyMiniMicro form factor machines. Mini PC-s tend to have great idle power usage compared to big towers, which is probably down to the selection of the CPU, components on the motherboard and the power supply which usually has to only output…

Europe energy prices :/ Here in Texas it cost maybe $5/month to run a 45 watt little server (pc)…

45W 24/7 would work out at about £10.50/month in the UK right now (~$12.60).

My total household usage averages around 4.5KWh/day so adding that 45W 24/7 server would add about 24% to overall load! It would need to be an important little server to justify the increase.

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#192

Earlier quoted context omitted.

I have a 5 year old home server I'd love to replace as it idles at 40w, while an old laptop that could do the job idles at 12w. What I'd like to do is merge that and my old NAS, so ideally somethig with a few sata slots, m2 ssd, and low idle power. Any recommendations for this?

If you find something with thunderbolt, you can get an external controller in there via thunderbolt->pcie. But between that power draw, and the draw of the drives, you'll be bumping close enough to 40w that it'd be a wash. I do this math myself every few months and ultimately, it seems for a large nas/server, 40-50W is about as low as you can idle.

How large a NAS are you talking? My NAS is two drives in RAID1.

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#193
post #98

If you want to push energy efficiency the Raspberry 2 (old ARM v7 version) is the best device at 1W idle / 2W full load, it saturates the SD card. One step up is Raspberry 4 for heavier workloads/networking at 3W idle / 6W full load, and after that 8-core Atom at 15W idle / 25W full load. As mentioned elsewhere in this thread, 100Mb/s, vs 1Gb/s vs 10Gb/s makes a lot of difference. IMO 1Gb/s is the only reasonable spe…

> 256GB DDR5 uses 80W! WTF?!

If it sounds unbelievable, that's because it isn't remotely true. DDR5 is 13% more efficient than DDR4 and has 4 times the max die density. 256GB broken up into four 64GB sticks would use about 8 watts.

This person make insane claims about power all the time. They claim nothing will surpass old raspberry pis and intel atoms in efficiency, that nothing will surpass 1 gb networking due to power constraints (even though it all has existed for well over a decade) and even claim that certain video games won't be playable in the future from power constraints.

It is best not to think about it too hard.

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#194

Earlier quoted context omitted.

You're right, using a desktop CPU for a mediacenter is not a good idea. Laptop CPUs are, however, really well optimised for very low consumption when idling and that's what you should be using for a mediacenter. Also, IMHO, ASRock Deskmini would not be a good idea for a media center since it's using desktop CPUs. The idle power draw will not be as good as mini pc with a laptop CPU.

Even desktop CPUs, at least Intel ones, sip power when idle (anecdote: my 12700K sips around 7W when idle).

If that's the CPU's own power consumption as measured by the CPU something is broken in your system or you have redefined "idle". When these things hit PC6—all cores off, caches off, iGPU refresh off—they should fall below 1W. This is a typical idle state for a desktop computer that is nominally "on" but nothing is happening.

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#195
post #125

Earlier quoted context omitted.

> I tried seeing if there were estimates of the kg co2 in a modern CPU chip but I found nada Because they are in watts, not kg of CO2.

I think they were looking for the amount of CO2 realesed during the mining, manufacturing and distribution of the CPU chip.

I wonder if that could just be extrapolated from cost to make silicon wafer of required grade. Surely the amount of chemicals and power used would be similar per mm2 of silicon processed, regardless of whether it is big CPU or a bunch of smaller chips.

Sure the machines will be more expensive but they are amortized over decades of production

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#196
post #95

Earlier quoted context omitted.

Or the cost of running water pumps for public fountains

The romans had water fountains and no pumps. Perhaps you underestimate gravity.

Italy is pretty mountain rich - central Europe though?!?

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#197

Smartphones can be connected for days on the internal battery, using well under a watt, and they can be ready to respond instantly, and they have an app container system that makes everything just work. I really think we need to start making Android servers a thing, at least for self hosting, maybe for everything. Judging by how WearOS seems to be able to run on 35mA or less, I think there's a good case for just maki…

Termux works great as a server environment really. The trickiest part is to start phone without old battery and actually have automatic booting after power outage.

I accidently discovered earlier today that the Fairphone 3 works without it's (easily swappable) battery. So maybe other brands still build them like this.

Since we're talking about an Android phone for self hosting, if the phone is glued/the battery is soldered, after rooting it, the Advanced Charging Controller App* may be an option.

* https://f-droid.org/packages/mattecarra.accapp/

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#198

My old laptop is more than powerful enough for Plex and backups, and idles at around 3W. Why someone would use a desktop PC as a home server in Europe is beyond me.

Often because they need more than one disk installed. You could use a NAS, but then you've cost and additional energy consumption.

Some laptops take more than 1 disk especially if they are old enough to have a dvd drive you can remove

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#199
post #66

Earlier 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…

> 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 How is this measured? I spent _years_ doing experiments on the Raspberry Pi 4B and was never able to get it to idle to anything less than 3ish W at the wall, albeit arguably this was not with the "1.5" hardware revision. One day I bought an ASUS PN40, which has an x86 Intel N4000 CPU.... and on the…

So to ultimately validate you can either use pretty pricey USB power meters that not just display the amperage and voltage, but can record that telemetry, which you can also validate further with clamps and multimeters.

There is a ton you can do to drop Pi power consumption into the ground, which largely is turning off all the hardware on the SBC you aren’t using, followed by undervolting (same clocks, just less power to maintain them), and last by using a very lightweight configuration (look at the Diet Pi distribution) to keep CPU and network interface(s) in the lowest possible power state by just running the absolute minimum you need (and lightweight versions at that) to do the job. After that you could further consider underclocking. Disabling cores can get further tiny gains as well.

Then you could consider purely PXE-booting where you only boot from the SD card to then disable it — relying on keeping everything memory-resident — and having permanent storage be available via network storage presented via ISCSI, or block storage. You’d then only turn on the SD card as part of configuration management changes, to turn it back off after the configuration has finished — or just rebuild the image that’s available via the network then reboot the Pi to start using it. You also then can be picky about what SD card you use, by actually tracking the power consumed accessing particular models — yes, there is a measurable difference.

If I went truly “all in” I’m fairly certain I could have usable 2GB Rev. 1.5 4Bs under 1W of power consumption, with 8GB models under 1.2W, though I’ve been focusing my hobbyist time elsewhere. This isn’t even looking at the Pi Zero 2W, or the Pico, which can be dropped to absolutely absurd low levels of power consumption and do some actual useful things.

I really should do some YouTube videos at some point. I’ve a coworker that’s really starting to ramp up his sub count on his homelab shenanigans, and he says what I’m doing relative to the largest homelabbers blows his mind at times.

Re: Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again

#200

Heh, my homeserver uses about that much (4W) in idle ;) 2 SSDs, 8 GB RAM and a passively cooled J4125, more than enough for what I need (2-person household). It also runs Home Assistant, so I can’t let it go to sleep, anyway. I have an extra Pi4 with Proxmox Backup Server, that could actually sleep most of the time as it backups only twice a day. But even with German electricity prices, a Pi4 with a single SSD is not…

Which box did you buy? Sounds like a nice setup (4W, passively cooled, 2 SSD slots).
Post reply on HN