Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2020 19:13:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234733] Setting CPU frequency with sysctl dev.cpu.0.fr slows a Ryzen 2700X down
Message-ID:  <bug-234733-227-PRCb0z4U4W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234733-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234733-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234733

eborisch+FreeBSD@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eborisch+FreeBSD@gmail.com

--- Comment #25 from eborisch+FreeBSD@gmail.com ---

Just adding a "me to" on a Ryzen 5 2600 / 12.2-RELEASE; changes to
dev.cpu.0.freq only work going down (slower), not coming back up.

(I am on custom kernel and local compile, but based on others having the is=
sue,
I think that's not critical here.)

Commenting out the:

  if (limit > id)
       id =3D limit;

check in sys/x86/cpufreq/hwpstate.c@176 fixes this. (Following the patch in
base r357336 with much less finesse.)

I see this has been closed for nine months, but the fix did not make it into
12.2. Anyone running powerd on an impacted system will see FreeBSD as being
very slow; I feel this would be good to fix, or at least call out to end us=
ers
before 13.0.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234733-227-PRCb0z4U4W>