Solene Rapenne wrote (2023-08-23 08:58 CEST): > here is an update for obsdfreqd > > I moved the code to sourcehut because tildegit.org seems broken at the > moment and I have no idea how to get in touch with the admin, so I'll > remove my code from there > > 1.2.0 received a change to the threshold value, instead of being a > fixed 30%, now it calculates 80% of a single core usage by looking at > the number of online CPU and doing 100/NCPU*0.8, the default value will > now scale automatically fine for computers with more than 4 CPUs
It works fine on my 8 core AMD machine. OK sdk > Index: Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/obsdfreqd/Makefile,v > retrieving revision 1.8 > diff -u -p -r1.8 Makefile > --- Makefile 7 Nov 2022 22:43:03 -0000 1.8 > +++ Makefile 23 Aug 2023 06:55:26 -0000 > @@ -1,12 +1,12 @@ > COMMENT = userland daemon to manage CPU frequency > -V = 1.1.1 > +V = 1.2.0 > DISTNAME = obsdfreqd-${V} > > CATEGORIES = sysutils > > MAINTAINER = Florian Viehweger <open...@out-of-creativity.de> > > -HOMEPAGE = https://tildegit.org/solene/obsdfreqd/ > +HOMEPAGE = https://git.sr.ht/~solene/obsdfreqd > > # ISC > PERMIT_PACKAGE = Yes > @@ -14,10 +14,9 @@ PERMIT_PACKAGE = Yes > # uses unveil() > WANTLIB += c m > > -MASTER_SITES = https://tildegit.org/solene/obsdfreqd/archive/ > +MASTER_SITES = https://git.sr.ht/~solene/obsdfreqd/archive/ > > DISTFILES = obsdfreqd-{}${V}${EXTRACT_SUFX} > -WRKDIST = ${WRKDIR}/obsdfreqd > NO_TEST = Yes > > .include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: /cvs/ports/sysutils/obsdfreqd/distinfo,v > retrieving revision 1.3 > diff -u -p -r1.3 distinfo > --- distinfo 7 Nov 2022 22:43:03 -0000 1.3 > +++ distinfo 23 Aug 2023 06:55:26 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (obsdfreqd-1.1.1.tar.gz) = > N80z2nIE1XpYtP8X0kbpU1TOgS4wagWU4QQ0Pd8HODE= > -SIZE (obsdfreqd-1.1.1.tar.gz) = 8841 > +SHA256 (obsdfreqd-1.2.0.tar.gz) = > hVIZdlWtZofYOsIgexg/vba86tqqxt9KLBneyZQKPQ8= > +SIZE (obsdfreqd-1.2.0.tar.gz) = 9366 >