git: 98858214cd10 - main - sysutils/powerdxx: add pkg-message to inform

Alexandre C. Guimarães rigoletto at FreeBSD.org
Mon Sep 20 15:36:45 UTC 2021


The branch main has been updated by rigoletto:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98858214cd100a605cfb3eb7cbd68213b20cc805

commit 98858214cd100a605cfb3eb7cbd68213b20cc805
Author:     Nuno Teixeira <eduardo at FreeBSD.org>
AuthorDate: 2021-09-20 15:26:07 +0000
Commit:     Alexandre C. Guimarães <rigoletto at FreeBSD.org>
CommitDate: 2021-09-20 15:26:07 +0000

    sysutils/powerdxx: add pkg-message to inform
    
    - for CPUs that are supported by the hwpstate driver powerd++ is
      obsolete and in fact not possible, because the driver discards
      frequencies set via the sysctl interface.
    
    - there is a loader tunable that lets you turn it off.
    
     PR:            255324
---
 sysutils/powerdxx/Makefile    |  1 +
 sysutils/powerdxx/pkg-message | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/sysutils/powerdxx/Makefile b/sysutils/powerdxx/Makefile
index 22839dd88c5f..75da0080c7a7 100644
--- a/sysutils/powerdxx/Makefile
+++ b/sysutils/powerdxx/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	powerdxx
 DISTVERSION=	0.4.4
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	rigoletto at FreeBSD.org
diff --git a/sysutils/powerdxx/pkg-message b/sysutils/powerdxx/pkg-message
index a080f193128b..1cd82d5f5dd7 100644
--- a/sysutils/powerdxx/pkg-message
+++ b/sysutils/powerdxx/pkg-message
@@ -9,3 +9,16 @@ Command line arguments can be set via powerdxx_flags. See powerd++(8)
 EOM
 }
 ]
+
+***************************************************************************
+
+For CPUs that are supported by the hwpstate driver powerd++ is obsolete and
+in fact not possible, because the driver discards frequencies set via the
+sysctl interface.
+
+There is a loader tunable that lets you turn it off:
+
+	hint.hwpstate_intel.0.disabled
+
+You can use that if you have issues with hwpstate controlling your CPU
+frequency.


More information about the dev-commits-ports-main mailing list