Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1337781
| From | "Rafael J. Wysocki" <rafael@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled |
| Date | 2016-02-19 00:40 +0100 |
| Message-ID | <r3GkW-4AB-15@gated-at.bofh.it> (permalink) |
| References | <r3uMO-4Fh-7@gated-at.bofh.it> <r3CKm-23z-21@gated-at.bofh.it> <r3GkW-4AB-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Feb 19, 2016 at 12:29 AM, Pandruvada, Srinivas
<srinivas.pandruvada@intel.com> wrote:
> On Thu, 2016-02-18 at 20:43 +0100, Rafael J. Wysocki wrote:
>> Hi Mel,
>>
>> On Thu, Feb 18, 2016 at 12:11 PM, Mel Gorman
>> <mgorman@techsingularity.net> wrote:
>>
>> [cut]
>>
>> >
>> > Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
>> > ---
>> > drivers/cpufreq/intel_pstate.c | 2 +-
>> > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/drivers/cpufreq/intel_pstate.c
>> > b/drivers/cpufreq/intel_pstate.c
>> > index cd83d477e32d..54250084174a 100644
>> > --- a/drivers/cpufreq/intel_pstate.c
>> > +++ b/drivers/cpufreq/intel_pstate.c
>> > @@ -999,7 +999,7 @@ static inline int32_t
>> > get_target_pstate_use_performance(struct cpudata *cpu)
>> > sample_time = pid_params.sample_rate_ms * USEC_PER_MSEC;
>> > duration_us = ktime_us_delta(cpu->sample.time,
>> > cpu->last_sample_time);
>> > - if (duration_us > sample_time * 3) {
>> > + if (duration_us > sample_time * 12) {
>> > sample_ratio = div_fp(int_tofp(sample_time),
>> > int_tofp(duration_us));
>> > core_busy = mul_fp(core_busy, sample_ratio);
>> > --
>>
>> I've been considering making a change like this, but I wasn't quite
>> sure how much greater the multiplier should be, so I've queued this
>> one up for 4.6.
>>
> We need to test power impact on different server workloads. So please
> hold on.
> We have server folks complaining that we already consume too much
> power.
I'll drop the commit if it turns out to cause too much energy to be consumed.
Thanks,
Rafael
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled Mel Gorman <mgorman@techsingularity.net> - 2016-02-18 12:20 +0100
Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled "Rafael J. Wysocki" <rafael@kernel.org> - 2016-02-18 20:50 +0100
RE: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled "Doug Smythies" <dsmythies@telus.net> - 2016-02-18 22:10 +0100
Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled Mel Gorman <mgorman@techsingularity.net> - 2016-02-19 11:50 +0100
Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled "Rafael J. Wysocki" <rafael@kernel.org> - 2016-02-19 00:40 +0100
Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-02-19 00:40 +0100
Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled Stephane Gasparini <stephane.gasparini@linux.intel.com> - 2016-02-19 12:20 +0100
RE: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled "Doug Smythies" <dsmythies@telus.net> - 2016-02-19 17:40 +0100
csiph-web