[Bug 219213] powerd causing problems with ryzen
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 11 18:01:27 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219213
--- Comment #1 from SF <shitman71 at hotmail.com> ---
To be more specific about power-saving features:
CPU's have different p-states since a long time now but powerd only knows 3
options to set:
adaptive, maximum, minimum
I have only 2 options for the adaptive-mode to set percentages for minimum and
maximum.
I dont know how many different p-state each CPU has but there is definitely
more then just maximum and minimum. I remember 4-5 different p-states with my
old Phenom X6 1100T(cpu from 2010) i had before.
Your powerd is very primitive and i think it doesnt fit todays demands of
flexible power-management and accurate delivery of performance.
With 4-5 p-states i can set 4-5 barriers to hit to get my CPU more precisely
onto its needed level.
With todays CPU-Performance i can do more math to calculate its needed p-state.
An Ryzen R7 1700X has 16 CPU-Cores, there is easyly some spare
calculation-power to do the math for adjusting the p-states more accurate.
e.x.:
1 primary interval(long time period)
1 secondary interval(short time period) which gets launched from the primary
interval after the specified time
1 counter for each p-state-limit
The primvary interval kicks in each 15 seconds.
The secondary interval checks every 40ms the average cpu-load for an duration
of 1 second. It increases the counter for the assigned p-state at each check
until the 1 second duration is finished.
It selects the p-state with the highest counter and priority.
Shouldn't be too hard?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list