Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: cpu perfpolicy
To:
Vitaliy Makkoveev <mvs@openbsd.org>
Cc:
Ted Unangst <tedu@tedunangst.com>, tech@openbsd.org
Date:
Mon, 2 Jun 2025 20:29:56 +0200

Download raw body.

Thread
  • Vitaliy Makkoveev:

    cpu perfpolicy

    • Rafael Sadowski:

      cpu perfpolicy

  • On Mon Jun 02, 2025 at 05:37:00PM +0300, Vitaliy Makkoveev wrote:
    > On Sun, Jun 01, 2025 at 03:22:59PM -0400, Ted Unangst wrote:
    > > This introduces a helper function for hw.perfpolicy that allows more
    > > machine specific policies to be set.
    > > 
    > > On my laptop, there's also a fan policy. This affects performance, but
    > > it's not really related to the existing hw.setperf mechanism. For 
    > > example, a "silent" fan setting and "high" CPU setting is reasonable.
    > > Exactly what I want, in fact.
    > > 
    > > Fortunately, perfpolicy takes a string, which makes it flexible.
    > > This uses two new optional functions to parse and append the policy.
    > > 
    > > hw.perfpolicy=silent,auto
    > > 
    > 
    > Do we really need to combine them? Why don't have dedicated
    > hw.fanpolicy?
    > 
    
    +1
    
    
  • Vitaliy Makkoveev:

    cpu perfpolicy