Live data from Hacker News

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

dgross.ca

231–240 of 244 posts

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

#231
Hello I greatly recommend you Via our ongoing Invitation to join our Great Illuminati and become Rich and Famous.

With help of Bryan George Steil made me believe that illuminati is real, when you come across wrong person’s you will think that life is not real but when you are with the real one you will experience the goodness of your life, Mr Bryan George Steil has made me discover my purpose of life. Welcome to the great brotherhood of Illuminati and everyone in other Countries can join the Illuminati brotherhood to get rich and famous, Are you a Business man/woman, retirement pensioner, musical artist, Actor, actress, student, footballer Pastor, pianist, engineer, scientist, lawyer, Politician, Model, Music Teacher, Photographer, Musician, Doctor, fashion artist, pilot, Swimmer, social media influencerS, philanthropist, filmmaker, podcast host, producer, tv host, comedian, Chief Executive Officer (CEO) etc. Do you want to be rich whatever occupation you do, you want to be rich, powerful and famous in life. Illuminati can grant all your heart desires, Illuminati will make you achieve all your dreams to become rich and protected all the days of your life. BENEFIT GIVEN TO A NEW MEMBER, a brand new dream car valued at $200,000.00 USD a dream house to be built in any country of your own choice one month holiday (fully paid) to your dream tourist destination Countries. V I P treatment in all airports in the world is a total lifestyle change, a membership benefit funds $1,500,0000 USD to start a profitable business, YOUR FINANCIAL DIFFICULTIES WILL BROUGHT TO AN END. WE SUPPORT YOU BOTH FINANCIALLY AND PHYSICALLY SPIRITUALLY TO ENSURE YOU LIVE A COMFORTABLE LIFE. Email: illuminatisecretauthorities@gmail.com Note: There aren't any Human sacrifices and no bloody involvement.

The Club of the Rich and Famous; the world oldest and largest fraternity. We are one Family under one father who is the Supreme Being. In Illuminati we believe that we were born in paradise and no member should struggle in this world. Hence all our new members are given Money Rewards once they join in order to upgrade their lifestyle.; interested viewers should Get instant initiated to the Illuminati Brotherhood and receive a membership profit a sum of $1,500,000.00

After Illuminati membership profit funds a sum of $1,500,000.00 USD was given to me to start a profitable business, I now earn a daily profit of $50,000 USD for just inviting new customers to The Club of the Rich and Famous and being part of this life changing opportunity.

Invite customers Get reward 100% guaranteed and legitimacy

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

#232
post #33

This looks like one of those home server infrastructure setup rabbit holes I would've bailed out of within the first 10 minutes of Googling to research the problem. I commend the author for their perseverance and the writeup - rabbit hole writeups are their own form of entertainment. That alone was worth it. I could never run anything that looks like such a conceptual pain the butt. A pain to maintain and troubleshoo…

> This looks like one of those home server infrastructure setup rabbit holes I would've bailed out of within the first 10 minutes of Googling to research the problem. Absolutely have felt the same often, in the past. Good news! There's ChatGPT now! It's so much quicker than google for figuring out approaches; it's great for explaining concepts and "how to do x with tech". And it's great at writing the scripts for you…

ChatGPT can't even do sensible NGINX configs, despite feeding it documentation. Gets URL rewrites wrong et al, hallucinates things that aren't even there. Troubleshooting its output is more labour-intensive than just doing it right in the first place, but most folks' Dunning-Kruger complex prevents them from knowing when the output is wrong in the first place.

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

#233

Earlier quoted context omitted.

Probably a lot. My anecdata: I have had four Seagate HDDs in my desktop PC since 2007 and despite a couple of remapped sectors, they're still working fine. I often power it on and off 1-2 times a day, and the drives are set to spin down when not in use. The SMART data for these drives shows approximately 37,000 power on hours and 17,000 start/stop cycles. That's about 4 years 3 months of actual power on time, and abo…

You probably meant 3 power cycles a day. What is your spin-down time? I use the following on my server's fstab: UUID="abcd" /data btrfs defaults,noauto,compress=zstd,x-systemd.automount,x-systemd.mount-timeout=1min,x-systemd.idle-timeout=30min

Oops. Yes, an average of 3 cycles per day, not per year!

I have the spin down timeout set to 20 minutes. But this is a desktop PC with intermittent usage (and different usage patterns over the years). They used to be in a RAID1+0 but now they're JBOD and I use them as scratch drives for random stuff.

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

#234

Earlier quoted context omitted.

Probably a lot. My anecdata: I have had four Seagate HDDs in my desktop PC since 2007 and despite a couple of remapped sectors, they're still working fine. I often power it on and off 1-2 times a day, and the drives are set to spin down when not in use. The SMART data for these drives shows approximately 37,000 power on hours and 17,000 start/stop cycles. That's about 4 years 3 months of actual power on time, and abo…

That might possibly be close where you live, but not where I live. I need to heat my home at least 8 months a year and I heat using electricity (which isn't the smartest thing to do, but that's the way the house was built 30 years ago). It is too hot inside less than 4 weeks a year. So saving energy is done by trying to live in cooler rooms, but not by searching for small consumers.

I'm curious if you mean the 15 cents per kwh estimate is too high or too low? It's a conservative average for me in upstate NY over the past ~15 years.

If you're using electric resistance heat, then I suppose a running computer is kind of like processing power plus "free" heat :)

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

#235

Earlier quoted context omitted.

So far my experience has been the opposite with ChapGPT FWIW. Overall it has cost me more time sending me down rabbit holes that it totally made up, but said with absolute confidence.

This is interesting to hear! A key caveat in much of what I'm doing, is I'm implementing things I previously did for other projects in the past 15 years... so I'm using old technology, know the terminology, and can troubleshoot 90% correct stuff that chatGPT gives me. I haven't done as much "I have no idea where to start" stuff.

I came at it too from a 'I've done this for more than a decade' perspective as well. I simply found that it's advice was already something I knew, or outright wrong, or wrong but very convincing that it could work.

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

#236
I have servers that I don't want to run 24/7 but I still need to access them from time to time. My current solution was to schedule shutdown of all the servers between 12am - 6am (usingcron) and start them up at 6am (using BIOS scheduled power-on), to save on electricity cost since no one uses them during those hours. However, this is much elegant solution.

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

#237
post #181

Earlier quoted context omitted.

> A Raspberry Pi that itself would work just as fine as the Time Machine server the author seems to need on demand? A Raspberry Pi has one big problem: no SATA ports.

Yes but RPI 4 has usb 3.0 ports that you'd really struggle to saturate with a gigabit connection - I used to see the lack of sata as a major problem with that platform but nowadays it really doesn't matter.

AFAIK the USB ports on RPi are shared with other peripherals. And there is no way you can connect more than 2 SATA drives without additional HW .

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

#238
Interesting. I believe with runtime (opportunistic) S0ix on x86 we'd be able to get similarly low power consumption at idle, but that would require cooperation from all devices and system firmware. It's already a thing on laptops, where if certain conditions are met, the laptop can technically be "sleeping" when the screen is displaying static content, like a document.

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

#239
post #237

Earlier quoted context omitted.

Yes but RPI 4 has usb 3.0 ports that you'd really struggle to saturate with a gigabit connection - I used to see the lack of sata as a major problem with that platform but nowadays it really doesn't matter.

AFAIK the USB ports on RPi are shared with other peripherals. And there is no way you can connect more than 2 SATA drives without additional HW .

On Rpi 4 the USB 3.0 ports get their own dedicated USB 3.0 controller that's connected through a PCIe 3.0 1x bus. They don't share bandwidth with anything else.
Post reply on HN