Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1678031

Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate

From Dominik Brodowski <linux@dominikbrodowski.net>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate
Date 2017-06-29 20:10 +0200
Message-ID <tXM39-2wf-41@gated-at.bofh.it> (permalink)
References <tXFl0-6wB-9@gated-at.bofh.it> <tXFl0-6wB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 29, 2017 at 04:29:06PM +0530, Viresh Kumar wrote:
> The cpufreq core and governors aren't supposed to set a limit on how
> fast we want to try changing the frequency. This is currently done for
> the legacy governors with help of min_sampling_rate.
> 
> At worst, we may end up setting the sampling rate to a value lower than
> the rate at which frequency can be changed and then one of the CPUs in
> the policy will be only changing frequency for ever.

Is it safe to issue requests to change the CPU frequency so frequently, even
on historic hardware such as speedstep-{ich,smi,centrino}? In the past,
these checks more or less disallowed the running of dynamic frequency
scaling at least on speedstep-smi[*], but maybe on a few other platforms as
well. That's why I am curious on whether this may break systems potentially
on a hardware level if the hardware was not designed to do dynamic frequency
scaling (and not just frequency switches on battery/AC).

Best,
	Dominik

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/6] cpufreq: governor: Drop min_sampling_rate Viresh Kumar <viresh.kumar@linaro.org> - 2017-06-29 13:00 +0200
  Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate Dominik Brodowski <linux@dominikbrodowski.net> - 2017-06-29 20:10 +0200
    Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate Viresh Kumar <viresh.kumar@linaro.org> - 2017-06-30 05:40 +0200
      Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate Dominik Brodowski <linux@dominikbrodowski.net> - 2017-06-30 07:00 +0200
        Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate Viresh Kumar <viresh.kumar@linaro.org> - 2017-06-30 07:50 +0200
          Re: [PATCH 3/6] cpufreq: governor: Drop min_sampling_rate Dominik Brodowski <linux@dominikbrodowski.net> - 2017-07-02 09:30 +0200

csiph-web