On Nov 27 17:10:11, mytraddr...@gmail.com wrote:
> I am not intending to switch the machine.

Why?

> In terms of resources, I am mainly concerned about hard drives
> and cpu being worn down unnecessarily. I am not sure how much
> of a concern this should be though.

The CPU is not being "worn down" by running.

As for rotating metal disks, they have a lifetime;
that's why replacing them with SSD might be your best bet.

But even regular disks are dirt cheap now.
I don't believe this concern is even worth the time spent on this.

> Yes, I do know in advance when the machine needs to run and when it can sleep.

Then you can set a wakeup alarm in the BIOS (if it has one),
and simply shutdown -p via cron, at the appropriate time.

> "How much resources would that save?" -> My thoughts was that
> it would be better for hard drive longevity to have them spun down,
> rather than them being up for months without any access needed.

Wait, so you know in advance for how many _months_
the machine can sleep?


> 
> > On 27 Nov 2022, at 15:50, Jan Stary <h...@stare.cz> wrote:
> > 
> > On Nov 27 09:37:19, mytraddr...@gmail.com wrote:
> >> The main thing I am trying to do is to make it sleep
> >> every now and then to protect resources.
> > 
> > How much eletricity does the machine eat?
> > (What other "resources" are you concerned about?)
> > 
> >> 1) Make it sleep and wake up when woken up remotely
> >> I investigated Wake On Lan, which I enabled via ifconfig. However, this 
> >> system is deployed remotely, and I have no access to other computers on 
> >> the LAN, so I am unable to make this work.
> >> 
> >> 2) Make it sleep for a few hours and then wake up
> > 
> > Do you know in advance at what hours the machine
> > needs to run, and when it can sleep?
> > 
> >> After 3hours+ of research in man pages and the internet,
> >> I have not seen any solution for that.
> > 
> > Some machines have a wake option in their BIOS.
> > 
> >> 3) hard drives Spin down, CPU lower freq
> >> I have been able to lower the CPU speed by running `apm -L`.
> > 
> > How much electricity have you saved by that?
> > 
> >> I haven't been able to spin down the hard drives.
> > 
> > How much resources would that save?
> > 
> > I you are concerned about resources, wouldn't you be better off
> > getting a low-power machine, with SSD disks?  There are machines
> > out there that eat around 10W and get the job done (dependeing
> > on the job of course); and SSD doesn't need to spin down.
> > 
> >> I cannot share the full dmesg for security reasons
> > 
> > Bullshit.
> > 
> 
> 

Reply via email to