Live data from Hacker News

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

dgross.ca

21–30 of 244 posts

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

#21
Another option is to control a power-hungry NAS with a PiKVM device. It can be a cheap Pi Nano device for example.

Got the idea from this youtuber[1], he has some nice ideas on setting up a home server.

[1] https://www.youtube.com/watch?v=f5jNJDaztqk&t=395s

[2] https://pikvm.org/

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

#22

> Disable IPv6: this approach relies on ARP, which IPv6 doesn't use I wish more people would care about IPv6.

Seems unlikely. The world has made its peace with NAT, and IPv4 is simpler and therefore easier to understand. IPv6 isn't happening.

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

#23
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)…

If I switch to the light theme and back again, the diagrams become white and readable.

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

#24

[flagged]

Got a link or something for me to reference? I have built a few micro itx home servers and have always wondered what a vertically integrated home solution would look like. I've been working on the custom software control plane for it for about 2 years now and gone through several permutations. I run a private cloud with these over mesh vpn and for personal use the cost cannot be beat.

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

#25
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.

Windows dark theme here and I had the same problem.

I clicked the light mode on the website and then back to dark mode and it was fixed. So their website is reading your theme and adjusting the background correctly but fails to adjust the test and diagrams.

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

#26
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)…

Sometimes servers don't actually go into deep suspend modes because of proprietary management interfaces. Disabling those in the BIOS can result in huge savings.

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

#27
I had similar idea, but in the end I've gone a different path:

I've got a USFF PC with 2 external HDDs as NAS, and raspberry pi to keep always on stuff. I used to keep the PC up most of the day, and get it to sleep on schedule during night with `rtcwake`, and it was pretty reliable.

I've removed the scheduled sleep from the PC, as I prefer backups to be done at night, and my "minilab" of USFF PC with SSD & 2 external HDDs, rpi 4 with SSD and a 1Gb switch uses 18W idle, according to cheap power mater.

USFF PC is ThinkCentre tiny m93p with 2-core 4th-gen i5, and I guess newer models should fare better with idle power use.

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

#28
post #22

> Disable IPv6: this approach relies on ARP, which IPv6 doesn't use I wish more people would care about IPv6.

Seems unlikely. The world has made its peace with NAT, and IPv4 is simpler and therefore easier to understand. IPv6 isn't happening.

Or is it just happening extremely slowly? I don't think we can count IPv6 out yet.

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

#29

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.

I have no idea how it looks on the dev/setup side, but suspend and resume is definitely a solved problem, seeing that I've never had any problems with it on my Steam Deck

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

#30

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.

I Confirm this.

For years I use suspend on my laptop with latest Debian, and it's very difficult to have an uptime higher than 15 days.

Every now and then, the logging in freezes to death on wake-up and requires hard power off.

Post reply on HN