Make hw.setperf percentages proportional to the enhanced speed step
authortb <tb@openbsd.org>
Wed, 11 Aug 2021 18:15:50 +0000 (18:15 +0000)
committertb <tb@openbsd.org>
Wed, 11 Aug 2021 18:15:50 +0000 (18:15 +0000)
commit086aa750ab8f1698a6c6eaafe1458279776ce66d
tree491b1144dfe7973eee2a7df5889fa05191f0557f
parent4555aaa741f69b4a359c5ca540ca9d7d66fa1c58
Make hw.setperf percentages proportional to the enhanced speed step
frequencies on intel processors. This way, the default hw.setperf=99
corresponds to the maximum ordinary speed while setting it to 100
enables turbo mode.

Tested in snaps for a week, positive feedback from several.
sys/arch/amd64/amd64/est.c