aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladyslav Movchan <vladislav.movchan@gmail.com>2024-11-14 20:32:43 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-18 00:57:52 +0000
commit56dd14e5d77fa758ec24cd1073cb12b4bf976632 (patch)
tree58a8148949293d5782ef69c15026a75d9c480780
parent99d928dbee48e0cf4cffd91e3522d2acbc2e2b8b (diff)
sysutils/RyzenAdj: New port: Power management tool for Ryzen mobile and embedded CPUs
RyzenAdj is a tool to view and adjust power management settings for some of Ryzen mobile and embedded CPUs. One of the use cases is to "trade" CPU performance for lower temperature: You can set lower-than-default CPU power limit and make your computer (slightly) less performant, but make it (significantly) cooler and more quiet under load. It is not uncommon to get less than 10% performance drop after lowering CPU TDP by 30%. Another use case is for CPU overclocking hobby. Use at your own risk. WWW: https://github.com/FlyGoat/RyzenAdj PR: 281522
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/RyzenAdj/Makefile25
-rw-r--r--sysutils/RyzenAdj/distinfo3
-rw-r--r--sysutils/RyzenAdj/pkg-descr12
4 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 66961764bc21..debf03a8894f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -9,6 +9,7 @@
SUBDIR += R-cran-processx
SUBDIR += R-cran-ps
SUBDIR += R-cran-xopen
+ SUBDIR += RyzenAdj
SUBDIR += UEFITool
SUBDIR += abduco
SUBDIR += abgx360
diff --git a/sysutils/RyzenAdj/Makefile b/sysutils/RyzenAdj/Makefile
new file mode 100644
index 000000000000..b90bfe9b7c9d
--- /dev/null
+++ b/sysutils/RyzenAdj/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= RyzenAdj
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.16.0
+CATEGORIES= sysutils
+
+MAINTAINER= vladislav.movchan@gmail.com
+COMMENT= Power management tool for Ryzen mobile and embedded CPUs
+WWW= https://github.com/FlyGoat/RyzenAdj
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS_REASON= specific to Ryzen CPUs
+
+LIB_DEPENDS= libpci.so:devel/libpci
+
+USES= cmake localbase:ldflags
+
+USE_GITHUB= yes
+GH_ACCOUNT= FlyGoat
+
+PLIST_FILES= bin/ryzenadj
+
+.include <bsd.port.mk>
diff --git a/sysutils/RyzenAdj/distinfo b/sysutils/RyzenAdj/distinfo
new file mode 100644
index 000000000000..7ca422faa7b5
--- /dev/null
+++ b/sysutils/RyzenAdj/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731520448
+SHA256 (FlyGoat-RyzenAdj-v0.16.0_GH0.tar.gz) = 7bef7dbde006afbe316091d8da8c8c551d5d7d43185d9e62281671959b7a3ca2
+SIZE (FlyGoat-RyzenAdj-v0.16.0_GH0.tar.gz) = 126451
diff --git a/sysutils/RyzenAdj/pkg-descr b/sysutils/RyzenAdj/pkg-descr
new file mode 100644
index 000000000000..9a22dc72b98e
--- /dev/null
+++ b/sysutils/RyzenAdj/pkg-descr
@@ -0,0 +1,12 @@
+RyzenAdj is a tool to view and adjust power management settings for some of
+Ryzen mobile and embedded CPUs.
+
+One of the use cases is to "trade" CPU performance for lower temperature:
+You can set lower-than-default CPU power limit and make your computer
+(slightly) less performant, but make it (significantly) cooler and more quiet
+under load. It is not uncommon to get less than 10% performance drop after
+lowering CPU TDP by 30%.
+
+Another use case is for CPU overclocking hobby.
+
+Use at your own risk.