Index | Thread | Search

From:
Renato Aguiar <renato@renatoaguiar.net>
Subject:
Re: powersave CPU policy
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
tech@openbsd.org
Date:
Mon, 17 Jun 2024 22:11:03 -0700

Download raw body.

Thread
On Sat, Jun 15 2024, Kirill A. Korinsky wrote:

>
> This work is based on Solene's patch, which she announced at
> https://marc.info/?l=openbsd-tech&m=163259444331471&w=2 , which she
> benchmarked, and the results of which she published on her blog
> https://dataswamp.org/~solene/2021-09-26-openbsd-power-usage.html .
>
> With two changes:
>
> 1. Unused CPU cores are halted and moved to deepest C-state to save some
>    power.
> 2. It uses powersavelimit settings instead of 100 as active CPU performance.
>

I think a patch to just disable specific cpu cores from userspace,
e.g. via sysctl, is more likely to be accepted. If there were such
mechanism, you could implement your power saving policy in userspace,
like obsdfreqd does.

-- 
Renato Aguiar