Sunday, November 27, 2022

Re: Configure OpenBSD for remote server rarely used

Thanks for your response.

I am not intending to switch the machine. 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.

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

"Some machines have a wake option in their BIOS." -> thanks for the pointer, I will look into that.

"How much electricity have you saved by that?" -> I don't know. The main concern is not using the hardware unnecessarily, to hopefully increase its lifetime. Though less electricity usage is a nice side bonus.

"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. I don't know in practice if that matters for life expectancy of the drive?






> On 27 Nov 2022, at 15:50, Jan Stary <hans@stare.cz> wrote:
>
> On Nov 27 09:37:19, mytraddress@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.
>

No comments:

Post a Comment