Live data from Hacker News

Making a Linux home server sleep on idle and wake on demand – the simple way

dgross.ca

11–20 of 244 posts

Re: Making a Linux home server sleep on idle and wake on demand – the simple way

#11
post #3

Another option, if your needs are relatively modest, is to choose a low power mini PC. The one I chose idles at around 5W under Linux before any tweaking. It is based on the Intel N5105. I have a few 2.5” external HDDs attached for backup which are configured to sleep after a short time.

Another option is to use a smartphone with damaged screen, USB Ethernet card and an external USB drive.

This was always attractive to me, how are you running a linux host on the phone or are you just using native android hosted services?

Re: Making a Linux home server sleep on idle and wake on demand – the simple way

#13
post #3

Another option, if your needs are relatively modest, is to choose a low power mini PC. The one I chose idles at around 5W under Linux before any tweaking. It is based on the Intel N5105. I have a few 2.5” external HDDs attached for backup which are configured to sleep after a short time.

Another option is to use a smartphone with damaged screen, USB Ethernet card and an external USB drive.

I think you'll be disappointed by the kernel support, especially if you want to run docker containers or anything like that.

Re: Making a Linux home server sleep on idle and wake on demand – the simple way

#15

Saying Windows has had it since Windows 98 and then, acknowledging that the issue is wake-on-demand is a bit confusing to say the least. Obviously Linux can sleep easily since decades ago. The issue is wake on demand (and I don't know if Windows has that even) Edit: I don't why everyone's having issues. I run Fedora on a cheap Gigabyte G5KD and never had any problems. Never did with either of my thinkpads or my Xiaom…

> Obviously Linux can sleep easily since decades ago.

Yeah right. Suspend and resume is still buggy as hell. Power management in general in Linux is still awful after all these years.

Re: Making a Linux home server sleep on idle and wake on demand – the simple way

#16
Diagrams are just visible enough that I can tell that they're present but I cannot otherwise see them. I suppose that's because I'm using a dark theme on Firefox.

Not that it matters. There's enough text to figure out what's going on in the first place and it would not help me much in any case.

I have a file server running of an ancient server motherboard from another age. (Supermicro X8SIL w/X3460 and 16GB ECC RAM) It uses just about 95W idle and bumps to about 150W when the drives (5 HDDs) are being scrubbed. I tried suspending the server and power dropped to about 75W - not a huge saving.

Another concern is drive longevity. Starting and stopping repeatedly during the day is a lot harder on them than running continuously and could lead to premature drive failure. I could explore this if my server were SSD based but it is not.

Re: Making a Linux home server sleep on idle and wake on demand – the simple way

#19
post #16

Diagrams are just visible enough that I can tell that they're present but I cannot otherwise see them. I suppose that's because I'm using a dark theme on Firefox. Not that it matters. There's enough text to figure out what's going on in the first place and it would not help me much in any case. I have a file server running of an ancient server motherboard from another age. (Supermicro X8SIL w/X3460 and 16GB ECC RAM)…

I'm not using any dark theme addons or similar, just the standard prefers-color-scheme, and I have the same problem. So they just didn't account for their website's dark mode when writing the article.

Re: Making a Linux home server sleep on idle and wake on demand – the simple way

#20
post #3

Another option, if your needs are relatively modest, is to choose a low power mini PC. The one I chose idles at around 5W under Linux before any tweaking. It is based on the Intel N5105. I have a few 2.5” external HDDs attached for backup which are configured to sleep after a short time.

I'm curious if you have measured power at the well (e.g. smart plug with energy metering or Kill-a-watt.) I just set up a test server with a J1900 (10W TDP.) With 8GB RAM and running from an SSD it uses 25W. Add 4 7200RPM HDDs and it's up to 65W idling.

I have another test server based on a Raspberry Pi 4B. The Pi boots from SD card and uses about 5W. Add 2 drives in a USB drive bay and power for the setup is now up to 25W.

Post reply on HN