Skip to content

xen/cpufreq: a couple of fixes for the sampling window

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/cpufreq: fix adjusting of sampling window on early exitxen/drivers/cpufreq/cpufreq_ondemand.c+2 -11 reply
2/2xen/cpufreq: fix usages of align_timer() in the on-demand governorxen/drivers/cpufreq/cpufreq_ondemand.c+3 -25 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] xen/cpufreq: a couple of fixes for the sampling window

Hello,

Since a month or so I've noticed that my only text box that supports P-states would seem to eventually get all its CPUs stuck in the lower frequency P-state, and no amount of load would result in a P-state change.

The issue has always been intermittent, and not easy to reproduce. Looking at the on-demand governor I've found the two issues fixed on this series. With those fixed I haven't been able to reproduce the issue, but as said I don't have a deterministic way to trigger it.

Anyway, the fixes look legit, so regardless of whether there's something else causing my issue, we should take those. I'm a bit surprised no-one has noticed wonky performance with the on-demand governor before; the changes that introduce those issue have been there since the governor was introduced. Neither I know why I've only noticed the low frequency stickiness issue ~last month, if it was indeed caused by the issues here.

Thanks, Roger.

Roger Pau Monne (2):
xen/cpufreq: fix adjusting of sampling window on early exit xen/cpufreq: fix usages of align_timer() in the on-demand governor

 xen/drivers/cpufreq/cpufreq_ondemand.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.0